Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4c478e6
update cli to take one position, update apply inv tranf one to positi…
tayllatheodoro Jun 4, 2025
61a1b60
fixes for GUI
amitabhverma Jul 18, 2025
99b3498
git merge
amitabhverma Jul 18, 2025
39a891c
Merge branch 'main' into gui_update
amitabhverma Jul 18, 2025
9b17f29
Update utils.py
amitabhverma Jul 18, 2025
1e962f5
Update compute_transfer_function.py
amitabhverma Jul 18, 2025
42068ea
Update apply_inverse_transfer_function.py
amitabhverma Jul 18, 2025
5d9102c
fixes
amitabhverma Jul 18, 2025
6d279b8
test run needs to wait
amitabhverma Jul 18, 2025
5473eb6
test case for client/server socket., formatting
amitabhverma Jul 19, 2025
5bfb8c4
test_cli_apply_inv_tf_output fix
amitabhverma Jul 19, 2025
aab7203
test_cli_apply_inv_tf_output text out
amitabhverma Jul 19, 2025
2848981
re-worked jobs management/implementation
amitabhverma Jul 27, 2025
c69c053
Update tab_recon.py
amitabhverma Jul 27, 2025
32ac9a5
Update tab_recon.py
amitabhverma Jul 27, 2025
e8dd8b8
Update tab_recon.py
amitabhverma Jul 27, 2025
de72335
Update tab_recon.py
amitabhverma Aug 10, 2025
0cb7718
revert CLI to original, etc.
amitabhverma Aug 13, 2025
417d9b3
sphinx and readthedocs integration
amitabhverma Aug 13, 2025
49c3408
docs framework
amitabhverma Aug 14, 2025
d4fd443
temporarily edit .gitignore to upload RTD support files
amitabhverma Aug 14, 2025
519f092
revert .gitignore
amitabhverma Aug 14, 2025
24a672c
docs contributing, cleanup, fix
amitabhverma Aug 15, 2025
0c9a2a7
Merge branch 'main' into docs_update
talonchandler Aug 15, 2025
9fbfea3
updates
amitabhverma Aug 18, 2025
9bc3ceb
restructuring, copy github vid to RTD, fix md links
amitabhverma Aug 19, 2025
8623dcf
Update fix_md_links.py
amitabhverma Aug 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
*.tif[f]
*.jp[e]g
*.zar[r]
*.json

# pycharm IDE
.idea
Expand All @@ -19,6 +18,8 @@ __pycache__/
# Distribution / packaging
.Python
build/
docs/build/
docs/wo_examples/
develop-eggs/
dist/
downloads/
Expand Down Expand Up @@ -148,7 +149,6 @@ waveorder/_version.py

# images
*.npz
*.png
*.tif[f]
*.pdf

Expand Down
28 changes: 28 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version, and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.12"
jobs:
post_build:
- python docs/scripts/fix_md_links.py

# Optionally, but recommended,
# declare the Python requirements required to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- method: pip
path: .
extra_requirements:
- docs

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
27 changes: 26 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ pip install -e ".[dev]"

Then make the changes and [track them with Git](https://docs.github.com/en/get-started/using-git/about-git#example-contribute-to-an-existing-repository).


### Code style

We use [pre-commit](https://pre-commit.com/) to sort imports with [isort](https://github.com/PyCQA/isort) and format code with [black](https://black.readthedocs.io/en/stable/) automatically prior to each commit. To minimize test errors when submitting pull requests, please install pre-commit in your environment as follows:
Expand All @@ -60,3 +59,29 @@ pre-commit install
```

When these packages are executed within the project root directory, they should automatically use the [project settings](./pyproject.toml).

### Developing documentation

Documentation infrastructure is built using [Markdown (.md)](https://www.sphinx-doc.org/en/master/usage/markdown.html) and [reStructuredText (.rst)](https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html) files. [Sphinx](https://www.sphinx-doc.org/en/master/index.html) utilizes these to build highly customization .html pages for User Guides, API References and Examples rendered directly from source code files.

#### Building the HTML version locally

```sh
cd waveorder/ # or the renamed project root directory
pip install -e ".[docs]"
```

```shell
cd docs/
pip install sphinx
sphinx-build -M html ./ ./build
```

Generated HTML documentation can be found in the ``build/html`` directory. Open ``build/html/index.html`` to view the home page for the documentation.

Automated building of `docs` is done via _read-the-docs_ which will automatically pull commits to the `main` branch and host them here: <https://waveorder.readthedocs.io>

#### Documentation change

If you find that any documentation in this project is incomplete, inaccurate, or ambiguous, please open an issue.
We welcome contributions to the documentation from users, particularly user guides that we can collaboratively edit.
17 changes: 9 additions & 8 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@ We have organized our documentation by user type and intended task.

## Software users

**Reconstruct existing data:** start with the [reconstruction guide](./reconstruction-guide.md) and consult the [data schema](./data-schema.md) for `waveorder`'s data format.
**Reconstruct existing data:** start with the [reconstruction guide](guide/reconstruction-guide.md) and consult the [data schema](guide/data-schema.md) for `waveorder`'s data format.

**Reconstruct with a GUI:** start with the [plugin's reconstruction guide](./napari-plugin-guide.md#reconstruction-tab).
**Reconstruct with a GUI:** start with the [plugin's reconstruction guide](guide/napari-plugin-guide.md#acquisition--reconstruction-tab).

**Integrate `waveorder` into my software:** start with [`examples/`](./examples/)

**Integrate `waveorder` into my software:** start with [`examples/`](examples/)

## Hardware users

**Buy hardware for a polarized-light installation:** start with the [buyer's guide](./buyers-guide.md).
**Buy hardware for a polarized-light installation:** start with the [buyer's guide](guide/buyers-guide.md).

**Install `waveorder` on my microscope:** start with the [microscope installation guide](./microscope-installation-guide.md).
**Install `waveorder` on my microscope:** start with the [microscope installation guide](guide/microscope-installation-guide.md).

**Use the `napari plugin` to calibrate:** start with the [plugin guide](./napari-plugin-guide.md).
**Use the `napari plugin` to calibrate:** start with the [plugin guide](guide/napari-plugin-guide.md).

**Understand `waveorder`'s calibration routine**: read the [calibration guide](./calibration-guide.md).
**Understand `waveorder`'s calibration routine**: read the [calibration guide](guide/calibration-guide.md).

## Software developers

**Set up a development environment and test `waveorder`**: start with the [development guide](./development-guide.md).
**Set up a development environment and test `waveorder`**: start with the [development guide](guide/development-guide.md).

**Report an error in the documentation or code:** [open an issue](https://github.com/mehta-lab/waveorder/issues/new/choose) or [send us an email](mailto:shalin.mehta@czbiohub.org,talon.chandler@czbiohub.org). We appreciate your help!
8 changes: 8 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blockquote {
background-color: var(--pst-color-background);
border-left: none;
}

video {
width: -webkit-fill-available;
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
14 changes: 14 additions & 0 deletions docs/_static/switcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"version": "latest",
"url": "/en/latest/index.html"
},
{
"version": "v3.0.0a0",
"url": "/en/v3.0.0a0/index.html"
},
{
"version": "v2.2.1",
"url": "/en/v2.2.1/index.html"
}
]
Binary file added docs/_static/waveorder.ico
Binary file not shown.
Binary file added docs/_static/waveorder.png
14 changes: 14 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
API Reference
=============

.. toctree::
:maxdepth: 3

api/settings
api/stokes

Index
-----

* :ref:`genindex`
* :ref:`search`
6 changes: 6 additions & 0 deletions docs/api/settings.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Settings
========

.. automodule:: waveorder.cli.settings
:members:
:undoc-members:
5 changes: 5 additions & 0 deletions docs/api/stokes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Stokes
========

.. automodule:: waveorder.stokes
:members:
Loading
Loading