data_operations.asd_func#
Back to Module page
Summary#
Returns function that takes frequencies in Hz and gives the interpolated ASD in units of 1/Hz^0.5
Signature#
def asd_func(fint, psdint, fmin = None, fmax = None)
Name |
Type |
Default |
Description |
|---|---|---|---|
|
Array with list of sampled frequencies |
||
|
Array with list of computed PSDs |
||
|
None |
Blow up PSDs below fmin due to lack of calibration (None if no fmin) |
|
|
None |
Blow up PSDs above fmax to avoid features in the measured PSD (Pass None if no fmax) |
Output variables#
Return annotation |
Docstring type |
Description |
|---|---|---|
|
Function that takes frequencies and returns ASDs by linearly interpolating the PSDs |
Docstring#
Returns function that takes frequencies in Hz and gives the interpolated
ASD in units of 1/Hz^0.5
:param fint: Array with list of sampled frequencies
:param psdint: Array with list of computed PSDs
:param fmin: Blow up PSDs below fmin due to lack of calibration (None if no
fmin)
:param fmax: Blow up PSDs above fmax to avoid features in the measured PSD
(Pass None if no fmax)
:return: Function that takes frequencies and returns ASDs by linearly
interpolating the PSDs