GWOLLUM  4.2.0
Tools for gravitational-wave analyses
gwl-txt-to-frame.cc File Reference

Program to generate frame files from a time series saved in a text file. More...

#include "ReadAscii.h"
#include <FrameL.h>
Include dependency graph for gwl-txt-to-frame.cc:

Functions

int main (int argc, char *argv[])
 Main program. More...
 

Detailed Description

Program to generate frame files from a time series saved in a text file.

cerr<<endl;
cerr<<"usage:"<<endl;
cerr<<"gwl-txt-to-frame [input text file] [channel name] [sampling rate] [time start]"<<endl;
cerr<<endl;
cerr<<" [input text file]: txt file with columns of data"<<endl;
cerr<<" [channel name] : name for the output channel"<<endl;
cerr<<" [sampling rate] : data sampling rate in Hz"<<endl;
cerr<<" [time start] : GPS time for the first sample"<<endl;
cerr<<""<<endl;
cerr<<"The text file must contain 1 or 2 columns."<<endl;
cerr<<""<<endl;
cerr<<"** 2 columns:"<<endl;
cerr<<"- first column = GPS time"<<endl;
cerr<<"- 2nd column = channel value"<<endl;
cerr<<""<<endl;
cerr<<"** 1 column:"<<endl;
cerr<<"- [sampling rate] and [time start] MUST be provided."<<endl;
cerr<<"- column data = channel value"<<endl;
cerr<<endl;
Author
Florent Robinet - florent.robinet@ijclab.in2p3.fr

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Main program.

[gwl-txt-to-frame-usage]

[gwl-txt-to-frame-usage]