solarspatialtools.signalproc.apply_delay
- solarspatialtools.signalproc.apply_delay(tf, delay)
Apply a time delay to a transfer function. This is equivalent to rotating the phase as a linear function of frequency.
- To compare with a unity transfer function, consider:
apply_delay(tf * 0 + 1, delay)
Parameters
- tfpd.DataFrame
The transfer function, produced by signalproc.averaged_tf. The index must contain the frequency in Hz.
- delayfloat
The delay to apply to the transfer function. Units are in seconds.
Returns
- tfpd.DataFrame
A copy of the transfer function with the delay applied in rotating the phase.