spike_analysis
❭ core
❭ ReaderSmr
ReaderSmr¶
-
class spike_analysis.core.ReaderSmr(path, analogsignal_id=
0
, stim_times_channel=None
, min_rel_time=None
, max_rel_time=None
)¶ A class for reading smr-files and accessing stimulus times and voltage traces.
See also
- Parameters:¶
path (str) – The path to the smr-file.
analogsignal_id (int) – The ID of the analog signal to read.
stim_times_channel (str) – The name of the channel containing the stimulus times.
min_rel_time (float) – The minimum relative time to include in the voltage traces.
max_rel_time (float) – The maximum relative time to include in the voltage traces.
- Attributes:¶
- Methods:¶
Get the time points and voltage values of the traces.
Get the times of the stimuli.
Get a dictionary containing the attributes of the ReaderSmr object.