Skip to contents

read_losc reads GraCo oscillation files

Usage

read_losc(filename = NULL, header = FALSE)

Arguments

filename

String, scalar. Input LOSC oscillation file

header

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

Value

A column-named dataframe containing the following data n: the mode radial node l: the mode degree sig: oscillation frequency in Hz

Details

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

Examples

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

if (FALSE) {
  read_losc('/myhome/loscfile.dat')
}