[x] Add raw Miniscope data using MiniscopeConverter to acquisition
[x] Add interface for processed Miniscope data ("C6-J588_Disc5_msCamAll_ffd.mat"): the raw Miniscope video snippets are concatenated together into a single .avi file. The first frames of every trial is removed. Note that the raw Miniscope video shape (height, width) is (480, 752) while this AVI is (240, 376) -> added to processing nwbfile.processing["ophys"]["OnePhotonSeriesProcessed"]
[x] Add extractor and interface for the motion corrected Miniscope data ("C6-J588_Disc5_msCamComb_MC"): the processed Miniscope data was motion corrected and saved as a MATLAB file. -> added to processing
nwbfile.processing["ophys"]["OnePhotonSeriesMotionCorrected"]
[x] Add trials from C6-J588_Disc5_timestampsAllCumulData.mat
[x] Add custom mat file with CNMFE segmentation data C6J588_Disc5_msCamComb_MC_curated_20220605_1722.mat (+ link issue, first the neuron struct has to be saved into a new Matlab file to be able to open in Python)
[x] Upload prototype data
the sampling rate for the processed data is the same as the raw and segmented data of 15.0 (it shows up in OpenCV as 30.0 but that corresponds to a playback speed and not the actual rate.)
[x] Confirm sampling rate of processed data which is 30.0 when the video is opened in OpenCV (raw data, segmented data is fps 15.0)
[x] Double check timestamps are adjusted correctly
[x] Add metadata
[x] Add convert_all_sessions script after the single session convert script is finalized
[x] Rerun stub conversion from fresh environment and fix requirements file for missing packages
Checklist:
MiniscopeConverter
to acquisition(480, 752)
while this AVI is(240, 376)
-> added to processingnwbfile.processing["ophys"]["OnePhotonSeriesProcessed"]
nwbfile.processing["ophys"]["OnePhotonSeriesMotionCorrected"]
C6-J588_Disc5_timestampsAllCumulData.mat
C6J588_Disc5_msCamComb_MC_curated_20220605_1722.mat
(+ link issue, first the neuron struct has to be saved into a new Matlab file to be able to open in Python)the sampling rate for the processed data is the same as the raw and segmented data of 15.0 (it shows up in OpenCV as 30.0 but that corresponds to a playback speed and not the actual rate.)
The nwbinspector returns
PYNWB_VALIDATION
forMiniscope
device, the issue for reference: https://github.com/NeurodataWithoutBorders/pynwb/issues/1777