Skip to content

ralbso/LoadWaveSurfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI

LoadWaveSurfer

Load and parse ephys data acquired using Janelia's WaveSurfer.

Example usage

Below are a few salient examples, with many more methods to be found in the package.

from loadwavesurfer import loadws

# initialize loadws object
f = loadws(inputFile, filter=False)

# access the data as a named tuple
f.data()

# or individually
f.data().volt
f.data().curr
f.data().time

# and their units
voltage_units, current_units, time_units = f.units()

# get current or voltage stimulation parameters for reconstruction
stim_params = f.stimParams()

# return Pandas dataframe for easier data manipulations
f.toDF()

# get sampling rate
f.sampleRate()

# get timestamp at start of recording, in UNIX time
f.clock()

About

Load and parse ephys data acquired using Janelia's WaveSurfer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages