There needs to be a module that takes a Suite2p output stat.npy file and binarizes the masks and writes them into a .json file in LIMS ROI format. There already exist methods for doing the binarization and loading from Suite2p file in Ophys ETL Pipelines.
Tasks:
[ ] Create new method for transforming masks to LIMS format
[ ] Wrap functions together to load masks from s2p output file, transform to LIMS format, and write to .json file
[ ] Write input and output schema to verify correct input data and ROIs have been written to LIMs format
Validation Criteria:
[ ] A module exists that can run a stat.npy file through and produce binarized ROIs in a output json
Overview:
There needs to be a module that takes a Suite2p output stat.npy file and binarizes the masks and writes them into a .json file in LIMS ROI format. There already exist methods for doing the binarization and loading from Suite2p file in Ophys ETL Pipelines.
Tasks:
Validation Criteria: