From 70fb6cd6bd7d79875f7d8b69b424ce3e49d913f5 Mon Sep 17 00:00:00 2001 From: Emily Kubota Date: Fri, 5 Jan 2024 13:32:27 -0800 Subject: [PATCH] cam angle --- fsub_extractor/utils/fury_viz.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fsub_extractor/utils/fury_viz.py b/fsub_extractor/utils/fury_viz.py index d5550b1..38ad5db 100644 --- a/fsub_extractor/utils/fury_viz.py +++ b/fsub_extractor/utils/fury_viz.py @@ -268,9 +268,8 @@ def visualize_bundles( hemi = hemisphere (default: 'lh') roi_actor: list of fury roi actors (e.g., [output] of define roi_actor) slice_actor: list fury slice actors (e.g., [output] of define_slice_actor) - roll_val: roll value for camera angle (default 90) - pitch_val: pitch value for camera angle (default 0) - yaw_val: yaw value for camera angle (default 270) + roll_val: roll value for camera angle (default 0) + yaw_val: yaw value for camera angle (default 0) filename: fullpath to save the image (e.g., .png) note: for plotting multiple streamlines, rois, or slices the function @@ -297,9 +296,8 @@ def visualize_bundles( cam = figure.GetActiveCamera() cam.SetViewUp(0, 0, 0) - cam.Roll(roll_val) - cam.Pitch(pitch_val) cam.Yaw(yaw_val) + cam.Roll(roll_val) if interactive: window.show(figure)