config_IDIBAPS|25Hz.yaml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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'
  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',
  25. 'logMUA_estimation', '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: 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