specparam.sim.transform.compute_rotation_offset

specparam.sim.transform.compute_rotation_offset(delta_exponent, f_rotation)[source]

Calculate the change in offset from a given rotation.

Parameters:
delta_exponentfloat

The change in aperiodic exponent value.

f_rotationfloat

The frequency value, in Hz, where rotation is applied.

Returns:
float

The amount the offset will change for the specified exponent change.

Examples

Calculate the induced change in offset of a change in exponent of 0.5 at 25 Hz:

>>> delta_offset = compute_rotation_offset(0.5, 25)

Examples using specparam.sim.transform.compute_rotation_offset

Transforming Power Spectra

Transforming Power Spectra