spike_analysis
❭ core
❭ read_smr_file
read_smr_file¶
- spike_analysis.core.read_smr_file(path)¶
Reads a Spike2 file and returns its content as a neo.core.block.Block object.
To avoid modifying the original Spike2 file, a copy of the file is first created in a temporary folder. The copy is then read and returned as a neo.core.block.Block object. Finally, the temporary folder is deleted.