123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- # Config file for Stage 3 - Trigger Detection
- # Name of stage, must be identical with folder name
- STAGE_NAME: stage03_trigger_detection
- # The profile name is the key for this parameter configuration. Results are stored in output_path/<PROFILE>/ (output_path is defined in settings.py)
- PROFILE: IDIBAPS_WBS_WT4
- # Name of the stage output file
- STAGE_OUTPUT: trigger_times.nix
- # File format in which all intermediate neo objects are stored
- NEO_FORMAT: nix
- # If True (default), the output file of a stage is created as symbolic link
- # to the last block output. If False, a duplicate is created (e.g. for cloud
- # application, where sym-links are not supported).
- USE_LINK_AS_STAGE_OUTPUT: true
- # Plotting parameters
- PLOT_TSTART: 0 # in s
- PLOT_TSTOP: 10 # in s
- PLOT_CHANNELS: [1, 3, 10, 15] # int or None. default 'None' -> randomly selected
- PLOT_FORMAT: png
- # DETECTION BLOCK
- #################
- # Available Blocks: 'threshold', 'hilbert_phase', 'minima'
- DETECTION_BLOCK: threshold
- # TRIGGER FILTER
- #################
- # Available Blocks: 'remove_short_states'
- TRIGGER_FILTER: [remove_short_states]
- # BLOCK - Threshold
- ###################
- # Thresholding method: 'fixed', 'fitted', 'moment'
- THRESHOLD_METHOD: fitted
- # Fitting Parameters
- # available fit functions: 'HalfGaussian', 'DoubleGaussian'
- # FirstGaussian: detects main peak (DOWN), fits Gaussian to left half, set threshold to mean + sigma x SIGMA_FACTOR
- # DoubleGaussian: Fits two Gaussians, threshold = central minima, or if no second peak mean1 + sigma1 x SIGMA_FACTOR
- FIT_FUNCTION: DoubleGaussian
- BIN_NUM: 100
- # Factor to multiply with the standard deviation
- # to determine threshold
- SIGMA_FACTOR: 2
- # Fixed Parameters
- FIXED_THRESHOLD: 0
- # Moment Parameters
- MOMENT_ORDER: 2
- MOMENT_FACTOR: 3
- # BLOCK - Hilbert_phase
- #######################
- # Phase at which to define the upward transition [-pi, 0]
- TRANSITION_PHASE: -1.570796
- # BLOCK - Minima
- ################
- # Number of points to be used in the parabolic interpolation
- # 0 skips the interpolation (recommended)
- NUM_INTERPOLATION_POINTS: 0
- # minimum distance between two peaks (s)
- MIN_PEAK_DISTANCE: 0.28
- # amplitude fraction to set the threshold detecting local maxima
- MAXIMA_THRESHOLD_FRACTION: .5
- # time window to use to set the threshold detecting local maxima (s)
- MAXIMA_THRESHOLD_WINDOW: 3
- # minimum time the signal must be increasing after a minima candidate (s)
- MINIMA_PERSISTENCE: 0.16
- # BLOCK - Remove Short States
- #############################
- # minimum duration of UP and DOWN states (in s)
- # If there are no DOWN transitions, UP transitions are removed that are closer
- # than the sum of UP and DOWN durations.
- MIN_UP_DURATION: 0.02
- MIN_DOWN_DURATION: 0.2
- # If true, short down states are removed first, merging the neighboring up states.
- # Only then the remaining short up states are removed.
- # Applies only when down transitions are detected.
- REMOVE_DOWN_FIRST: true
- STAGES:
- - stage01_data_entry
- - stage02_processing
- - stage03_trigger_detection
- - stage04_wave_detection
- - stage05_wave_characterization
- QUALITY: 5
- SCALE_X: 720
- SCALE_Y: 720
- FPS: 18
- BITRATE: 20M
- FRAME_RATE: None
- COLORMAP: twilight
- PLOT_EVENT: wavefronts
- MARKER_COLOR: r
- STAGE_INPUT:
- /home/rgutzen/Projects/cobrawap_ms_code/cobrawap_output/IDIBAPS_WBS_WT4/stage02_processing/processed_data.nix
|