detrending¶
stage02_processing.scripts.detrending
Detrend the signal in each channel by order 0 (constant) or 1 (linear).
usage: detrending [-h] --data [DATA] --output [OUTPUT] [--order [ORDER]]
--img_dir [IMG_DIR] [--img_name [IMG_NAME]]
[--plot_channels PLOT_CHANNELS [PLOT_CHANNELS ...]]
Named Arguments¶
- --data
path to input data in neo format
- --output
path of output file
- --order
detrending order
Default:
1- --img_dir
path of output figure directory
- --img_name
example filename for channel 0
Default:
'processed_trace_channel0.png'- --plot_channels
list of channels to plot