-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update recommended sampling in the LS and LF remote refocus paths #69
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-Authored-By: Talon Chandler <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great up to a factor of 2. See my suggested edits after a discussion with @edyoshikun.
Co-authored-by: Talon Chandler <[email protected]>
talonchandler
approved these changes
Jul 27, 2023
talonchandler
added a commit
that referenced
this pull request
Aug 5, 2023
* Update recommended sampling in the LS and LF RR paths Co-Authored-By: Talon Chandler <[email protected]> * Drop mirror scan step by half Co-authored-by: Talon Chandler <[email protected]> --------- Co-authored-by: Talon Chandler <[email protected]>
talonchandler
added a commit
that referenced
this pull request
Aug 11, 2023
* adding first prototype of manual registration with napari * adding layer control to hide and show the aligned dataset. * replacing fluor/phase to respective dataset names and saving metadta * fix typo on * fixing channel mixup and adding 3D registration. * z-sampling typo. channels were flipped * fixed focus channel parameters and making this a function to save only the parameters * fixing layer typo * reverting accidental commit with some test * tet for registration.py * adding registration function * adding shape metadata * adding the CLI for applying registration with multiprocessing * adding registration parameter output a more meaningful name * replacing affine transform to similarity transform. this avoids shearing. * adding voxel_size * handle coordinate transformation * formatting isort and black * removing own registration algorithm as scikit image one works * fixes to use only click.echo rather than print * handling float inputs * renaming file to register.py to register and deleting the redundant registration.py * adding refactored register and utils function * renaming chan_1 and chan_2 to phase and fluor * fixing typos to add registration to cli * adding parameters for register.cli that live in utils.py * Fix_deskew_utils (#67) * replacing functinos that live in utils.py * adding utils.py to slurmkit file * adding validation and sorting to parsing.py * update parsing.py for deskew * adding the metadata per position * adding the yaml file writing and parsing * fixing deskew function new utils.py * slurm deskew fixed with new util.py * adding slumkit for registration * Implement O3 autofocus on light-sheet arm (#48) * adding pythonnet and drift correction * removing the pythonnet dependency that should live in copylot * cleanup the demo code * move drift_correction.py to examples * add copylot to dependencies * add O3 stage setup * move serial numbers to acq_engine * rename drift_correction script * add defocus stack acquisition * style * update examples * refactor z stage move * add galvo scanning to acquire_ls_defocus_stack * Update acquire_defocus_stack.py * update examples * switch to pylablib stage and relative moves * add some logging * add KIM101 compensation * fix galvo reset position bug * add find_focus.py example * style * ignore tests in examples dir * move o3 refocus to acq_engine * add checks and logging * debug acq engine o3 refocus * update example * Create separate logs directory * move conda env logger to logs * rename to mantis_acquisition_log * save acquired stacks * implement timed o3 refocus * update kim101 calibration * add relative O3 travel limits * logger fixes * style * add waveorder to deps and format pyproject * update kim101 compensation factor * add threshold and plotting to focus finding * update waveorder dependency * add microscope_operations documentation * update data structure specs * make acquire_ls_defocus_stack MantisAcquisition static method * update examples * rename_kim101 example * rename z_range vars to avoid confusion --------- Co-authored-by: Uditha Velidandla <[email protected]> * Update recommended sampling in the LS and LF remote refocus paths (#69) * Update recommended sampling in the LS and LF RR paths Co-Authored-By: Talon Chandler <[email protected]> * Drop mirror scan step by half Co-authored-by: Talon Chandler <[email protected]> --------- Co-authored-by: Talon Chandler <[email protected]> * Improve autofocus reengagement (#74) wait for autofocus to engage * All CLI calls read from zarr (#71) * read from zarr * Use better colors via `iohub` * isort * `estimate_deskew` read from zarr * first-pass standardize register * remove defunct test * fix readme. * standardize estimate_registration * typo * show `mantis -h` in order * standardize register cli * fix parameter * fix estimate-bleaching bug * fix deskew tests * flake8, isort * add registration tests * Update mantis/analysis/AnalysisSettings.py * reducing parameters in config file * re-adding finding best focus slice and rotate image by 90deg * removing test main calls * fixing apply_affine to perform a rotation first before affine. * renaming cli calls and updating README * renaming files for readability and to match CLI * style fix * adding tests and renaming variables for clarity * missed changin the conftest.py * fixing typo on test for test appy cli * modifying code to pass tests * deleting unsed imports flake8 * fix incorrect click.echo * adding pre-affine 90 deg rotationsa bout z as option for cli and croping ROI for focus finding * swapping config to use the indentity matrix as the affine matrix * return the affine transfrom mapping phase to fluorescence * fixing pre_affine_90degree_rotations_about_z in config * renaming and removing redundant printf() * update slurmkit deskew * adding function to read the voxel size from metadata and updating registration slurmkit * voxel_size retreival and modifing apply_affine to be applied to the labelfree channel. * fix typo * updating slurmkit apply_affine * cleanup slurmkit * pass voxel sizes through apply_affine * scaling passes through apply_affine tested * isort * update readme --------- Co-authored-by: Uditha Velidandla <[email protected]> Co-authored-by: Talon Chandler <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #25