catalystneuro / datta-lab-to-nwb

MIT License
1 stars 2 forks source link

GDriveData #42

Closed pauladkisson closed 4 months ago

pauladkisson commented 1 year ago

Notes for the new data shared over Google Drive

See #20 for description from Datta Lab.

pauladkisson commented 1 year ago

High Level Organization

Kai's Description:

Each session directory contains:

  • proc, directory – Output of moseq-extract.
  • depth.avi – Raw, lossless-compressed depth frames.
  • depth_ts.txt – Timestamps for depth frames.
  • feedback_ts.txt – Timestamps at which the target syllable was detected, and a boolean denoting whether or not reinforcement was given.
  • A number of other intermediate processing files.

If the experiment included photometry, the session folder will contain:

  • ir.avi – Infrared video containing LED flashes used to align video stream with photometry data.
  • ir_ts.avi – Timestamps for frames in ir.avi.
  • tdt_data_*.dat – Raw recording from the TDT.
  • tdt_data_*.json - Metadata from the TDT recording.
pauladkisson commented 1 year ago

Moseq Output in proc directory

Conclusion: The .h5 file may effectively replace the kinematic data from the .parquet files since it is non-redundant and also comes w/ relevant MoSeq parameters. Might want to develop a MoSeqInterface in neuroconv like DeepLabCutInterface (depending on usage outside Datta Lab).

pauladkisson commented 1 year ago

Video Data

Conclusion: Can use VideoInterface from neuroconv (potentially w/ some modifications) for original depth.avi and ir.avi files. Can store .mp4 version as a separate file w/ a disclaimer that it should only be used for qualitative inspection.

pauladkisson commented 1 year ago

Metadata

Several metdata files throughout the directory

Conclusion: Everything work keeping should be in the moseq .h5 file (I think).

pauladkisson commented 1 year ago

TDT Data

Conclusion: Add raw photometry to FPInterface. Double check interpretation w/ Datta Lab.

pauladkisson commented 1 year ago

Parquet tables

In the photometry sessions,

Conclusion: Could be useful for verifying output.

pauladkisson commented 1 year ago

TXT Files

Conclusion: timestamp info should be in .h5 file, predictions need to be included in the MoSeqInterface, PCs can be ignored.