s_sep | R Documentation |
s_sep
calculates the small frequency separation
s_sep(model.df, L)
model.df |
DataFrame |
L |
Scalar. Lowest degree for which the large separation is calculated |
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.
A vector containing the large separation for the given L
l_sep
## Not run:
my_ss <- l_sep(df_oscillations, 0) #This calculates the ls for radial modes
## End(Not run)
## Not run:
s_sep(df_olscillations, 0)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.