Skip to content

Commit

Permalink
Rerun pipeline with new params
Browse files Browse the repository at this point in the history
  • Loading branch information
IsraMekki0 committed Nov 22, 2023
1 parent 473f839 commit 4c5b009
Show file tree
Hide file tree
Showing 32 changed files with 16 additions and 8 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
0.9746826 0.1823958 0.1293272 2.006546
-0.1904442 0.980279 0.05276459 0.8591887
-0.1171527 -0.07605835 0.9901971 -12.93682
0.9996052 0.008290411 -0.02684693 0.4557816
-0.008523657 0.9999268 -0.008585239 1.334237
0.02677379 0.008810687 0.9996027 -1.209411
0 0 0 1
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.9746826 0.1823958 0.1293272 2.006546
-0.1904442 0.980279 0.05276459 0.8591887
-0.1171527 -0.07605835 0.9901971 -12.93682
0 0 0 1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
0.9996052 0.008290411 -0.02684693 0.4557816
-0.008523657 0.9999268 -0.008585239 1.334237
0.02677379 0.008810687 0.9996027 -1.209411
0 0 0 1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10 changes: 5 additions & 5 deletions example_modality_centric_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def preprocess(inputDir):

# normalizer
percentile_normalizer = PercentileNormalizer(
lower_percentile=0.5,
upper_percentile=99.5,
lower_percentile=0.1,
upper_percentile=99.9,
lower_limit=0,
upper_limit=1,
)
Expand All @@ -63,18 +63,18 @@ def preprocess(inputDir):
modality_name="t1",
input_path=t1File,
output_path=prep_dir + "/" + inputDir.name + "_t1.nii.gz",
bet=False,
bet=True,
normalizer=percentile_normalizer,
),
Modality(
modality_name="t2",
input_path=t2File,
output_path=prep_dir + "/" + inputDir.name + "_t2.nii.gz",
bet=False,
bet=True,
normalizer=percentile_normalizer,
),
Modality(
modality_name="fla",
modality_name="flair",
input_path=flaFile,
output_path=prep_dir + "/" + inputDir.name + "_fla.nii.gz",
bet=True,
Expand Down

0 comments on commit 4c5b009

Please sign in to comment.