Skip to content

Commit

Permalink
neurodsp -> ibldsp
Browse files Browse the repository at this point in the history
  • Loading branch information
mayofaulkner committed Sep 3, 2024
1 parent 49e848b commit f9fde74
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion atlaselectrophysiology/alignment_with_easyqc.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from easyqc.gui import viewseis
from neurodsp import voltage
from ibldsp import voltage
import neuropixel
from viewspikes.data import stream
from viewspikes.plots import overlay_spikes
Expand Down
2 changes: 1 addition & 1 deletion atlaselectrophysiology/extract_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from tqdm import tqdm
import spikeglx
import numpy as np
from neurodsp import fourier, utils
from ibldsp import fourier, utils
from scipy import signal
import one.alf.io as alfio
import ibllib.ephys.ephysqc as ephysqc
Expand Down
2 changes: 1 addition & 1 deletion atlaselectrophysiology/plot_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from brainbox.io.spikeglx import Streamer
from brainbox.population.decode import xcorr
from brainbox.task import passive
from neurodsp import voltage
from ibldsp import voltage
import neuropixel
import scipy
from PyQt5 import QtGui
Expand Down
2 changes: 1 addition & 1 deletion dlc/DLC_labeled_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import pandas as pd
# conda install -c conda-forge pyarrow
import os
from neurodsp.smooth import smooth_interpolate_savgol
from ibldsp.smooth import smooth_interpolate_savgol
from brainbox.io.one import SessionLoader
from copy import deepcopy

Expand Down
2 changes: 1 addition & 1 deletion needles2/probe_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from iblatlas import atlas
from neuropixel import TIP_SIZE_UM, trace_header
from ibllib.pipes.ephys_alignment import EphysAlignment
from neurodsp.utils import fcn_cosine
from ibldsp.utils import fcn_cosine

PROV_2_VAL = {
'Resolved': 90,
Expand Down
4 changes: 2 additions & 2 deletions viewspikes/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from iblutil.numerical import bincount2D
from viewephys.gui import viewephys
import neurodsp
import ibldsp
from brainbox.io.one import EphysSessionLoader, SpikeSortingLoader
from iblatlas.atlas import BrainRegions

Expand Down Expand Up @@ -134,7 +134,7 @@ def show_ephys(self, t0, tlen=1):

sos = scipy.signal.butter(**butter_kwargs, output='sos')
butt = scipy.signal.sosfiltfilt(sos, raw)
destripe = neurodsp.voltage.destripe(raw, fs=self.sr.fs)
destripe = ibldsp.voltage.destripe(raw, fs=self.sr.fs)

self.eqc_raw = viewephys(butt, self.sr.fs, channels=self.channels, br=regions, title='butt', t0=t0, t_scalar=1)
self.eqc_des = viewephys(destripe, self.sr.fs, channels=self.channels, br=regions, title='destripe', t0=t0, t_scalar=1)
Expand Down

0 comments on commit f9fde74

Please sign in to comment.