123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- # 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: 'LENS'
- # 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: 11 # in s
- PLOT_CHANNELS: [2020, 3030, 4040] # int or None. default 'None' -> randomly selected
- PLOT_FORMAT: 'png'
- # DETECTION BLOCK
- #################
- # Available Blocks: 'threshold', 'hilbert_phase', 'minima'
- DETECTION_BLOCK: minima
- # TRIGGER FILTER
- #################
- # Available Blocks: 'remove_short_states'
- TRIGGER_FILTER: []
- # 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*SIGMA_FACTOR
- # DoubleGaussian: Fits two Gaussians, threshold = central minima, or if no second peak mean1 + sigma1*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 closer than
- # the sum of UP and DOWN durations.
- MIN_UP_DURATION: 0.005
- MIN_DOWN_DURATION: 0.005
- # If true, short down states are removed first, merging the neighbouring up states.
- # Only then the remaining short up states are removed.
- # Applies only when down transitions are detected.
- REMOVE_DOWN_FIRST: True
|