Skip to content
16 changes: 9 additions & 7 deletions src/RespFlow/access_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ def make_paths(root: str | None = None, raw: str | None = None) -> dict[str, str
# Create dictionary
path_names = {
'raw':raw,
'detrend':os.path.join(root, '2_detrend'),
'bandpass':os.path.join(root, '3_bandpass'),
'fwr':os.path.join(root, '4_fwr'),
'screened':os.path.join(root, '5_screened'),
'filled':os.path.join(root, '6_filled'),
'smooth':os.path.join(root, '7_smoothed'),
'feature':os.path.join(root, '8_feature')
'hard_fault':os.path.join(root, '2_hard_fault'),
'detrend':os.path.join(root, '3_detrend'),
'micro_interp':os.path.join(root, '4_micro_interp'),
'bandpass':os.path.join(root, '5_bandpass'),
'fwr':os.path.join(root, '6_fwr'),
'screened':os.path.join(root, '7_screened'),
'filled':os.path.join(root, '8_filled'),
'smooth':os.path.join(root, '9_smoothed'),
'feature':os.path.join(root, '10_feature')
}

# Create folders
Expand Down
2 changes: 1 addition & 1 deletion src/RespFlow/plot_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def plot_dashboard(mapped_files : dict[str, str], max_points=10000) -> None:


# Define all processing stages in order
stages = ['raw', 'detrend', 'bandpass', 'fwr', 'screened', 'filled', 'smooth', 'feature']
stages = ['raw', 'hard_fault', 'detrend', 'micro_interp', 'bandpass', 'fwr', 'screened', 'filled', 'smooth', 'feature']

app = Dash()

Expand Down
Loading