make_sft.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
#include <math.h>
#include <lal/LALStdlib.h>
#include <lal/AVFactories.h>
#include <lal/RealFFT.h>
#include <lal/Window.h>
#include <lal/BandPassTimeSeries.h>
#include "make_sft_global.h"
#include <FrameL.h>

Include dependency graph for make_sft.c:

Go to the source code of this file.

Data Structures

struct  LINE_SUPPRESS_REGION

Defines

#define __USE_ISOC99   1
#define BUF_SIZE   200000

Functions

void add_suppress_region (double line1, double line2, int N)
void print_suppress_lines (FILE *f)
void print_bypass_options (FILE *f)
void print_filter_settings (FILE *f)
void print_settings (FILE *f)
void calibrate_data (void)
void set_debug_output (char *p)
int main (int argc, char *argv[])
 MAIN function of SideBandMCMC code Compute the posterior pdfs of the orbital and nuisance parameters of a binary signal in Fstat form.

Variables

char * channel
INT64 gps_start
INT64 gps_end
long samples_per_second
int precision
long total_samples
int precision
float * data
long freq_start = -1
long freq_stop = -1
int output_mode = OUTPUT_MODE_TEXT
long overlap = 0
char * file_debug1 = NULL
char * file_debug2 = NULL
char bypass_calibration = 0
char bypass_freq_window = 0
char bypass_lines = 0
char bypass_highpass_filter = 0
char bypass_lowpass_filter = 0
char bypass_first_window = 0
char bypass_first_fft = 0
char trace_power = 0
char trace_calibration_power = 0
char * output_power = NULL
char * output_calibrated_data = NULL
char * output_sft = NULL
REAL4 highpass_filter_f = 100.0
REAL4 highpass_filter_a = 0.5
REAL4 lowpass_filter_f = -1
REAL4 lowpass_filter_a = -1.0
int highpass_filter_order = 5
int lowpass_filter_order = -1
REAL4Vectorsft_in = NULL
REAL4Vectorsft_out = NULL
COMPLEX8Vectorsft_out2 = NULL
RealFFTPlan * large_forward = NULL
long freq_window_start = 30*60
long freq_window_stop = 2000*60
char * debug_freq_window = NULL
MAKE_SFT_WINDOW freq_window
MAKE_SFT_WINDOW window1
MAKE_SFT_WINDOW window2
LINE_SUPPRESS_REGIONsuppress_lines = NULL
int sl_size = 0
int sl_free = 0
char buffer [BUF_SIZE]


Define Documentation

#define __USE_ISOC99   1

Definition at line 29 of file make_sft.c.

#define BUF_SIZE   200000

Definition at line 563 of file make_sft.c.


Function Documentation

void add_suppress_region ( double  line1,
double  line2,
int  N 
)

Definition at line 118 of file make_sft.c.

void print_suppress_lines ( FILE *  f  ) 

Definition at line 134 of file make_sft.c.

void print_bypass_options ( FILE *  f  ) 

Definition at line 144 of file make_sft.c.

void print_filter_settings ( FILE *  f  ) 

Definition at line 182 of file make_sft.c.

void print_settings ( FILE *  f  ) 

Definition at line 194 of file make_sft.c.

void calibrate_data ( void   ) 

Definition at line 208 of file make_sft.c.

void set_debug_output ( char *  p  ) 

Definition at line 546 of file make_sft.c.

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

MAIN function of SideBandMCMC code Compute the posterior pdfs of the orbital and nuisance parameters of a binary signal in Fstat form.

Main function

Parameters:
[in] argc INT4
[in] argv[] CHAR*
Returns:
return 0 on normal exit.

some memory allocations

Definition at line 566 of file make_sft.c.


Variable Documentation

char* channel

Definition at line 45 of file mkcalfac.c.

INT64 gps_start

Definition at line 30 of file make_cross_section.c.

INT64 gps_end

Definition at line 62 of file make_sft_td_data.c.

long samples_per_second

Definition at line 63 of file make_sft_td_data.c.

int precision

Definition at line 50 of file make_sft_utils.c.

long total_samples

Definition at line 76 of file make_sft_td_data.c.

int precision

Definition at line 50 of file make_sft_utils.c.

float* data

Definition at line 53 of file s3inject.c.

long freq_start = -1

Definition at line 50 of file make_sft.c.

long freq_stop = -1

Definition at line 50 of file make_sft.c.

int output_mode = OUTPUT_MODE_TEXT

Definition at line 52 of file make_sft.c.

long overlap = 0

Definition at line 56 of file make_sft.c.

char* file_debug1 = NULL

Definition at line 59 of file make_sft.c.

char * file_debug2 = NULL

Definition at line 59 of file make_sft.c.

char bypass_calibration = 0

Definition at line 62 of file make_sft.c.

char bypass_freq_window = 0

Definition at line 62 of file make_sft.c.

char bypass_lines = 0

Definition at line 62 of file make_sft.c.

char bypass_highpass_filter = 0

Definition at line 63 of file make_sft.c.

char bypass_lowpass_filter = 0

Definition at line 63 of file make_sft.c.

char bypass_first_window = 0

Definition at line 63 of file make_sft.c.

char bypass_first_fft = 0

Definition at line 63 of file make_sft.c.

char trace_power = 0

Definition at line 67 of file make_sft.c.

char trace_calibration_power = 0

Definition at line 67 of file make_sft.c.

char* output_power = NULL

Definition at line 70 of file make_sft.c.

char * output_calibrated_data = NULL

Definition at line 70 of file make_sft.c.

char * output_sft = NULL

Definition at line 70 of file make_sft.c.

REAL4 highpass_filter_f = 100.0

Definition at line 73 of file make_sft.c.

REAL4 highpass_filter_a = 0.5

Definition at line 73 of file make_sft.c.

REAL4 lowpass_filter_f = -1

Definition at line 73 of file make_sft.c.

REAL4 lowpass_filter_a = -1.0

Definition at line 73 of file make_sft.c.

int highpass_filter_order = 5

Definition at line 74 of file make_sft.c.

int lowpass_filter_order = -1

Definition at line 74 of file make_sft.c.

REAL4Vector* sft_in = NULL

Definition at line 77 of file make_sft.c.

REAL4Vector* sft_out = NULL

Definition at line 78 of file make_sft.c.

COMPLEX8Vector* sft_out2 = NULL

Definition at line 79 of file make_sft.c.

RealFFTPlan* large_forward = NULL

Definition at line 80 of file make_sft.c.

long freq_window_start = 30*60

Definition at line 85 of file make_sft.c.

long freq_window_stop = 2000*60

Definition at line 85 of file make_sft.c.

char* debug_freq_window = NULL

Definition at line 86 of file make_sft.c.

MAKE_SFT_WINDOW freq_window

Initial value:

{
        type: Hann, 
        tail_size: 512,
        debug: NULL
        }

Definition at line 88 of file make_sft.c.

MAKE_SFT_WINDOW window1

Initial value:

{
        type: Hann, 
        tail_size: 512,
        debug: NULL
        }

Definition at line 94 of file make_sft.c.

MAKE_SFT_WINDOW window2

Initial value:

{
        type: Hann, 
        tail_size: 512,
        debug: NULL
        }

Definition at line 100 of file make_sft.c.

LINE_SUPPRESS_REGION* suppress_lines = NULL

Definition at line 113 of file make_sft.c.

int sl_size = 0

Definition at line 114 of file make_sft.c.

int sl_free = 0

Definition at line 115 of file make_sft.c.

char buffer[BUF_SIZE]

Definition at line 564 of file make_sft.c.


Generated on Sat Sep 6 03:08:19 2008 for LAL by  doxygen 1.5.2