Skip to contents

read_filou reads FILOU oscillation files

Usage

read_filou(filename = NULL)

Arguments

filename

String, scalar. Input FILOU oscillation file (.frq)

Value

A column-named dataframe containing the following data l: (integer) mode degree n: (integer) mode radial node w2: (double float) squared oscillation frequency normalized to GMR sig: (double float) oscillation frequency in microHz fc: (integer) Id of the mode with which is coupled No: Mode Id pc: (double float) coupling coefficient I: (double float) mode inertia

    All data included in file header is stored as attributes. To see all
    attributes use:
           attributes(yourobject)
    To select one particular attribute use
           attr(yourobject, "name-of-attribute")

Details

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

Examples

myfreqs <- read_filou('/myhome/filoufile.frq')
#> Warning: cannot open file '/myhome/filoufile.frq': No such file or directory
#> Error in file(file, "r"): cannot open the connection

if (FALSE) {
  read_filou('/myhome/filoufile.frq')
}