Porting create_empty_zarr to iohub#234
Conversation
|
TODO: |
|
Heads up, I'll have a bunch of comments and edits here, WIP |
|
P.S. I'm leaving a bunch of comments here so we can agree on the structure, but I'm also happy to implement some of these suggestions, I'm not asking others (Ed) to implement all of these. |
JoOkuma
left a comment
There was a problem hiding this comment.
The functions to process_ and transform_ the data could be made for general and work on arbitrary axes with some changes. We did this here in ultrack
Is it really necessary to have a function to process a single position?
From my POV, these "apply" functions should take an arbitrary BaseFOVMapping as input and write an ome-zarr.
We could write a wrapper of the BaseFOV that creates a "trivial" BaseFOVMapping that behaves as an HCS, so there's a single implementation for both cases and supporting multiple file types as input.
* unify comment format * fix typing and docstring * create ngff sub-package and refactor display util file * refactor ngff meta file * refactor ngff * export transformation model * fix type hint * bump ome-zarr target in docstring * migrate to pydantic v2 * isort * fix validators * remove union type * fix dependency * update docstring * typing improvements * Update iohub/ngff/models.py Co-authored-by: Jordão Bragantini <jordao.bragantini@czbiohub.org> * fix style * update module docstring to specify their content --------- Co-authored-by: Jordão Bragantini <jordao.bragantini@czbiohub.org>
…arguments to be more intuitive.
|
Related: czbiohub-sf/biahub#78 |
* Fixing pyramid scaling factor * fix pyramid test * fix test again
also removed non-standard axis
talonchandler
left a comment
There was a problem hiding this comment.
Ready to go from me!
This PR adds shrimPy utility functions relevant to iohub listed below:
create_empty_zarr: enables the creation of an empty zarrprocess_single_position: function that can apply a czyx in czyx out function to a zarr store.TODO:
Decide on the processing BaseFOV vs Position levelmoved toPositionshould be a subclass ofBaseFOV#249