get_confusion_noise

legwork.psd.get_confusion_noise(f, model, t_obs='auto')[source]

Calculate the confusion noise for a particular model

Parameters
ffloat/array

Frequencies at which to calculate the confusion noise, must have units of frequency

modelstr, optional

Which model to use for the confusion noise. Must be one of ‘robson19’, ‘huang20’, ‘thiele21’ or None.

t_obsfloat, optional

Mission length. Default is 4 years for robson19 and thiele21 and 5 years for huang20.

Returns
confusion_noisefloat/array

The confusion noise at each frequency.

Raises
ValueError

When a model other than those defined above is used.