Skip to content

Commit

Permalink
completed tutorial for the cross-correlation search
Browse files Browse the repository at this point in the history
  • Loading branch information
mjo22 committed May 6, 2024
1 parent bdc037b commit 50e2ef6
Show file tree
Hide file tree
Showing 4 changed files with 612 additions and 635 deletions.
610 changes: 610 additions & 0 deletions docs/examples/cross-correlation-search.ipynb

Large diffs are not rendered by default.

632 changes: 0 additions & 632 deletions docs/examples/pose-inference.ipynb

This file was deleted.

1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ nav:
- Read a particle stack: 'examples/read-dataset.ipynb'
- Intermediate:
- Simulate a batch of images: 'examples/simulate-micrograph.ipynb'
- Run a cross-correlation search: 'examples/cross-correlation-search.ipynb'
- Simulator API:
- 'api/simulator/scattering_potential.md'
4 changes: 1 addition & 3 deletions src/cryojax/rotations/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ def convert_quaternion_to_euler_angles(
Adapted from https://github.com/chrisflesher/jax-scipy-spatial/.
"""
if len(convention) != 3 or not all(
[axis in ["x", "y", "z"] for axis in convention]
):
if len(convention) != 3 or not all([axis in ["x", "y", "z"] for axis in convention]):
raise ValueError(
f"`convention` should be a string of three characters, each "
f"of which is 'x', 'y', or 'z'. Instead, got '{convention}'"
Expand Down

0 comments on commit 50e2ef6

Please sign in to comment.