python-neo
python-neo copied to clipboard
[NWBIO] Write AnalogSignals as ElectricalSeries
Is your feature request related to a problem? Please describe. Currently only icephys series types or TimeSeries are supported when writing nwb files. However, some analysis tools, e.g. spikeinterface are loading data only from ElectricalSeries, a subclass of TimeSeries. As far as I can see the main difference is the linking to electrodes, which already exists for icepyhs series types.
Describe the solution you'd like
neo.AnalogSignals with an annotation nwb_neurodata_type='ElectricalSeries' should be saved to an pynwb.ecephys.ElectricalSeries object
@legouee @apdavison What do you think?
Yes, I'll take a look at this.