Skip to contents

read_gyre reads GYRE oscillation files

Usage

read_gyre(filename = NULL, header = FALSE)

Arguments

filename

String, scalar. GYRE oscillation file.

header

Logic. If TRUE then header of file is read (default F).

Value

A column-named dataframe containing the following data l: the mode degree npg: the mode radial node np: number of nodes as P mode ng: onumber of nodes as G mode sig: frequency in microHz sigi: imaginary part of the frequency

Details

This function takes one argument, the GYRE file (.txt) to be read with full path. It stores the result in an R dataframe.

See also

read_gyre, read_losc, and read_gyre

Examples

myfreqs <- read_gyre('/myhome/gyrefile.txt')
#> Warning: cannot open file '/myhome/gyrefile.txt': No such file or directory
#> Error in file(file, "rt"): cannot open the connection

if (FALSE) {
  read_gyre('/myhome/gyrefile.txt')
}