Skip to content

Commit

Permalink
removed unnecessary voxel_sizes parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
niksirbi committed Oct 21, 2024
1 parent 45ec6ef commit a0aed25
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions brainglobe_template_builder/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
def plot_orthographic(
img: np.ndarray,
anat_space: str = "ASR",
voxel_sizes: tuple[float, float, float] = (1.0, 1.0, 1.0),
show_slices: tuple[int, int, int] | None = None,
mip_attenuation: float = 0.01,
save_path: Path | None = None,
**kwargs,
) -> tuple[plt.Figure, np.ndarray]:
"""Plot image volume in three orthogonal views, plus a surface rendering.
The surface rendering is a maximum intensity projection (MIP) along the
vertical (superior-inferior) axis and is shown from the top.
The function assumes isotropic voxels (otherwise the proportions of the
image will be distorted). The surface rendering is a maximum intensity
projection (MIP) along the vertical (superior-inferior) axis.
Parameters
----------
Expand All @@ -27,9 +27,6 @@ def plot_orthographic(
anat_space : str, optional
Anatomical space of of the image volume according to the Brainglobe
definition (origin and order of axes), by default "ASR".
voxel_sizes : tuple, optional
Voxels sizes in micrometers per dimension, by default (1.0, 1.0, 1.0).
The relative sizes of the axes will be preserved in the plot.
show_slices : tuple, optional
Which slice to show per dimension. If None (default), show the middle
slice along each dimension.
Expand Down

0 comments on commit a0aed25

Please sign in to comment.