Skip to contents

s_sep calculates the small frequency separation

Usage

s_sep(model.df, L)

Arguments

model.df

DataFrame

L

Scalar. Lowest degree for which the large separation is calculated

Value

A vector containing the large separation for the given L

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

ss = nu_b - nu_a

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.

See also

Examples

if (FALSE) {
 my_ss <- l_sep(df_oscillations, 0) #This calculates the ls for radial modes
}
if (FALSE) {
  s_sep(df_olscillations, 0)
}