Skip to contents

read_adipls reads ADIPLS oscillation files

Usage

read_adipls(filename = NULL, header = FALSE)

Arguments

filename

String, scalar. Input ADIPLS 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 n: the mode radial node w2: squared oscillation frequency normalized to GMR sig: oscillation frequency in microHz E: energy of the mode NP: number of nodes as P mode NG: number of nodes as G mode

Details

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

See also

Examples

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

if (FALSE) {
  read_graco('/myhome/gracofile.dat')
}