HDF_NEP : Compute NEP for HDF5 X-ray and noise files.¶
Pipeline script for computing of NEP’s from HDF5 X-ray and noise files.
usage:
HDF_NEP [-h] [-d] [-lf] [-c CUTOFF] [-x XEXCLUDE] [-n NINCLUDE] [-a]
[-ch CHANNEL] [-f FREQUENCY] [--pdf] [--noise] [-sum] [-ip]
[-rot] [--ascii] dir
Compute NEP for specified X-ray file and accompanying noise file
positional arguments:
dir Directory of x-ray and noise data HDF5 file(s), or
x-ray file
optional arguments:
-h, --help show this help message and exit
-d, --diag Show diagnostices output and plots
-lf, --logfreq Logarithmic scale for any frequency axis
-c CUTOFF, --cutoff CUTOFF
Cuttoff frequency in Hz for computation of NEP
-x XEXCLUDE, --xexclude XEXCLUDE
Fraction of pulses, sorted on intergrated maximum, to
exclude. Aim is to exclude double pulses
-n NINCLUDE, --ninclude NINCLUDE
Fraction of lowest noise records to include.aim to to
exclude data record with drifts
-a, --all process all files in current or given directory
-ch CHANNEL, --channel CHANNEL
Channel number to use. Default is first available
channel. "all" for all channels
-f FREQUENCY, --frequency FREQUENCY
Frequency number to use. Default is first available
frequency. "all" for all frequencies
--pdf Output pdf files of plots
--noise Ask for noise file (only applicable when "--all" is
not set)
-sum, --summary Write ASCII summary file of results
-ip, --ignoreposition If set, also use pulses outside trigger position
-rot, --rotate rotate for minimum Q, based on average phase of
max 100 records
--dtype convert records to I-Q when datatype is "ampl-phase"
--prlen PRLEN Set processing record length (factor of 2). Must be
smaller or equal real length
--prclip {start,end} clip record at start or end when length is larger than
processing length
--ascii write ASCII output files for averaged pulse and
pulse/noise spectra and NEP