From 9a687728f3b55a6264e4552a8f42c1b634f4679d Mon Sep 17 00:00:00 2001 From: cosimolupo Date: Wed, 20 Mar 2024 15:19:23 +0100 Subject: [PATCH 1/4] Updates the PR according to the presence of robust_t novel function in neo_utils --- cobrawap/pipeline/configs/config_template.yaml | 4 ++-- .../stage01_data_entry/configs/config_template.yaml | 4 ++-- cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py | 6 +++--- .../stage02_processing/configs/config_template.yaml | 4 ++-- .../stage03_trigger_detection/configs/config_template.yaml | 4 ++-- .../stage04_wave_detection/configs/config_template.yaml | 4 ++-- .../configs/config_template.yaml | 4 ++-- .../configs/config_template.yaml | 4 ++-- .../pipeline/stageXY_template/configs/config_template.yaml | 4 ++-- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/cobrawap/pipeline/configs/config_template.yaml b/cobrawap/pipeline/configs/config_template.yaml index 5a5aec1c..ed91ed9f 100644 --- a/cobrawap/pipeline/configs/config_template.yaml +++ b/cobrawap/pipeline/configs/config_template.yaml @@ -19,8 +19,8 @@ NEO_FORMAT: 'nix' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # in s -PLOT_TSTOP: 10 # in s +PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected # Note that when using the None option, the automatic creation of reports will fail PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage01_data_entry/configs/config_template.yaml b/cobrawap/pipeline/stage01_data_entry/configs/config_template.yaml index 3618f310..f54187d8 100644 --- a/cobrawap/pipeline/stage01_data_entry/configs/config_template.yaml +++ b/cobrawap/pipeline/stage01_data_entry/configs/config_template.yaml @@ -69,7 +69,7 @@ KWARGS: 'None' # Plotting parameters # These parameters are used to create an example plot to get a first view # on the signals and ensure that the data was loaded and annotated correctly -PLOT_TSTART: 0 # in s -PLOT_TSTOP: 10 # in s +PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used PLOT_CHANNELS: 'None' # int, or list of int, or 'None' -> randomly chosen channel PLOT_FORMAT: 'png' # file extension for storing the plot diff --git a/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py b/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py index 6e4c9ead..b468b1cb 100644 --- a/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py +++ b/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py @@ -9,16 +9,16 @@ import seaborn as sns from utils.io_utils import load_neo, save_plot from utils.neo_utils import time_slice -from utils.parse import parse_plot_channels, none_or_int +from utils.parse import parse_plot_channels, none_or_int, none_or_float CLI = argparse.ArgumentParser() CLI.add_argument("--data", nargs='?', type=Path, required=True, help="path to input data in neo format") CLI.add_argument("--output", nargs='?', type=Path, required=True, help="path of output figure") -CLI.add_argument("--t_start", nargs='?', type=float, default=0, +CLI.add_argument("--t_start", nargs='?', type=none_or_float, default=0, help="start time in seconds") -CLI.add_argument("--t_stop", nargs='?', type=float, default=10, +CLI.add_argument("--t_stop", nargs='?', type=none_or_float, default=10, help="stop time in seconds") CLI.add_argument("--channels", nargs='+', type=none_or_int, default=0, help="list of channels to plot") diff --git a/cobrawap/pipeline/stage02_processing/configs/config_template.yaml b/cobrawap/pipeline/stage02_processing/configs/config_template.yaml index 8e99217e..c50eeedb 100644 --- a/cobrawap/pipeline/stage02_processing/configs/config_template.yaml +++ b/cobrawap/pipeline/stage02_processing/configs/config_template.yaml @@ -18,8 +18,8 @@ NEO_FORMAT: 'nix' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # in s -PLOT_TSTOP: 10 # in s +PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage03_trigger_detection/configs/config_template.yaml b/cobrawap/pipeline/stage03_trigger_detection/configs/config_template.yaml index 20d8fefe..9ade19a3 100644 --- a/cobrawap/pipeline/stage03_trigger_detection/configs/config_template.yaml +++ b/cobrawap/pipeline/stage03_trigger_detection/configs/config_template.yaml @@ -18,8 +18,8 @@ NEO_FORMAT: 'nix' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # in s -PLOT_TSTOP: 10 # in s +PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage04_wave_detection/configs/config_template.yaml b/cobrawap/pipeline/stage04_wave_detection/configs/config_template.yaml index 6e9d4789..2545df04 100644 --- a/cobrawap/pipeline/stage04_wave_detection/configs/config_template.yaml +++ b/cobrawap/pipeline/stage04_wave_detection/configs/config_template.yaml @@ -18,8 +18,8 @@ NEO_FORMAT: 'nix' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # in s -PLOT_TSTOP: 10 # in s +PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage05_channel_wave_characterization/configs/config_template.yaml b/cobrawap/pipeline/stage05_channel_wave_characterization/configs/config_template.yaml index b9ebc0c5..9c8b26f2 100644 --- a/cobrawap/pipeline/stage05_channel_wave_characterization/configs/config_template.yaml +++ b/cobrawap/pipeline/stage05_channel_wave_characterization/configs/config_template.yaml @@ -15,8 +15,8 @@ STAGE_OUTPUT: 'channel-wise_measures.csv' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # in s -PLOT_TSTOP: 10 # in s +PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage05_wave_characterization/configs/config_template.yaml b/cobrawap/pipeline/stage05_wave_characterization/configs/config_template.yaml index a9320a93..c4c77507 100644 --- a/cobrawap/pipeline/stage05_wave_characterization/configs/config_template.yaml +++ b/cobrawap/pipeline/stage05_wave_characterization/configs/config_template.yaml @@ -15,8 +15,8 @@ STAGE_OUTPUT: 'wave-wise_measures.csv' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # in s -PLOT_TSTOP: 10 # in s +PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stageXY_template/configs/config_template.yaml b/cobrawap/pipeline/stageXY_template/configs/config_template.yaml index 2f1e2822..90eb4617 100644 --- a/cobrawap/pipeline/stageXY_template/configs/config_template.yaml +++ b/cobrawap/pipeline/stageXY_template/configs/config_template.yaml @@ -20,7 +20,7 @@ OFFSET: 20 A: 'a' # Plotting parameters -PLOT_TSTART: 0 # in s -PLOT_TSTOP: 10 # in s +PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' From 19bab7c49d438a1419360160bb5a3cd5de999c5d Mon Sep 17 00:00:00 2001 From: cosimolupo Date: Wed, 20 Mar 2024 15:34:12 +0100 Subject: [PATCH 2/4] Adding "None" as a permitted value in all plotting scripts --- .../pipeline/stage02_processing/scripts/logMUA_estimation.py | 4 ++-- .../stage02_processing/scripts/plot_processed_trace.py | 5 +++-- .../pipeline/stage04_wave_detection/scripts/time_slice.py | 5 +++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py b/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py index ba9e91fd..95254a2f 100644 --- a/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py +++ b/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py @@ -37,9 +37,9 @@ help="overlap parameter for Welch's algorithm [0-1]") CLI.add_argument("--fft_slice", nargs='?', type=none_or_float, default=None, help="time window length used for power spectrum estimate, in s") -CLI.add_argument("--plot_tstart", nargs='?', type=float, default=0, +CLI.add_argument("--plot_tstart", nargs='?', type=none_or_float, default=0, help="start time in seconds") -CLI.add_argument("--plot_tstop", nargs='?', type=float, default=10, +CLI.add_argument("--plot_tstop", nargs='?', type=none_or_float, default=10, help="stop time in seconds") CLI.add_argument("--plot_channels", nargs='+', type=none_or_int, default=None, help="list of channels to plot") diff --git a/cobrawap/pipeline/stage02_processing/scripts/plot_processed_trace.py b/cobrawap/pipeline/stage02_processing/scripts/plot_processed_trace.py index 26bcbc6d..8de32015 100644 --- a/cobrawap/pipeline/stage02_processing/scripts/plot_processed_trace.py +++ b/cobrawap/pipeline/stage02_processing/scripts/plot_processed_trace.py @@ -8,6 +8,7 @@ import os from utils.io_utils import load_neo, save_plot from utils.neo_utils import time_slice +from utils.parse import none_or_float CLI = argparse.ArgumentParser() CLI.add_argument("--original_data", nargs='?', type=str, required=True, @@ -19,9 +20,9 @@ CLI.add_argument("--img_name", nargs='?', type=str, default='processed_trace_channel0.png', help='example filename for channel 0') -CLI.add_argument("--t_start", nargs='?', type=float, default=0, +CLI.add_argument("--t_start", nargs='?', type=none_or_float, default=0, help="start time in seconds") -CLI.add_argument("--t_stop", nargs='?', type=float, default=10, +CLI.add_argument("--t_stop", nargs='?', type=none_or_float, default=10, help="stop time in seconds") CLI.add_argument("--channels", nargs='+', type=int, default=0, help="channel to plot") diff --git a/cobrawap/pipeline/stage04_wave_detection/scripts/time_slice.py b/cobrawap/pipeline/stage04_wave_detection/scripts/time_slice.py index af9143ae..49f565c1 100644 --- a/cobrawap/pipeline/stage04_wave_detection/scripts/time_slice.py +++ b/cobrawap/pipeline/stage04_wave_detection/scripts/time_slice.py @@ -6,15 +6,16 @@ import quantities as pq from utils.io_utils import load_neo, write_neo from utils.neo_utils import time_slice +from utils.parse import none_or_float CLI = argparse.ArgumentParser() CLI.add_argument("--data", nargs='?', type=str, required=True, help="path to input data in neo format") CLI.add_argument("--output", nargs='?', type=str, required=True, help="path of output file") -CLI.add_argument("--t_start", nargs='?', type=float, default=0, +CLI.add_argument("--t_start", nargs='?', type=none_or_float, default=0, help="new starting time in s") -CLI.add_argument("--t_stop", nargs='?', type=float, default=10, +CLI.add_argument("--t_stop", nargs='?', type=none_or_float, default=10, help="new stopping time in s") if __name__ == '__main__': From 991ea3903c3b058e4a04d6ce2e54fd390ed5321a Mon Sep 17 00:00:00 2001 From: cosimolupo Date: Fri, 22 Mar 2024 12:02:58 +0100 Subject: [PATCH 3/4] Minor change in config template files --- cobrawap/pipeline/configs/config_template.yaml | 4 ++-- .../pipeline/stage01_data_entry/configs/config_template.yaml | 4 ++-- .../pipeline/stage02_processing/configs/config_template.yaml | 4 ++-- .../stage03_trigger_detection/configs/config_template.yaml | 4 ++-- .../stage04_wave_detection/configs/config_template.yaml | 4 ++-- .../configs/config_template.yaml | 4 ++-- .../configs/config_template.yaml | 4 ++-- .../pipeline/stageXY_template/configs/config_template.yaml | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/cobrawap/pipeline/configs/config_template.yaml b/cobrawap/pipeline/configs/config_template.yaml index ed91ed9f..655e7bfd 100644 --- a/cobrawap/pipeline/configs/config_template.yaml +++ b/cobrawap/pipeline/configs/config_template.yaml @@ -19,8 +19,8 @@ NEO_FORMAT: 'nix' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used -PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used +PLOT_TSTART: 0 # float (in s) or 'None' -> starting time of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> stopping time of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected # Note that when using the None option, the automatic creation of reports will fail PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage01_data_entry/configs/config_template.yaml b/cobrawap/pipeline/stage01_data_entry/configs/config_template.yaml index f54187d8..68f16893 100644 --- a/cobrawap/pipeline/stage01_data_entry/configs/config_template.yaml +++ b/cobrawap/pipeline/stage01_data_entry/configs/config_template.yaml @@ -69,7 +69,7 @@ KWARGS: 'None' # Plotting parameters # These parameters are used to create an example plot to get a first view # on the signals and ensure that the data was loaded and annotated correctly -PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used -PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used +PLOT_TSTART: 0 # float (in s) or 'None' -> starting time of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> stopping time of the input signal is used PLOT_CHANNELS: 'None' # int, or list of int, or 'None' -> randomly chosen channel PLOT_FORMAT: 'png' # file extension for storing the plot diff --git a/cobrawap/pipeline/stage02_processing/configs/config_template.yaml b/cobrawap/pipeline/stage02_processing/configs/config_template.yaml index c50eeedb..ef5fb270 100644 --- a/cobrawap/pipeline/stage02_processing/configs/config_template.yaml +++ b/cobrawap/pipeline/stage02_processing/configs/config_template.yaml @@ -18,8 +18,8 @@ NEO_FORMAT: 'nix' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used -PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used +PLOT_TSTART: 0 # float (in s) or 'None' -> starting time of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> stopping time of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage03_trigger_detection/configs/config_template.yaml b/cobrawap/pipeline/stage03_trigger_detection/configs/config_template.yaml index 9ade19a3..6c55e5b3 100644 --- a/cobrawap/pipeline/stage03_trigger_detection/configs/config_template.yaml +++ b/cobrawap/pipeline/stage03_trigger_detection/configs/config_template.yaml @@ -18,8 +18,8 @@ NEO_FORMAT: 'nix' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used -PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used +PLOT_TSTART: 0 # float (in s) or 'None' -> starting time of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> stopping time of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage04_wave_detection/configs/config_template.yaml b/cobrawap/pipeline/stage04_wave_detection/configs/config_template.yaml index 2545df04..f249bbb5 100644 --- a/cobrawap/pipeline/stage04_wave_detection/configs/config_template.yaml +++ b/cobrawap/pipeline/stage04_wave_detection/configs/config_template.yaml @@ -18,8 +18,8 @@ NEO_FORMAT: 'nix' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used -PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used +PLOT_TSTART: 0 # float (in s) or 'None' -> starting time of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> stopping time of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage05_channel_wave_characterization/configs/config_template.yaml b/cobrawap/pipeline/stage05_channel_wave_characterization/configs/config_template.yaml index 9c8b26f2..0d73ed6c 100644 --- a/cobrawap/pipeline/stage05_channel_wave_characterization/configs/config_template.yaml +++ b/cobrawap/pipeline/stage05_channel_wave_characterization/configs/config_template.yaml @@ -15,8 +15,8 @@ STAGE_OUTPUT: 'channel-wise_measures.csv' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used -PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used +PLOT_TSTART: 0 # float (in s) or 'None' -> starting time of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> stopping time of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stage05_wave_characterization/configs/config_template.yaml b/cobrawap/pipeline/stage05_wave_characterization/configs/config_template.yaml index c4c77507..ac508eb0 100644 --- a/cobrawap/pipeline/stage05_wave_characterization/configs/config_template.yaml +++ b/cobrawap/pipeline/stage05_wave_characterization/configs/config_template.yaml @@ -15,8 +15,8 @@ STAGE_OUTPUT: 'wave-wise_measures.csv' USE_LINK_AS_STAGE_OUTPUT: True # Plotting parameters -PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used -PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used +PLOT_TSTART: 0 # float (in s) or 'None' -> starting time of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> stopping time of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' diff --git a/cobrawap/pipeline/stageXY_template/configs/config_template.yaml b/cobrawap/pipeline/stageXY_template/configs/config_template.yaml index 90eb4617..0d95e32b 100644 --- a/cobrawap/pipeline/stageXY_template/configs/config_template.yaml +++ b/cobrawap/pipeline/stageXY_template/configs/config_template.yaml @@ -20,7 +20,7 @@ OFFSET: 20 A: 'a' # Plotting parameters -PLOT_TSTART: 0 # float (in s) or 'None' -> T_START of the input signal is used -PLOT_TSTOP: 10 # float (in s) or 'None' -> T_STOP of the input signal is used +PLOT_TSTART: 0 # float (in s) or 'None' -> starting time of the input signal is used +PLOT_TSTOP: 10 # float (in s) or 'None' -> stopping time of the input signal is used PLOT_CHANNELS: 'None' # int or None. default 'None' -> randomly selected PLOT_FORMAT: 'png' From 3ff1ad7fd1b867a60a168066fae086d4c514a8cc Mon Sep 17 00:00:00 2001 From: cosimolupo Date: Fri, 22 Mar 2024 16:48:21 +0100 Subject: [PATCH 4/4] Fix for extra spacings added when merging PR #61 --- cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py | 6 +++--- .../stage02_processing/scripts/logMUA_estimation.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py b/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py index adee0cfd..50e5facd 100644 --- a/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py +++ b/cobrawap/pipeline/stage01_data_entry/scripts/plot_traces.py @@ -12,13 +12,13 @@ from utils.parse import parse_plot_channels, none_or_int, none_or_float CLI = argparse.ArgumentParser() -CLI.add_argument("--data", nargs='?', type=Path, required=True, +CLI.add_argument("--data", nargs='?', type=Path, required=True, help="path to input data in neo format") -CLI.add_argument("--output", nargs='?', type=Path, required=True, +CLI.add_argument("--output", nargs='?', type=Path, required=True, help="path of output figure") CLI.add_argument("--t_start", nargs='?', type=none_or_float, default=0, help="start time in seconds") -CLI.add_argument("--t_stop", nargs='?', type=none_or_float, default=10, +CLI.add_argument("--t_stop", nargs='?', type=none_or_float, default=10, help="stop time in seconds") CLI.add_argument("--channels", nargs='+', type=none_or_int, default=0, help="list of channels to plot") diff --git a/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py b/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py index e381ce6b..b53824e6 100644 --- a/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py +++ b/cobrawap/pipeline/stage02_processing/scripts/logMUA_estimation.py @@ -39,7 +39,7 @@ help="time window length used for power spectrum estimate, in s") CLI.add_argument("--plot_tstart", nargs='?', type=none_or_float, default=0, help="start time in seconds") -CLI.add_argument("--plot_tstop", nargs='?', type=none_or_float, default=10, +CLI.add_argument("--plot_tstop", nargs='?', type=none_or_float, default=10, help="stop time in seconds") CLI.add_argument("--plot_channels", nargs='+', type=none_or_int, default=None, help="list of channels to plot")