#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 <FrIO.h>#include <FrameL.h>#include "make_sft_global.h"Include dependency graph for make_sft_td_data.c:

Go to the source code of this file.
Data Structures | |
| struct | frame_file |
Defines | |
| #define | __USE_ISOC99 1 |
| #define | DATA_PRESENT(i) (data_present[(i)>>3] & (1<<((i)&7))) |
| #define | COPY_REAL *p1=*p2;p1++;p2++; |
| #define | COPY_REAL *p1=*p2d;p1++;p2d++; |
Functions | |
| void | add_fake_data_command (int command, double phase, double frequency, double amplitude) |
| void | print_fake_data_settings (FILE *f) |
| void | generate_fake_data (void) |
| void | allocate_data (void) |
| void | verify_loaded_data (void) |
| void | print_vect_trends (FrVect *vect, long offset, long step) |
| void | assimilate_data (FrVect *vect) |
| void | add_frame_file (char *filename, double TStart, double TEnd) |
| void | add_start_stop_frame_file (char *text) |
| void | mark_segment (long start, long end) |
| void | assimilate_segment (char *line) |
| void | assimilate_subsecond_segment (char *line) |
| void | assimilate_sample_segment (char *line) |
| void | print_data_stats (void) |
| void | linear_interpolate_gaps (void) |
| void | print_data (char *file, char *tag) |
Variables | |
| int | precision |
| int | dont_fail_on_missing_data |
| frame_file * | files = NULL |
| int | files_size = 0 |
| int | files_free = 0 |
| char * | channel = NULL |
| INT64 | gps_start = -1 |
| INT64 | gps_end = -1 |
| long | samples_per_second = -1 |
| float * | data = NULL |
| unsigned char * | data_present = NULL |
| unsigned char * | segments = NULL |
| long | total_samples = -1 |
| FAKE_DATA_COMMAND * | fake_data |
| int | fake_data_size = 0 |
| int | fake_data_free = 0 |
| #define __USE_ISOC99 1 |
Definition at line 35 of file make_sft_td_data.c.
| #define DATA_PRESENT | ( | i | ) | (data_present[(i)>>3] & (1<<((i)&7))) |
Definition at line 78 of file make_sft_td_data.c.
| #define COPY_REAL *p1=*p2;p1++;p2++; |
| #define COPY_REAL *p1=*p2d;p1++;p2d++; |
| void add_fake_data_command | ( | int | command, | |
| double | phase, | |||
| double | frequency, | |||
| double | amplitude | |||
| ) |
Definition at line 86 of file make_sft_td_data.c.
| void print_fake_data_settings | ( | FILE * | f | ) |
Definition at line 105 of file make_sft_td_data.c.
| void generate_fake_data | ( | void | ) |
Definition at line 144 of file make_sft_td_data.c.
| void allocate_data | ( | void | ) |
Definition at line 186 of file make_sft_td_data.c.
| void verify_loaded_data | ( | void | ) |
Definition at line 204 of file make_sft_td_data.c.
| void print_vect_trends | ( | FrVect * | vect, | |
| long | offset, | |||
| long | step | |||
| ) |
Definition at line 230 of file make_sft_td_data.c.
| void assimilate_data | ( | FrVect * | vect | ) |
Definition at line 320 of file make_sft_td_data.c.
| void add_frame_file | ( | char * | filename, | |
| double | TStart, | |||
| double | TEnd | |||
| ) |
Definition at line 426 of file make_sft_td_data.c.
| void add_start_stop_frame_file | ( | char * | text | ) |
Definition at line 495 of file make_sft_td_data.c.
| void mark_segment | ( | long | start, | |
| long | end | |||
| ) |
Definition at line 506 of file make_sft_td_data.c.
| void assimilate_segment | ( | char * | line | ) |
Definition at line 521 of file make_sft_td_data.c.
| void assimilate_subsecond_segment | ( | char * | line | ) |
Definition at line 532 of file make_sft_td_data.c.
| void assimilate_sample_segment | ( | char * | line | ) |
Definition at line 543 of file make_sft_td_data.c.
| void print_data_stats | ( | void | ) |
Definition at line 554 of file make_sft_td_data.c.
| void linear_interpolate_gaps | ( | void | ) |
Definition at line 562 of file make_sft_td_data.c.
| void print_data | ( | char * | file, | |
| char * | tag | |||
| ) |
Definition at line 619 of file make_sft_td_data.c.
| int precision |
Definition at line 50 of file make_sft_utils.c.
| frame_file* files = NULL |
Definition at line 58 of file make_sft_td_data.c.
| int files_size = 0 |
Definition at line 59 of file make_sft_td_data.c.
| int files_free = 0 |
Definition at line 60 of file make_sft_td_data.c.
| char* channel = NULL |
Definition at line 61 of file make_sft_td_data.c.
Definition at line 62 of file make_sft_td_data.c.
Definition at line 62 of file make_sft_td_data.c.
| long samples_per_second = -1 |
Definition at line 63 of file make_sft_td_data.c.
| float* data = NULL |
Definition at line 69 of file make_sft_td_data.c.
| unsigned char* data_present = NULL |
Definition at line 73 of file make_sft_td_data.c.
| unsigned char* segments = NULL |
Definition at line 75 of file make_sft_td_data.c.
| long total_samples = -1 |
Definition at line 76 of file make_sft_td_data.c.
Definition at line 82 of file make_sft_td_data.c.
| int fake_data_size = 0 |
Definition at line 83 of file make_sft_td_data.c.
| int fake_data_free = 0 |
Definition at line 84 of file make_sft_td_data.c.
1.5.2