| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
NoiseTerm
Object representing one term in a noise budget/projection. It holds a few parameters and has methods to read data and generate ASD spectrum borrowed from pylal.seriesutils, and simple plotting from pylal.plotutils
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
typemap = {'channel': str, 'frame_type': str, 'name': str, 'su
|
|||
name = Nonehash(x) |
|||
channel = Nonehash(x) |
|||
frame_type = Nonehash(x) |
|||
sum = False
|
|||
data = Nonehash(x) |
|||
deltaT = 0
|
|||
spectrum = Nonehash(x) |
|||
deltaF = 0
|
|||
f0 = 0
|
|||
epoch = seriesutils.lal.LIGOTimeGPS()
|
|||
ref_spectrum = Nonehash(x) |
|||
ref_deltaF = 0
|
|||
ref_f0 = 0
|
|||
ref_epoch = seriesutils.lal.LIGOTimeGPS()
|
|||
|
|||
|
Inherited from |
|||
|
|||
"
Initialise a NoiseTerm.
Keyword arguments:
name : str
description of this NoiseTerm
channel : str
data channel from which this noise term is estimated
frame_type : str
LDR frame type for files containing data for this NoiseTerm
|
Apply a calibration function to the timeseries.
Arguments:
func : callable
any callable function that accepts numpy.array as input
|
Apply the transfer function to the spectrum.
Arguments:
func : [ callable | numpy.array ]
any callable function that accepts numpy.array as input or
array by which to multiply spectrum.
|
Read the reference spectrum from a two-column file of frequency and ASD.
Arguments:
referencefile : str
path to file with space-delimited columns of frequency and ASD
Keyword arguments:
epoch : lal.LIGOTimeGPS
GPS epoch of this reference
sampleUnits : lal.LALUnit
amplitude unit for reference spectrum
fcol : int
number of column holding frequency array, default 0
acol : int
number of column holding amplitude array, default 1
|
Restrict the spectrum for this NoiseTerm to the given semiopen
[fmin, fmax) interval.
Arguments:
fmin : float
minimum frequency for this NoiseTerm
fmax : float
maximum frequency for this NoiseTerm
|
Plot the spectrum of this NoiseTerm.
Arguments:
outfile : str
path to output file for this plot
|
|
|||
typemap
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 12 01:21:42 2017 | http://epydoc.sourceforge.net |