-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vector-optics birefringence reconstruction prototype (#170)
* Phase reconstruction is invariant to voxel-size (#164) * fix bug finding focus in stack with only one slice * refactor for clarify * formatting * print -> warnings.warn * test single-slice case * fix test bugs * z-scale-invariant test object * no rescaling on output * forward simulation takes a "brightness" - simulating real microscope * fix example script * add background parameter for fluorescence forward model * test voxel-size invariance * rename I_norm -> direct_intensity * refactor to clarify discretization factor * remove comment * fix fluorescence example bug * improved docsring --------- Co-authored-by: Ivan Ivanov <[email protected]> * poster scripting * may 14 poster draft * last-minute poster changes * quick clearning * checkpoint before svd refactor * SVD refactor * pass singular system * update visualization script * fix visualization script scaling * correct phase recon regression, legacy recon assumes axially even green's function * helper functions * fluorescence wrap safety * 3d phase wrap safety * fix axial nyquist bug * 2d phase wrap safety * fix interaction between padding and wrap safety * clean defaults * refactor singular system computation * remove accidental duplicate * refactor visuals * fix warnings from tensoring a tensor * match defaults * readme type * handle napari dependency * Revert "fix warnings from tensoring a tensor" This reverts commit ca4e7c5. * Reapply "fix warnings from tensoring a tensor" This reverts commit 790df57. * revive old version of greens tensor for backwards compatibility * fix tests that fail because of napari on github * wrap-safe vector transfer function * sampling tests * fourier-space oversampling * better visualizations for debugging * complex-valued napari visuals * complex utils * fix colormaps * debugging coherent tfs * formatting * fix rotation matrices * fix dc term * cleaning up * first-pass visuals checkpoint * matplotlib visuals * temporarily turn off rotations * debugging progress * example script to generate matplotlib tf figures * add rose asset * add all assets * plot all stokes * brighter plot for greens * visual improvements * revised rotation-symmetric Green's tensor * ignore * fix green's tensor units * modify circular anisotropy gellman matrices so that all transfer function are hermitian * improved matplotlib visuals * clean up plotting script * fix bug with 3x3 hardcoded shape * update tf components * minor reconstruction updates * refactor greens tensor spectrum * clean test script * clean models * simple memory reduction * clean debug statements * reorder svd for clean i/o * invert phase contrast * formatting * padding warning * revise visuals * visual cleanup * manage large reconstructions * Transfer function visuals (#178) * Bump torch to unpin numpy (#176) * bump torch to unpin numpy * add SPEC-0 conformant numpy requirement * Bump torch to unpin numpy (#176) * bump torch to unpin numpy * add SPEC-0 conformant numpy requirement * first-pass scripts * cleanup greens * clean transfer function support * fix naming issue * Wrap-safe transfer functions (#175) * helper functions * fluorescence wrap safety * 3d phase wrap safety * fix axial nyquist bug * 2d phase wrap safety * fix interaction between padding and wrap safety * green's tensor surfaces * dark theme default --------- Co-authored-by: Ziwen Liu <[email protected]> * matplotlib movie features * cheaper default viz script * move all visuals to /examples/visuals * update examples/README to table * typo * update badges * typo * revise main README * add 10-second slideshow * Clean installation instructions * cleanup vector model example * minor cleanup * remove matplotlib plot example * edits to README * clarify contrast mechanisms in README * simplify example installation w/ `pip install waveorder[examples]` * fix unintended diff * clarify `examples/README.md` * document 3d-to-2d transfer function * test orthonormal bases * fix accidental deletion * add deprecation warnings * remove plotting assets * label transfer function and simulation axes * guard type hint * matplotlib visuals docs and type hints * add type hints throughout models * revert TYPE_CHECKING to strings --------- Co-authored-by: Ivan Ivanov <[email protected]> Co-authored-by: Ziwen Liu <[email protected]> Co-authored-by: Shalin Mehta <[email protected]>
- Loading branch information
1 parent
cbda81d
commit 1451bf1
Showing
31 changed files
with
1,858 additions
and
354 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,3 +150,4 @@ recOrder/_version.py | |
*.npz | ||
*.png | ||
*.tif[f] | ||
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
`waveorder` is undergoing a significant refactor, and this `examples/` folder serves as a good place to understand the current state of the repository. | ||
|
||
The `models/` folder demonstrates the latest functionality of `waveorder`. These scripts will run as is in an environment with `waveorder` and `napari` installed. Each script demonstrates a simulation and reconstruction with a **model**: a specific set of assumptions about the sample and the data being acquired. | ||
Some examples require `pip install waveorder[examples]` for `napari` and `jupyter`. Visit the [napari installation guide](https://napari.org/dev/tutorials/fundamentals/installation.html) if napari installation fails. | ||
|
||
The `maintenance/` folder demonstrates the functionality of `waveorder` that we plan to move to `models/`. These scripts can be run as is, and they are being maintained with tests. | ||
|
||
The `documentation/` folder consists of examples that demonstrate reconstruction with real data. These examples require access to the complete datasets, so they are not being actively maintained and serve primarily as documentation. | ||
| Folder | Requires | Description | | ||
|------------------|----------------------------|-------------------------------------------------------------------------------------------------------| | ||
| `models/` | `pip install waveorder[examples]` | Demonstrates the latest functionality of `waveorder` through simulations and reconstructions using various models. | | ||
| `maintenance/` | `pip install waveorder` | Examples of computational imaging methods enabled by functionality of waveorder; scripts are maintained with automated tests. | | ||
| `visuals/` | `pip install waveorder[examples]` | Visualizations of transfer functions and Green's tensors. | | ||
| `documentation/` | `pip install waveorder`, complete datasets | Provides examples of real-data reconstructions; serves as documentation and is not actively maintained. | |
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
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
Oops, something went wrong.