s_sep
calculates the small frequency separation
Details
This function takes one argument, a dataframe with the synthetic oscillation spectra read from read_graco, read_adipls, read_gyre, or read_losc, and calculates the small spacing defined as
where nu_b = nu_n,l; nu_a = nu_n-1,l+2
Note that the provided L is the lowest, so the dataframe must contain the frequencies corresponding to L+2 modes.
Examples
if (FALSE) {
my_ss <- l_sep(df_oscillations, 0) #This calculates the ls for radial modes
}
if (FALSE) {
s_sep(df_olscillations, 0)
}