GETWFDATA
Home ›
Software ›
Manual Pages ›
GETWFDATA
Section: User Commands (1)
Updated:
Index
Return to Main Contents
NAME
getwfdata - generate an ASCII dump of waveforms with downsampling
SYNOPSIS
getwfdata
[-h]
[-ffreq]
[-rstart,end]
runfile
wfnum ...
>
output.csv
DESCRIPTION
Getwfdata
dumps out the data of one or more waveforms from a
runfile,
as comma-separated ASCII values.
The
runfile
argument, which must be specified, gives the name of the run file or
analysis parameter file for the run of data to be dumped.
One or more
wfnum
arguments give the waveform numbers for the waveforms to be dumped.
The output goes to the standard output, which should be redirected to a file.
A file name suffix of
.csv
is recommended for this output file.
Output values are in
mV
by default, unless another type of units is selected
for A/D sample display in the runfile's analysis parameters.
Options
- -h
-
Specifies that an extra header should be added to the output file,
showing the time range and frequency requested or assumed.
- -ffreq
-
Specifies the frequency to which you want the data to be downsampled.
By default, it will output all data at the effective sampling rate of the
first waveform specified.
- -rstart,end
-
Specifies the start and end time in the
runfile,
in seconds.
The default is the whole run, or whatever analysis range is selected in
the analysis parameters.
To override any analysis range set in the parameters and ensure the whole
run is dumped, you can specify
-r0,max
or
-rall.
- --help
-
Causes the program to output a summary of command usage and options.
EXAMPLES
- getwfdata -f10 apjedro4damp02 5 6 > apj402-56.csv
-
Extract waveforms 5 and 6 from a runfile at a sample frequency of 10 Hz.
- getwfdata -r0,20s apjedro4damp02 7 > apj402-7.csv
-
Extract first 20 seconds of waveform 7 at its full rate.
SEE ALSO
analysis(1),
dumprun(1),
crosscorr(1)
- http://www.scrc.umanitoba.ca/doc/tutorial/tutorial_14.html
-
for more examples using getwfdata in a cross-correlation analysis.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- Options
-
- EXAMPLES
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 17:58:04 GMT, February 20, 2019
Copyright © G. R. Detillieux,
Spinal Cord Research Centre,
The University of Manitoba.