Skip to content

Commit

Permalink
readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vigji committed Oct 8, 2020
1 parent 1836480 commit 15f4c4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ Finally, if we want to log this matrix (e.g., to reconstruct the full transforma

```python
target_space = bg.AnatomicalSpace("ipr", stack.shape)
transformation_matrix = AnatomicalSpace.transformation_matrix_to(target_space)
transformation_matrix = source_space.transformation_matrix_to(target_space)
# equivalent to:
transformation_matrix = AnatomicalSpace.transformation_matrix_to("ipr", stack.shape)
transformation_matrix = source_space.transformation_matrix_to("ipr", stack.shape)
```

The target get always be defined as a `bg.AnatomicalSpace` object, or a valid origin specification plus a shape (the shape is required only if axes flips are required).
Expand Down

0 comments on commit 15f4c4c

Please sign in to comment.