read_graco: read_graco

View source: R/read_graco.R

read_gracoR Documentation

read_graco

Description

read_graco reads GraCo oscillation files

Usage

read_graco(filename = NULL, header = FALSE)

Arguments

filename

String, scalar. Input GraCo oscillation file

header

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

Details

This function takes one argument, the GraCo 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 P: oscillation period in days Q: oscillation constant NP: number of nodes as P mode NG: number of nodes as G mode

See Also

read_adipls, read_losc, and read_gyre

Examples

myfreqs <- read_graco('/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.