python-neo icon indicating copy to clipboard operation
python-neo copied to clipboard

[NWBIO] Write AnalogSignals as ElectricalSeries

Open JuliaSprenger opened this issue 3 years ago • 2 comments

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

JuliaSprenger avatar Dec 28 '22 13:12 JuliaSprenger

@legouee @apdavison What do you think?

JuliaSprenger avatar Dec 28 '22 13:12 JuliaSprenger

Yes, I'll take a look at this.

apdavison avatar Jan 03 '23 09:01 apdavison