catalystneuro / turner-lab-to-nwb

NWB Conversion project for the Turner lab at the University of Pittsburgh.
MIT License
0 stars 0 forks source link

Add filtered ecephys traces #5

Closed weiglszonja closed 9 months ago

weiglszonja commented 10 months ago

In a follow-up to #4, add the high-pass filtered traces to ecephys processing module. Since they are saving the processed data separately for GPi and VLa, I was thinking to also create separate ElectricalSeries e.g. "ElectricalSeriesProcessedGPi", "ElectricalSeriesProcessedVLa"

Example snippet:

Screenshot 2024-01-04 at 17 39 20

The processed ElectricalSeries would reference the already added electrode groups, reusing the same conversion factor, starting time and sampling frequency from the raw ElectricalSeries.

The .filt.mat files contain "samplerate" structure which matches the sampling rate of the raw ElectricalSeries data.