catalystneuro / cai-lab-to-nwb

NWB Conversion project for the Cai lab
MIT License
0 stars 0 forks source link

Add Frezing Behavior Interface #4

Open h-mayorquin opened 1 week ago

h-mayorquin commented 1 week ago

As in the title.

The ez-track program: https://github.com/denisecailab/ezTrack/tree/master

Estimates freezing behavior with an algorithm that takes into account the change of pixels over a given interval of time. From discussions with the author for the purposes of this experiment freezing behavior is counted when the Freezing variable in the ez-track output is equal to 100. In consequence, I write the freezing behavior as an Events type using the sampling frequency from the corresponding video to transform frames to video

Because the dust has not settled yet with ndx-events 3.0 (it is not released and there might be changes) I am using ndx-events 2.0 for this conversion.

I also added a bunch of notes and the latest version of the experiment diagram in excalidraw.