cryojax 0.3.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. cryojax-0.3.3/.gitattributes +4 -0
  2. cryojax-0.3.3/.github/dependabot.yml +6 -0
  3. cryojax-0.3.3/.github/workflows/build_docs.yml +36 -0
  4. cryojax-0.3.3/.github/workflows/release.yml +36 -0
  5. cryojax-0.3.3/.github/workflows/ruff.yml +12 -0
  6. cryojax-0.3.3/.github/workflows/testing.yml +45 -0
  7. cryojax-0.3.3/.gitignore +15 -0
  8. cryojax-0.3.3/.pre-commit-config.yaml +24 -0
  9. cryojax-0.3.3/CONTRIBUTING.md +88 -0
  10. cryojax-0.3.3/LICENSE +504 -0
  11. cryojax-0.3.3/PKG-INFO +666 -0
  12. cryojax-0.3.3/README.md +133 -0
  13. cryojax-0.3.3/docs/_static/custom_css.css +153 -0
  14. cryojax-0.3.3/docs/_static/mathjax.js +21 -0
  15. cryojax-0.3.3/docs/api/constants/scattering_factor_parameters.md +11 -0
  16. cryojax-0.3.3/docs/api/constants/units.md +5 -0
  17. cryojax-0.3.3/docs/api/coordinates/making_coordinates.md +13 -0
  18. cryojax-0.3.3/docs/api/coordinates/transforming_coordinates.md +5 -0
  19. cryojax-0.3.3/docs/api/data/relion.md +1 -0
  20. cryojax-0.3.3/docs/api/image/functions.md +1 -0
  21. cryojax-0.3.3/docs/api/image/operators.md +1 -0
  22. cryojax-0.3.3/docs/api/inference/distributions.md +1 -0
  23. cryojax-0.3.3/docs/api/inference/grid_search.md +1 -0
  24. cryojax-0.3.3/docs/api/io/atom_loading.md +1 -0
  25. cryojax-0.3.3/docs/api/io/mrc.md +1 -0
  26. cryojax-0.3.3/docs/api/rotations/conversions.md +1 -0
  27. cryojax-0.3.3/docs/api/rotations/lie_groups.md +1 -0
  28. cryojax-0.3.3/docs/api/simulator/imaging_pipeline.md +1 -0
  29. cryojax-0.3.3/docs/api/simulator/instrument_config.md +31 -0
  30. cryojax-0.3.3/docs/api/simulator/pose.md +1 -0
  31. cryojax-0.3.3/docs/api/simulator/potential_integrators.md +42 -0
  32. cryojax-0.3.3/docs/api/simulator/scattering_potential.md +99 -0
  33. cryojax-0.3.3/docs/api/simulator/scattering_theory.md +1 -0
  34. cryojax-0.3.3/docs/api/simulator/structural_ensemble.md +1 -0
  35. cryojax-0.3.3/docs/api/simulator/transfer_theory.md +1 -0
  36. cryojax-0.3.3/docs/api/utils/filter_specs.md +1 -0
  37. cryojax-0.3.3/docs/api/utils/transforms.md +1 -0
  38. cryojax-0.3.3/docs/examples/compute-potential.ipynb +362 -0
  39. cryojax-0.3.3/docs/examples/cross-correlation-search.ipynb +608 -0
  40. cryojax-0.3.3/docs/examples/data/5w0s.pdb +3 -0
  41. cryojax-0.3.3/docs/examples/data/groel_5w0s_scattering_potential.mrc +3 -0
  42. cryojax-0.3.3/docs/examples/data/groel_chainA.pdb +3 -0
  43. cryojax-0.3.3/docs/examples/data/ribosome_4ug0_micrograph.mrc +3 -0
  44. cryojax-0.3.3/docs/examples/data/ribosome_4ug0_micrograph.mrcs +3 -0
  45. cryojax-0.3.3/docs/examples/data/ribosome_4ug0_particles.star +44 -0
  46. cryojax-0.3.3/docs/examples/data/ribosome_4ug0_scattering_potential_from_cistem.mrc +3 -0
  47. cryojax-0.3.3/docs/examples/ewald-sphere.ipynb +215 -0
  48. cryojax-0.3.3/docs/examples/multislice.ipynb +265 -0
  49. cryojax-0.3.3/docs/examples/read-dataset.ipynb +409 -0
  50. cryojax-0.3.3/docs/examples/simulate-image.ipynb +380 -0
  51. cryojax-0.3.3/docs/examples/simulate-micrograph.ipynb +345 -0
  52. cryojax-0.3.3/docs/examples/simulate-relion-dataset.ipynb +701 -0
  53. cryojax-0.3.3/docs/index.md +110 -0
  54. cryojax-0.3.3/docs/requirements.txt +10 -0
  55. cryojax-0.3.3/mkdocs.yml +108 -0
  56. cryojax-0.3.3/pyproject.toml +65 -0
  57. cryojax-0.3.3/src/cryojax/__init__.py +10 -0
  58. cryojax-0.3.3/src/cryojax/constants/__init__.py +7 -0
  59. cryojax-0.3.3/src/cryojax/constants/_scattering_factor_parameters.py +67 -0
  60. cryojax-0.3.3/src/cryojax/constants/_unit_conversions.py +25 -0
  61. cryojax-0.3.3/src/cryojax/constants/peng1996_element_params.npy +0 -0
  62. cryojax-0.3.3/src/cryojax/coordinates/__init__.py +8 -0
  63. cryojax-0.3.3/src/cryojax/coordinates/_geometry.py +26 -0
  64. cryojax-0.3.3/src/cryojax/coordinates/_make_coordinate_grids.py +246 -0
  65. cryojax-0.3.3/src/cryojax/cryojax_version.py +16 -0
  66. cryojax-0.3.3/src/cryojax/data/__init__.py +15 -0
  67. cryojax-0.3.3/src/cryojax/data/_dataset.py +95 -0
  68. cryojax-0.3.3/src/cryojax/data/_particle_stack.py +15 -0
  69. cryojax-0.3.3/src/cryojax/data/_relion/__init__.py +13 -0
  70. cryojax-0.3.3/src/cryojax/data/_relion/_starfile_reading.py +788 -0
  71. cryojax-0.3.3/src/cryojax/data/_relion/_starfile_writing.py +578 -0
  72. cryojax-0.3.3/src/cryojax/experimental/__init__.py +16 -0
  73. cryojax-0.3.3/src/cryojax/image/__init__.py +34 -0
  74. cryojax-0.3.3/src/cryojax/image/_average.py +88 -0
  75. cryojax-0.3.3/src/cryojax/image/_downsample.py +132 -0
  76. cryojax-0.3.3/src/cryojax/image/_edges.py +192 -0
  77. cryojax-0.3.3/src/cryojax/image/_fft.py +99 -0
  78. cryojax-0.3.3/src/cryojax/image/_map_coordinates.py +255 -0
  79. cryojax-0.3.3/src/cryojax/image/_normalize.py +99 -0
  80. cryojax-0.3.3/src/cryojax/image/_rescale_pixel_size.py +138 -0
  81. cryojax-0.3.3/src/cryojax/image/_spectrum.py +60 -0
  82. cryojax-0.3.3/src/cryojax/image/operators/__init__.py +42 -0
  83. cryojax-0.3.3/src/cryojax/image/operators/_filters.py +338 -0
  84. cryojax-0.3.3/src/cryojax/image/operators/_fourier_operator.py +202 -0
  85. cryojax-0.3.3/src/cryojax/image/operators/_masks.py +420 -0
  86. cryojax-0.3.3/src/cryojax/image/operators/_operator.py +207 -0
  87. cryojax-0.3.3/src/cryojax/image/operators/_real_operator.py +86 -0
  88. cryojax-0.3.3/src/cryojax/inference/__init__.py +20 -0
  89. cryojax-0.3.3/src/cryojax/inference/_grid_search/__init__.py +17 -0
  90. cryojax-0.3.3/src/cryojax/inference/_grid_search/custom_types.py +10 -0
  91. cryojax-0.3.3/src/cryojax/inference/_grid_search/pytree_manipulation.py +205 -0
  92. cryojax-0.3.3/src/cryojax/inference/_grid_search/search_loop.py +158 -0
  93. cryojax-0.3.3/src/cryojax/inference/_grid_search/search_method.py +309 -0
  94. cryojax-0.3.3/src/cryojax/inference/_lie_group_transforms.py +138 -0
  95. cryojax-0.3.3/src/cryojax/inference/distributions/__init__.py +9 -0
  96. cryojax-0.3.3/src/cryojax/inference/distributions/_base_distribution.py +58 -0
  97. cryojax-0.3.3/src/cryojax/inference/distributions/_gaussian_distributions.py +321 -0
  98. cryojax-0.3.3/src/cryojax/internal/__init__.py +7 -0
  99. cryojax-0.3.3/src/cryojax/internal/_errors.py +35 -0
  100. cryojax-0.3.3/src/cryojax/internal/_loop.py +114 -0
  101. cryojax-0.3.3/src/cryojax/io/__init__.py +23 -0
  102. cryojax-0.3.3/src/cryojax/io/_gemmi.py +182 -0
  103. cryojax-0.3.3/src/cryojax/io/_mdtraj.py +43 -0
  104. cryojax-0.3.3/src/cryojax/io/_mrc.py +240 -0
  105. cryojax-0.3.3/src/cryojax/io/_pdb_and_cif.py +224 -0
  106. cryojax-0.3.3/src/cryojax/io/_starfile.py +28 -0
  107. cryojax-0.3.3/src/cryojax/rotations/__init__.py +9 -0
  108. cryojax-0.3.3/src/cryojax/rotations/_lie_group.py +522 -0
  109. cryojax-0.3.3/src/cryojax/rotations/_rotation.py +67 -0
  110. cryojax-0.3.3/src/cryojax/rotations/_utils.py +61 -0
  111. cryojax-0.3.3/src/cryojax/simulator/__init__.py +69 -0
  112. cryojax-0.3.3/src/cryojax/simulator/_detector.py +218 -0
  113. cryojax-0.3.3/src/cryojax/simulator/_imaging_pipeline.py +423 -0
  114. cryojax-0.3.3/src/cryojax/simulator/_instrument_config.py +261 -0
  115. cryojax-0.3.3/src/cryojax/simulator/_multislice_integrator/__init__.py +4 -0
  116. cryojax-0.3.3/src/cryojax/simulator/_multislice_integrator/base_multislice_integrator.py +24 -0
  117. cryojax-0.3.3/src/cryojax/simulator/_multislice_integrator/fft_multislice_integrator.py +221 -0
  118. cryojax-0.3.3/src/cryojax/simulator/_pose.py +279 -0
  119. cryojax-0.3.3/src/cryojax/simulator/_potential_integrator/__init__.py +14 -0
  120. cryojax-0.3.3/src/cryojax/simulator/_potential_integrator/atom_potential_integrator.py +159 -0
  121. cryojax-0.3.3/src/cryojax/simulator/_potential_integrator/base_potential_integrator.py +82 -0
  122. cryojax-0.3.3/src/cryojax/simulator/_potential_integrator/fourier_voxel_extract.py +513 -0
  123. cryojax-0.3.3/src/cryojax/simulator/_potential_integrator/nufft_project.py +134 -0
  124. cryojax-0.3.3/src/cryojax/simulator/_potential_representation/__init__.py +17 -0
  125. cryojax-0.3.3/src/cryojax/simulator/_potential_representation/atom_potential.py +584 -0
  126. cryojax-0.3.3/src/cryojax/simulator/_potential_representation/base_potential.py +26 -0
  127. cryojax-0.3.3/src/cryojax/simulator/_potential_representation/voxel_potential.py +435 -0
  128. cryojax-0.3.3/src/cryojax/simulator/_scattering_theory/__init__.py +18 -0
  129. cryojax-0.3.3/src/cryojax/simulator/_scattering_theory/base_scattering_theory.py +120 -0
  130. cryojax-0.3.3/src/cryojax/simulator/_scattering_theory/common_functions.py +44 -0
  131. cryojax-0.3.3/src/cryojax/simulator/_scattering_theory/high_energy_scattering_theory.py +110 -0
  132. cryojax-0.3.3/src/cryojax/simulator/_scattering_theory/multislice_scattering_theory.py +53 -0
  133. cryojax-0.3.3/src/cryojax/simulator/_scattering_theory/weak_phase_scattering_theory.py +337 -0
  134. cryojax-0.3.3/src/cryojax/simulator/_solvent.py +123 -0
  135. cryojax-0.3.3/src/cryojax/simulator/_structural_ensemble/__init__.py +18 -0
  136. cryojax-0.3.3/src/cryojax/simulator/_structural_ensemble/assembly/__init__.py +9 -0
  137. cryojax-0.3.3/src/cryojax/simulator/_structural_ensemble/assembly/base_assembly.py +199 -0
  138. cryojax-0.3.3/src/cryojax/simulator/_structural_ensemble/assembly/helix.py +280 -0
  139. cryojax-0.3.3/src/cryojax/simulator/_structural_ensemble/base_conformation.py +19 -0
  140. cryojax-0.3.3/src/cryojax/simulator/_structural_ensemble/base_ensemble.py +63 -0
  141. cryojax-0.3.3/src/cryojax/simulator/_structural_ensemble/discrete_ensemble.py +60 -0
  142. cryojax-0.3.3/src/cryojax/simulator/_transfer_theory/__init__.py +12 -0
  143. cryojax-0.3.3/src/cryojax/simulator/_transfer_theory/base_transfer_theory.py +53 -0
  144. cryojax-0.3.3/src/cryojax/simulator/_transfer_theory/common_functions.py +63 -0
  145. cryojax-0.3.3/src/cryojax/simulator/_transfer_theory/contrast_transfer_theory.py +150 -0
  146. cryojax-0.3.3/src/cryojax/simulator/_transfer_theory/wave_transfer_theory.py +139 -0
  147. cryojax-0.3.3/src/cryojax/utils/__init__.py +17 -0
  148. cryojax-0.3.3/src/cryojax/utils/_filter_specs.py +46 -0
  149. cryojax-0.3.3/src/cryojax/utils/_filtered_transformations.py +117 -0
  150. cryojax-0.3.3/src/cryojax/utils/_transforms.py +130 -0
  151. cryojax-0.3.3/tests/__init__.py +0 -0
  152. cryojax-0.3.3/tests/conftest.py +172 -0
  153. cryojax-0.3.3/tests/data/.gitkeep +0 -0
  154. cryojax-0.3.3/tests/data/1uao.pdb +282 -0
  155. cryojax-0.3.3/tests/data/3j9g_potential_ps4_4.mrc +0 -0
  156. cryojax-0.3.3/tests/data/3j9g_subunit_potential_ps4_4.mrc +0 -0
  157. cryojax-0.3.3/tests/requirements.txt +3 -0
  158. cryojax-0.3.3/tests/test_agree_with_cistem.py +186 -0
  159. cryojax-0.3.3/tests/test_detector.py +81 -0
  160. cryojax-0.3.3/tests/test_distributions.py +22 -0
  161. cryojax-0.3.3/tests/test_ensemble.py +44 -0
  162. cryojax-0.3.3/tests/test_fft.py +37 -0
  163. cryojax-0.3.3/tests/test_grid_search.py +103 -0
  164. cryojax-0.3.3/tests/test_helix.py +219 -0
  165. cryojax-0.3.3/tests/test_normalize.py +24 -0
  166. cryojax-0.3.3/tests/test_pixels_from_atoms.py +193 -0
  167. cryojax-0.3.3/tests/test_pose_agreement.py +69 -0
  168. cryojax-0.3.3/tests/test_potential.py +27 -0
  169. cryojax-0.3.3/tests/test_rescale_pixel_size.py +13 -0
  170. cryojax-0.3.3/tests/test_shape.py +60 -0
  171. cryojax-0.3.3/tests/test_transforms.py +59 -0
  172. cryojax-0.3.3/tests/test_voxels_from_atoms.py +262 -0
@@ -0,0 +1,4 @@
1
+ *.ipynb linguist-vendored
2
+ docs/examples/data/*.mrc filter=lfs diff=lfs merge=lfs -text
3
+ docs/examples/data/*.mrcs filter=lfs diff=lfs merge=lfs -text
4
+ docs/examples/data/*.pdb filter=lfs diff=lfs merge=lfs -text
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "monthly"
@@ -0,0 +1,36 @@
1
+ name: Build docs
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
+
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.10"
21
+
22
+ - name: Install dependencies
23
+ run: |
24
+ pip install --upgrade pip
25
+ pip install -r docs/requirements.txt
26
+
27
+ - name: Build
28
+ run: |
29
+ mkdocs build
30
+
31
+ # Push the site to github-pages
32
+ - name: GitHub Pages action
33
+ uses: peaceiris/actions-gh-pages@v4
34
+ with:
35
+ github_token: ${{ secrets.GITHUB_TOKEN }}
36
+ publish_dir: ./site
@@ -0,0 +1,36 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ workflow_dispatch:
7
+
8
+ jobs:
9
+ deploy:
10
+ name: Deploy
11
+ runs-on: ubuntu-latest
12
+
13
+ permissions:
14
+ # IMPORTANT: this permission is mandatory for trusted publishing on PyPi
15
+ # see https://docs.pypi.org/trusted-publishers/
16
+ id-token: write
17
+ # This permission allows writing releases
18
+ contents: write
19
+
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ with:
23
+ fetch-depth: 0
24
+
25
+ - name: 🐍 Set up Python
26
+ uses: actions/setup-python@v5
27
+ with:
28
+ python-version: "3.11"
29
+
30
+ - name: 👷 Build
31
+ run: |
32
+ python -m pip install build
33
+ python -m build
34
+
35
+ - name: 🚢 Publish to PyPI
36
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,12 @@
1
+ # Runs the Ruff linter and formatter.
2
+
3
+ name: Lint
4
+
5
+ on: [push, pull_request]
6
+
7
+ jobs:
8
+ lint:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: chartboost/ruff-action@v1
@@ -0,0 +1,45 @@
1
+ # GHA workflow for running tests.
2
+ #
3
+ # Largely taken from
4
+ # https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
5
+ # Please check the link for more detailed instructions
6
+
7
+ name: Tests
8
+
9
+ on:
10
+ pull_request:
11
+ push:
12
+ branches:
13
+ - main
14
+ workflow_dispatch:
15
+
16
+ jobs:
17
+ build:
18
+
19
+ runs-on: ubuntu-latest
20
+ strategy:
21
+ matrix:
22
+ python-version: ["3.11"]
23
+
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ - name: Set up Python ${{ matrix.python-version }}
27
+ uses: actions/setup-python@v5
28
+ with:
29
+ # lfs: true
30
+ python-version: ${{ matrix.python-version }}
31
+ # - name: Install Git LFS
32
+ # run: |
33
+ # sudo apt-get update
34
+ # sudo apt-get install git-lfs
35
+ # git lfs install
36
+ # - name: Pull LFS Files
37
+ # run: git lfs pull
38
+ - name: Install dependencies
39
+ run: |
40
+ python -m pip install --upgrade pip
41
+ pip install .
42
+ pip install -r tests/requirements.txt
43
+ - name: Test with pytest
44
+ run: |
45
+ pytest tests/
@@ -0,0 +1,15 @@
1
+ # generate-starfile-and-mrcs tutorial generated data
2
+ docs/examples/relion_dataset.star
3
+ docs/examples/relion_dataset.star~
4
+ docs/examples/relion_dataset_particles/
5
+
6
+ .vscode/settings.json
7
+ *.swp
8
+ *_version.py
9
+ **/__pycache__
10
+ **/.ipynb_checkpoints
11
+ *.egg-info/
12
+ build/
13
+ dist/
14
+ site/
15
+ __pycache__
@@ -0,0 +1,24 @@
1
+ # See https://pre-commit.com for more information
2
+ # See https://pre-commit.com/hooks.html for more hooks
3
+ ci:
4
+ autoupdate_schedule: monthly
5
+
6
+ repos:
7
+ - repo: https://github.com/pre-commit/pre-commit-hooks
8
+ rev: v3.2.0
9
+ hooks:
10
+ - id: trailing-whitespace
11
+ - id: end-of-file-fixer
12
+ - id: check-yaml
13
+ - id: check-added-large-files
14
+ - repo: https://github.com/astral-sh/ruff-pre-commit
15
+ # Ruff version.
16
+ rev: v0.3.4
17
+ hooks:
18
+ # Run the linter.
19
+ - id: ruff
20
+ types_or: [ python, pyi, jupyter ]
21
+ args: [ --fix ]
22
+ # Run the formatter.
23
+ - id: ruff-format
24
+ types_or: [ python, pyi, jupyter ]
@@ -0,0 +1,88 @@
1
+ # Contributor Guide
2
+
3
+ Contributions to this repository are welcome and greatly appreciated! We would love
4
+ for this package to grow and be supported by a larger community.
5
+
6
+ ## Design principles
7
+
8
+ `cryojax` is built on [equinox](https://docs.kidger.site/equinox/). In short, `equinox` provides an interface to writing parameterized functions in `jax`. The core object of these parameterized functions is called a [Module](https://docs.kidger.site/equinox/api/module/module/) (yes, this takes inspiration from pytorch). `equinox` ships with features to interact with these `Module`s, and more generally with [pytrees](https://jax.readthedocs.io/en/latest/pytrees.html) in `jax`. One of the most useful of these features, not found in `jax` itself, is a means of performing out-of-place updates on pytrees through `equinox.tree_at`.
9
+
10
+ Equinox also provides a recommended pattern for writing `Module`s: https://docs.kidger.site/equinox/pattern/. We think this is a good template for code readability, so `cryojax` tries to adhere to these principles as much as possible.
11
+
12
+ ## What contributions fit into `cryojax`?
13
+
14
+ `cryojax` does not try to be a one-stop shop for cryo-EM analysis. The current scope of the package is outlined in the README.md. However, we would like to know what you would find helpful for your research, so if you have a contribution in mind please feel free to get in touch on the [Issue
15
+ Tracker](https://github.com/mjo22/cryojax/issues) and ask.
16
+
17
+ ## Getting started
18
+
19
+ First, fork the library on GitHub. Then clone and install the library in development mode:
20
+
21
+ ```
22
+ git clone https://github.com/your-username-here/cryojax.git
23
+ cd cryojax
24
+ python -m pip install -e .
25
+ ```
26
+
27
+ Next, install the pre-commit hooks:
28
+
29
+ ```
30
+ python -m pip install pre-commit
31
+ pre-commit install
32
+ ```
33
+
34
+ This uses `ruff` to format and lint the code.
35
+
36
+ ## Running tests
37
+
38
+ After making changes, make sure that the tests pass. In the `cryojax` base directory, run
39
+
40
+ ```
41
+ python -m pip install -r tests/requirements.txt
42
+ python -m pytest
43
+ ```
44
+
45
+ **If you are using a non-linux OS, the [`pycistem`](https://github.com/jojoelfe/pycistem) testing dependency cannot be installed**. In this case, in order to run the tests against [`cisTEM`](https://github.com/timothygrant80/cisTEM), run the testing [workflow](https://github.com/mjo22/cryojax/actions/workflows/testing.yml). This can be done manually or will happen automatically when a PR is opened.
46
+
47
+ ## Building documentation
48
+
49
+ Again in the `cryojax` base directory, prepare to build the documentation by installing dependencies and pulling large-ish files from [git LFS](https://git-lfs.com/).
50
+
51
+ ```
52
+ python -m pip install -r docs/requirements.txt
53
+ sudo apt-get install git-lfs # If using macOS, `brew install git-lfs`
54
+ git lfs install; git lfs pull
55
+ ```
56
+
57
+ Now, build the documentation with
58
+
59
+ ```
60
+ mkdocs serve
61
+ ```
62
+
63
+ and navigate to the local webpage by following the instructions in your terminal.
64
+
65
+ ## How to submit changes
66
+
67
+ Now, if the tests and documentation look okay, push your changes and open a [Pull Request](https://github.com/mjo22/cryojax/pulls)!
68
+
69
+ ## How to report a bug
70
+
71
+ Report bugs on the [Issue Tracker](https://github.com/mjo22/cryojax/issues).
72
+
73
+ When filing an issue, here are some guidelines that may be helpful to know:
74
+
75
+ - Which operating system and Python version are you using?
76
+ - Which version of this project are you using?
77
+ - What did you do?
78
+ - What did you expect to see?
79
+ - What did you see instead?
80
+
81
+ The best way to get your bug fixed is to provide a test case, and/or steps to
82
+ reproduce the issue. In particular, consider including a [Minimal, Reproducible
83
+ Example](https://stackoverflow.com/help/minimal-reproducible-example).
84
+
85
+ ## How to request a feature
86
+
87
+ Feel free to request features on the [Issue
88
+ Tracker](https://github.com/mjo22/cryojax/issues).