working_config.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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: IDIBAPS_WBS_WT4
  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: 10 # in s
  17. PLOT_CHANNELS: [1, 3, 10, 15] # 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: threshold
  23. # TRIGGER FILTER
  24. #################
  25. # Available Blocks: 'remove_short_states'
  26. TRIGGER_FILTER: [remove_short_states]
  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 x SIGMA_FACTOR
  34. # DoubleGaussian: Fits two Gaussians, threshold = central minima, or if no second peak mean1 + sigma1 x 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 that are closer
  66. # than the sum of UP and DOWN durations.
  67. MIN_UP_DURATION: 0.02
  68. MIN_DOWN_DURATION: 0.2
  69. # If true, short down states are removed first, merging the neighboring 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
  73. STAGES:
  74. - stage01_data_entry
  75. - stage02_processing
  76. - stage03_trigger_detection
  77. - stage04_wave_detection
  78. - stage05_wave_characterization
  79. QUALITY: 5
  80. SCALE_X: 720
  81. SCALE_Y: 720
  82. FPS: 18
  83. BITRATE: 20M
  84. FRAME_RATE: None
  85. COLORMAP: twilight
  86. PLOT_EVENT: wavefronts
  87. MARKER_COLOR: r
  88. STAGE_INPUT:
  89. /home/rgutzen/Projects/cobrawap_ms_code/cobrawap_output/IDIBAPS_WBS_WT4/stage02_processing/processed_data.nix