-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recorder reconstruct
CLI
#326
Comments
I'd add that this CLI will use the new unified polarization algebra and deconvolution algorithms being developed in Some thoughts on CLI
Yes! It does make sense to write the reconstructed data as channels that can be read with fluorescence or raw transmission data. A workflow for the user will be
👍🏼 to both of the above. |
#347 addresses this, and we're now finishing up details and testing a near variant of this CLI design. Closing. |
@ziw-liu @mattersoflight and I have been brainstorming about a key set of features to prepare ahead of AQLM.
We've roughly settled on providing a
recorder reconstruct
CLI that lets the user reproduce what they've done in the GUI. Followup tweaking of reconstruction parameters can be performed by modifying a .yaml file that is saved after eachrecOrder
GUI acquisition.We're imagining the following workflow:
Calibration proceeds like usual in the "Calibration" tab and results are saved in
calibration_metadata.txt
The user acquires and reconstructs data in the "Acquire" tab, and iterates on the microscope until they're happy with their data.
After each acquisition is complete,
recOrder
saves all of its parameters to agui_state.yml
file and prints a one-line CLI call that can be used to reproduce the reconstruction that they've been shown in the napari GUI. The CLI call will look like:recorder reconstruct --input=/path/to/data.zarr --output=/path/to/output.zarr --params=3dphase,3dbiref --config=gui_state.yml
The user can modify the
gui_state.yml
file to change the reconstruction parameters (regularization parameters, etc).#279 already saves the
gui_state.yml
file with enough information to recreate the reconstruction, so we're planning to modify the example scripts into a CLI that reads thegui_state.yml
file.We're very open to feedback on this plan, which is our main issue to solve for 0.4.0. A few specific questions:
--params=3dphase,3dbiref
?iohub
!), possibly by setting the output equal to the input. Good idea?recOrder
is currently set up around single-position datasets. @ziw-liu pointed out that these CLI calls could easily be adapted to multi-position files (acquired via MM then converted to zarr) by using the nested structure ofiohub
zarrs.The text was updated successfully, but these errors were encountered: