pyrfu.mms.estimate_phase_speed module#
- pyrfu.mms.estimate_phase_speed.estimate_phase_speed(f_k_power, freq, k, f_min: float = 100.0)[source]#
Simple function to estimate the phase speed from the frequency wave number power spectrum. Fits \(f = v k/ 2 \\pi\) to the power spectrum.
- Parameters:
f_k_power (ndarray) – 2D array of powers.
freq (ndarray) – 1D array of frequencies.
k (ndarray) – 1D array of wave numbers.
f_min (float, Optional) – Set low frequency threshold of points used to estimate the speed. Default
f_min
= 100.
- Returns:
vph – Estimated phase speed by fitting linear dispersion relation to data.
- Return type:
Notes
Draft version but seems to work well. Does not yet handle multiple modes in the same power spectrum.
See also
pyrfu.mms.fk_power_spectrum
Calculates the frequency-wave number power spectrum
pyrfu.mms.probe_align_times
Returns times when f-a electrostatic waves can be characterized.