Skip to content

Commit

Permalink
Removing DC61 code and data
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Apr 12, 2024
1 parent 54d04b8 commit 35ab05f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 912 deletions.
2 changes: 1 addition & 1 deletion narps_open/pipelines/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
'B5I6': 'PipelineTeamB5I6',
'C22U': None,
'C88N': 'PipelineTeamC88N',
'DC61': 'PipelineTeamDC61',
'DC61': None,
'E3B6': None,
'E6R3': None,
'I07H': None,
Expand Down
10 changes: 0 additions & 10 deletions narps_open/pipelines/team_B5I6.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,26 +158,16 @@ def get_confounds_file(filepath, subject_id, run_id):

# Compute outliers of `non-stdDVARS`
dvars_outliers = array(data_frame['non-stdDVARS'])
print(dvars_outliers)

percentile_75 = nanpercentile(dvars_outliers, 75)
interquartile_range = percentile_75 - nanpercentile(dvars_outliers, 25)
dvars_outliers = (dvars_outliers > (percentile_75 + 1.5 * interquartile_range)).astype(int)

print(dvars_outliers)
print(percentile_75 + 1.5 * interquartile_range)

# Compute outliers of `FramewiseDisplacement`
fd_outliers = array(data_frame['FramewiseDisplacement'])
print(fd_outliers)

percentile_75 = nanpercentile(fd_outliers, 75)
interquartile_range = percentile_75 - nanpercentile(fd_outliers, 25)
fd_outliers = (fd_outliers > (percentile_75 + 1.5 * interquartile_range)).astype(int)

print(fd_outliers)
print(percentile_75 + 1.5 * interquartile_range)

# Build an outlier regressor
outlier_regressor = fd_outliers | dvars_outliers

Expand Down
Loading

0 comments on commit 35ab05f

Please sign in to comment.