s_sep: s_sep

View source: R/s_sep.R

s_sepR Documentation

s_sep

Description

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

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.

Value

A vector containing the large separation for the given L

See Also

l_sep

Examples

## 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)


juancasy/tostada documentation built on March 13, 2024, 10:57 p.m.