l_range
determines the common L range for all the
oscillation spectrum as
nl_range = (n_min, n_max) & (L_min, L_max)
Usage
nl_range(model.df, mono = F)
Arguments
- model.df
dataframe
- mono
logical option (default FALSE) to calculate minimum n value
from which the n vector is monotonic (i.e. diff(n)=1).
Value
It returns a vector with c(l_min, l_max, n_min, n_max)
Details
This function takes one argument, a dataframe with the synthetic oscillation
spectra read from read_graco, read_adipls, read_gyre, or read_losc.
Examples
range <- nl_range(df_oscillations)
#> Error in eval(expr, envir, enclos): object 'df_oscillations' not found
if (FALSE) {
nl_range(df_oscillations)
}