working_config.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # Config file for Stage 2 - Processing
  2. # Name of stage, must be identical with folder name
  3. STAGE_NAME: stage02_processing
  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 output file
  7. STAGE_OUTPUT: processed_data.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, 2, 3] # int or None. default 'None' -> randomly selected
  18. PLOT_FORMAT: png
  19. # The block order determines which processing steps (blocks) will be applied
  20. # and in which order. Execution order is from first to last entry.
  21. # The available blocks are:
  22. # 'background_subtraction', 'frequency_filter', 'normalization', 'detrending',
  23. # 'roi_selection', 'logMUA_estimation', 'phase_transform', 'zscore'
  24. BLOCK_ORDER: [background_subtraction, detrending, normalization, logMUA_estimation,
  25. zscore]
  26. # To make sure that the processing blocks are always executed in the correct
  27. # order that results from previous runs don't confound the workflow, all blocks
  28. # are rerun upon each execution. To turn this off, e.g., because the block order
  29. # didn't change, set to False (do with care!).
  30. RERUN_MODE: false
  31. # BLOCK - background_subtraction
  32. #################################
  33. # No parameters needed
  34. # BLOCK - spatial_smoothig
  35. #################################
  36. MACRO_PIXEL_DIM: 2
  37. # BLOCK - normalization
  38. #######################
  39. # Normalize the data (divide channels-wise) by either:
  40. # 'mean', 'median', 'max'
  41. NORMALIZE_BY: max
  42. # BLOCK - frequency_filter
  43. ##########################
  44. # parameters to be passed to the butterworth frequency filter
  45. # function by elephant
  46. HIGHPASS_FREQUENCY: 200 # in Hz
  47. LOWPASS_FREQUENCY: 1500 # in Hz
  48. FILTER_ORDER: 2
  49. # filter function used in scipy backend.
  50. # options: ‘filtfilt’, 'lfilter’, ‘sosfiltfilt’
  51. FILTER_FUNCTION: sosfiltfilt
  52. # Plotting parameters for the power spectrum
  53. PSD_FREQUENCY_RESOLUTION: 5 # in Hz
  54. PSD_OVERLAP: 0.5
  55. # BLOCK - detrending
  56. ####################
  57. # Detrending: 0 - mean detrending;
  58. # 1 - mean and slope detrending (linear): this should be the default.
  59. DETRENDING_ORDER: 1
  60. # BLOCK - img_roi_selection
  61. ###########################
  62. # Threshold below which the pixels are discarded (set to nan).
  63. # Given in percent of the range between minimum and maximum intensity.
  64. INTENSITY_THRESHOLD: 0.5
  65. # BLOCK - logMUA_estimation
  66. ########################
  67. MUA_HIGHPASS_FREQUENCY: 200 # in Hz
  68. MUA_LOWPASS_FREQUENCY: 1500 # in Hz
  69. # Rate of the logMUA signal. Must be <= the original sampling rate
  70. # in Hz (default: 'None', takes highpass_freq)
  71. logMUA_RATE: 100 #25
  72. # Length of time slice (in s) to estimate the local power spectrum
  73. # default 'None', takes minimum number of samples determined
  74. # by the lower bound of the frequency band
  75. FFT_SLICE: 0.3
  76. # PSD_OVERLAP: determined by setting in block frequency_filter
  77. STAGES:
  78. - stage01_data_entry
  79. - stage02_processing
  80. - stage03_trigger_detection
  81. - stage04_wave_detection
  82. - stage05_wave_characterization
  83. QUALITY: 5
  84. SCALE_X: 720
  85. SCALE_Y: 720
  86. FPS: 18
  87. BITRATE: 20M
  88. FRAME_RATE: None
  89. COLORMAP: twilight
  90. PLOT_EVENT: wavefronts
  91. MARKER_COLOR: r
  92. STAGE_INPUT:
  93. /home/rgutzen/Projects/cobrawap_ms_code/cobrawap_output/IDIBAPS_WBS_WT4/stage01_data_entry/data.nix