config_LENS|minimatrigger.yaml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # Config file for Stage 3 - Trigger Detection
  2. # Name of stage, must be identical with folder name
  3. STAGE_NAME: 'stage03_trigger_detection'
  4. # The profile name is the key for this parameter configuration. Results are stored in output_path/<PROFILE>/ (output_path is defined in settings.py)
  5. PROFILE: 'LENS'
  6. # Name of the stage output file
  7. STAGE_OUTPUT: 'trigger_times.nix'
  8. # File format in which all intermediate neo objects are stored
  9. NEO_FORMAT: 'nix'
  10. # If True (default), the output file of a stage is created as symbolic link
  11. # to the last block output. If False, a duplicate is created (e.g. for cloud
  12. # application, where sym-links are not supported).
  13. USE_LINK_AS_STAGE_OUTPUT: True
  14. # Plotting parameters
  15. PLOT_TSTART: 0 # in s
  16. PLOT_TSTOP: 11 # in s
  17. PLOT_CHANNELS: [2020, 3030, 4040] # int or None. default 'None' -> randomly selected
  18. PLOT_FORMAT: 'png'
  19. # DETECTION BLOCK
  20. #################
  21. # Available Blocks: 'threshold', 'hilbert_phase', 'minima'
  22. DETECTION_BLOCK: minima
  23. # TRIGGER FILTER
  24. #################
  25. # Available Blocks: 'remove_short_states'
  26. TRIGGER_FILTER: []
  27. # BLOCK - Threshold
  28. ###################
  29. # Thresholding method: 'fixed', 'fitted', 'moment'
  30. THRESHOLD_METHOD: fitted
  31. # Fitting Parameters
  32. # available fit functions: 'HalfGaussian', 'DoubleGaussian'
  33. # FirstGaussian: detects main peak (DOWN), fits Gaussian to left half, set threshold to mean + sigma*SIGMA_FACTOR
  34. # DoubleGaussian: Fits two Gaussians, threshold = central minima, or if no second peak mean1 + sigma1*SIGMA_FACTOR
  35. FIT_FUNCTION: 'DoubleGaussian'
  36. BIN_NUM: 100
  37. # Factor to multiply with the standard deviation
  38. # to determine threshold
  39. SIGMA_FACTOR: 2
  40. # Fixed Parameters
  41. FIXED_THRESHOLD: 0
  42. # Moment Parameters
  43. MOMENT_ORDER: 2
  44. MOMENT_FACTOR: 3
  45. # BLOCK - Hilbert_phase
  46. #######################
  47. # Phase at which to define the upward transition [-pi, 0]
  48. TRANSITION_PHASE: -1.570796
  49. # BLOCK - Minima
  50. ################
  51. # Number of points to be used in the parabolic interpolation
  52. # 0 skips the interpolation (recommended)
  53. NUM_INTERPOLATION_POINTS: 0
  54. # minimum distance between two peaks (s)
  55. MIN_PEAK_DISTANCE: 0.28
  56. # amplitude fraction to set the threshold detecting local maxima
  57. MAXIMA_THRESHOLD_FRACTION: .5
  58. # time window to use to set the threshold detecting local maxima (s)
  59. MAXIMA_THRESHOLD_WINDOW: 3
  60. # minimum time the signal must be increasing after a minima candidate (s)
  61. MINIMA_PERSISTENCE: 0.16
  62. # BLOCK - Remove Short States
  63. #############################
  64. # minimum duration of UP and DOWN states (in s)
  65. # If there are no DOWN transitions, UP transitions are removed closer than
  66. # the sum of UP and DOWN durations.
  67. MIN_UP_DURATION: 0.005
  68. MIN_DOWN_DURATION: 0.005
  69. # If true, short down states are removed first, merging the neighbouring up states.
  70. # Only then the remaining short up states are removed.
  71. # Applies only when down transitions are detected.
  72. REMOVE_DOWN_FIRST: True