solarspatialtools.signalproc.interp_tf
- solarspatialtools.signalproc.interp_tf(new_freq, input_tf)
Interpolate a transfer function in the frequency domain by magnitude and phase independently. This is necessary because the complex interpolation doesn’t really do the job on its own.
Parameters
- new_freqnp.array or pd.Index
The new frequency index to interpolate onto.
- input_tfpd.Series or pd.DataFrame
The transfer function to be interpolated
Returns
- interp_tfpd.Series or pd.DataFrame
The transfer function interpolated to the new frequency axis. Type will match the type of the input.