Skip to contents

n_maxmin determines the largest radial order (n) among all the min(n, L)

Usage

n_maxmin(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 single numeric value

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

n_min <- n_maxmin(df_oscillations)
#> Error in eval(expr, envir, enclos): object 'df_oscillations' not found

if (FALSE) {
  n_maxmin(df_olscillations)
}