Closed ttngu207 closed 2 weeks ago
I've left a bunch of small comments here.
A general point - maybe add top-level module docstrings for all these modules? Unless this will be done by @MilagrosMarin in #443 ?
Yes, this will be address when we apply Ruff checks and fixes
This PR includes a few major new logic/features and many minor fixes (mostly for BlockAnalysis)
ingestion_schemas
- i.e. a separate set of schemas for DJ ingestion (specializedEncoder
reader andVideo
reader)hw_timestamp
columnstreams.py
DJ schema accordingly (mainly to drop extra columns when reading Video data)social0.2
BlobPosition
to read and store blob position tracking when SLEAP data is not availablesubject_in_patch
timesfetch_stream
function rounds times to microseconds (mysql precision is to microseconds only)BlobPosition
whenSLEAPTracking
is not availableBlockDetection
- when double 0s are found, use the first 0s (instead of the 2nd one)BlockForaging
computed tableFix #427 Replace #437