endtidalproc
Description:
Inputs:
Outputs:
Usage:
Process a gas trace to generate the endtidal waveform.
usage: endtidalproc [-h] [--isoxygen] [--samplerate FREQ | --sampletime TSTEP]
[--starttime START] [--endtime END] [--thresh PCT]
[--debug]
infilename outfilename
Positional Arguments
- infilename
a text file containing a single gas trace, one timepoint per line
- outfilename
a text file for the interpolated data
Named Arguments
- --isoxygen
Assume the trace is oxygen, fits the bottom of the waveform, not the top.
Default: False
- --samplerate
The sample rate of the input data is FREQ Hz (default is 1Hz).
- --sampletime
The sample rate of the input data is 1/TSTEP Hz (default is 1Hz).
- --starttime
Start plot at START seconds.
Default: -1000000.0
- --endtime
Finish plot at END seconds.
Default: 1000000.0
- --thresh
Amount of fall (or rise) needed, in percent, to recognize a peak (or trough).
Default: 1.0
- --debug
Print additional internal information.
Default: False