Closed h-mayorquin closed 1 year ago
@h-mayorquin Will anything on this PR change with the merge of FicTrac interface on NeuroConv? Or should we just go ahead with this one here and update later?
We should merge this and then update later when we merge in neuroconv. That way, the current notes and skeleton wil be on main already. Doing this.
First draft that covers the conversion of Fitrac data. The fictract data comes in a binary file encoded in utf8. To read lazily I used polars https://www.pola.rs/ to test how to conver to dynamic tables when the files do not fit in memory (in this case it does).
There is a header that the page of fictract mentions that is not available: https://github.com/rjdmoore/fictrac/tree/master
We will have to ask the authors about it.
Also, still thinking about how to organize this. Right now, all the data for fictrac is in the same processing module separated with different time series. Same sampling rate. Maybe we could use compass for some of them.
I will add notes for the conversion and some general issue soon.