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)
Input variables#

Name

Type

Default

Description

fint

Array with list of sampled frequencies

psdint

Array with list of computed PSDs

fmin

None

Blow up PSDs below fmin due to lack of calibration (None if no fmin)

fmax

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

None

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