cogwheel.data.make_asd_func

cogwheel.data.make_asd_func(frequencies, asd)

Interpolate amplitude spectral density as a function of frequency.

Frequencies outside the given range are assigned a large but finite ASD.

Parameters:
frequenciesnumpy.ndarray

Array of frequency values for the ASD.

asdnumpy.ndarray

Array of amplitude spectral density values corresponding to the frequencies.

Returns:
function

A function that interpolates the ASD based on input frequency.