Skip to content

Commit e7ee64f

Browse files
committed
Clarify parameter names
1 parent b580805 commit e7ee64f

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,26 +53,25 @@ percentile_normalizer = PercentileNormalizer(
5353
center = Modality(
5454
modality_name="t1c",
5555
input_path=patient_folder / "t1c.nii.gz",
56+
normalizer=percentile_normalizer,
5657
# specify the output paths for the raw and normalized images of each step (all optional)
57-
raw_bet_output_path="patient/raw_bet_dir/t1c_bet_raw.nii.gz",
58+
# Abbreviations: bet = brain extracted, skull = with skull
5859
raw_skull_output_path="patient/raw_skull_dir/t1c_skull_raw.nii.gz",
59-
normalized_bet_output_path="patient/norm_bet_dir/t1c_bet_normalized.nii.gz",
60+
raw_bet_output_path="patient/raw_bet_dir/t1c_bet_raw.nii.gz",
6061
normalized_skull_output_path="patient/norm_skull_dir/t1c_skull_normalized.nii.gz",
61-
atlas_correction=True,
62-
normalizer=percentile_normalizer,
62+
normalized_bet_output_path="patient/norm_bet_dir/t1c_bet_normalized.nii.gz",
6363
)
6464

6565
moving_modalities = [
6666
Modality(
6767
modality_name="flair",
6868
input_path=patient_folder / "flair.nii.gz",
69+
normalizer=percentile_normalizer,
6970
# specify the output paths for the raw and normalized images of each step (all optional)
70-
raw_bet_output_path="patient/raw_bet_dir/fla_bet_raw.nii.gz",
7171
raw_skull_output_path="patient/raw_skull_dir/fla_skull_raw.nii.gz",
72-
normalized_bet_output_path="patient/norm_bet_dir/fla_bet_normalized.nii.gz",
72+
raw_bet_output_path="patient/raw_bet_dir/fla_bet_raw.nii.gz",
7373
normalized_skull_output_path="patient/norm_skull_dir/fla_skull_normalized.nii.gz",
74-
atlas_correction=True,
75-
normalizer=percentile_normalizer,
74+
normalized_bet_output_path="patient/norm_bet_dir/fla_bet_normalized.nii.gz",
7675
)
7776
]
7877

0 commit comments

Comments
 (0)