read_adipls: read_adipls

View source: R/read_adipls.R

read_adiplsR Documentation

read_adipls

Description

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

Details

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

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

See Also

read_graco, read_losc, and read_gyre

Examples

myfreqs <- read_adipls('/myhome/gracofile.dat')

## Not run: 
  read_graco('/myhome/gracofile.dat')

## End(Not run)

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