LALApps 10.1.0.1-eeff03c
animate.c File Reference

Prototypes

int main (void)
 

Detailed Description

Name

lal_animate — produces an animated display showing the time series output of a selected channel in a lower window, and a simultaneously calculated FFT power spectrum in the upper window

Synopsis

lal_animate [–help] [–channel name] [–duration secs] [–epoch sec nsec] [–framedir dirname] [–highpass freq attenuation] [–numpts npoints] \(|\) xmgr -pipe

Description

lal_animate produces an animated display showing the time series output of a selected channel in a lower window, and a simultaneously calculated FFT power spectrum in the upper window. The output from this program must be piped into the graphing program xmgr.

Options
  • –help: Print a help message.
  • –channel name: Name of frame channel
  • –duration secs: How many seconds to look at
  • –epoch sec nsec: Starting epoch
  • –framedir dirname: Directory containing frame files
  • –highpass freq attenuation: High-pass filter parameters
  • –numpts npoints: Points per graph to display

Example

To run the program, type:

lalapps_animate --channel H2:LSC-AS_Q --framedir ./h1 --numpts 16384 \
--epoch 693768272 0 --duration 1 --highpass 300 0.01 | xmgr -pipe
INT4 duration
Definition: blindinj.c:123
char * channel
enum @1 epoch

This will search in directory ./h1 for frame files containing the channel H2:LSC-AS_Q and pipe the data starting at 693768272 GPS seconds and 0 GPS nanonseconds to xmgr in segments containing 16384 points until 1 seconds of data has been reviewed. The data is highpass filtered to above 300 Hz with an attenuation of \(0.1\); the output is shown in this figure.

Example of output from lalapps_animate program

Author
Bruce Allen and Patrick Brady

Definition in file animate.c.

Go to the source code of this file.

Macros

#define TRUE   1
 
#define FALSE   0
 
#define FRAMEHEARSEEC_ENORM   0
 
#define FRAMEHEARSEEC_EARG   2
 
#define FRAMEHEARSEEC_MSGENORM   "Normal exit"
 
#define FRAMEHEARSEEC_MSGEARG   "Error parsing arguments"
 
#define USAGE
 

Macro Definition Documentation

◆ TRUE

#define TRUE   1

Definition at line 94 of file animate.c.

◆ FALSE

#define FALSE   0

Definition at line 95 of file animate.c.

◆ FRAMEHEARSEEC_ENORM

#define FRAMEHEARSEEC_ENORM   0

Definition at line 97 of file animate.c.

◆ FRAMEHEARSEEC_EARG

#define FRAMEHEARSEEC_EARG   2

Definition at line 98 of file animate.c.

◆ FRAMEHEARSEEC_MSGENORM

#define FRAMEHEARSEEC_MSGENORM   "Normal exit"

Definition at line 100 of file animate.c.

◆ FRAMEHEARSEEC_MSGEARG

#define FRAMEHEARSEEC_MSGEARG   "Error parsing arguments"

Definition at line 101 of file animate.c.

◆ USAGE

#define USAGE
Value:
"Usage: %s [options] | xmgr -pipe\n"\
" --help Print this help message\n" \
" --channel name Name of frame channel\n" \
" [--duration secs] How many seconds to look at\n"\
" [--epoch sec nsec] The starting epoch\n"\
" [--framedir dirname] Directory containing frame files\n"\
" [--highpass freq attenuation] High-pass filter parameters \n"\
" [--numpts npoints] Points per graph displayed\n"

Definition at line 104 of file animate.c.

Function Documentation

◆ main()

int main ( void  )

Definition at line 116 of file animate.c.