#include <stdio.h>#include <stdlib.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 "op_method.h"Include dependency graph for make_sft_calibration.c:

Go to the source code of this file.
Data Structures | |
| struct | ALPHABETA |
Defines | |
| #define | __USE_ISOC99 1 |
Functions | |
| void | load_response_file (char *name, COMPLEX8 **data, long *_size, long *_free, double *rate) |
| int | resample_array (COMPLEX8 **data, long new_size, long entries, double A_factor, double B_factor) |
| void | load_R (char *name) |
| void | load_C (char *name) |
| void | post_init_response_files (void) |
| void | add_alpha_beta (INT64 gps, REAL4 alpha, REAL4 alphabeta) |
| void | load_alpha_beta (char *name) |
| int | ab_cmp (ALPHABETA *A, ALPHABETA *B) |
| void | post_init_alpha_beta (void) |
| void | position_alpha_beta_ptr (long first_sample) |
| void | get_alpha_beta (long first_sample, REAL4 *alpha, REAL4 *alphabeta) |
| void | calibrate_fft (COMPLEX8Vector *fft, long first_sample) |
| void | compute_Phi (PHI_DATA3 *phi_data) |
| void | compute_void_phi_r (PHI_RESPONSE3 *phi_response) |
| void | compute_phi_r (PHI_RESPONSE3 *phi_response, long n) |
| void | compute_estimation_errors (PHI_DATA3 *phi, PHI_RESPONSE3 *phi_r, long nbin, double *max1, double *max3) |
| void | get_td_calibration (double frequency, long sample, double *re, double *im) |
Variables | |
| COMPLEX8 * | R_0 = NULL |
| COMPLEX8 * | H_0 = NULL |
| COMPLEX8 * | C_0 = NULL |
| long | R_size = -1 |
| long | R_free = 0 |
| long | C_size = -1 |
| long | C_free = 0 |
| long | H_size = -1 |
| long | H_free = 0 |
| double | R_rate |
| double | C_rate |
| long | cal_sft_length = 0 |
| long | samples_per_second |
| INT64 | gps_start |
| INT64 | gps_end |
| long | total_samples |
| int | dont_fail_on_missing_calibration |
| int | dont_fail_on_zero_ds |
| ALPHABETA * | ab_data = NULL |
| long | ab_free = 0 |
| long | ab_size = -1 |
| long | ab_ptr = 0 |
| #define __USE_ISOC99 1 |
Definition at line 23 of file make_sft_calibration.c.
| void load_response_file | ( | char * | name, | |
| COMPLEX8 ** | data, | |||
| long * | _size, | |||
| long * | _free, | |||
| double * | rate | |||
| ) |
Definition at line 49 of file make_sft_calibration.c.
| int resample_array | ( | COMPLEX8 ** | data, | |
| long | new_size, | |||
| long | entries, | |||
| double | A_factor, | |||
| double | B_factor | |||
| ) |
Definition at line 100 of file make_sft_calibration.c.
| void load_R | ( | char * | name | ) |
Definition at line 135 of file make_sft_calibration.c.
| void load_C | ( | char * | name | ) |
Definition at line 147 of file make_sft_calibration.c.
| void post_init_response_files | ( | void | ) |
Definition at line 159 of file make_sft_calibration.c.
Definition at line 233 of file make_sft_calibration.c.
| void load_alpha_beta | ( | char * | name | ) |
Definition at line 270 of file make_sft_calibration.c.
Definition at line 294 of file make_sft_calibration.c.
| void post_init_alpha_beta | ( | void | ) |
Definition at line 301 of file make_sft_calibration.c.
| void position_alpha_beta_ptr | ( | long | first_sample | ) |
Definition at line 333 of file make_sft_calibration.c.
Definition at line 348 of file make_sft_calibration.c.
| void calibrate_fft | ( | COMPLEX8Vector * | fft, | |
| long | first_sample | |||
| ) |
Definition at line 399 of file make_sft_calibration.c.
| void compute_Phi | ( | PHI_DATA3 * | phi_data | ) |
Definition at line 445 of file make_sft_calibration.c.
| void compute_void_phi_r | ( | PHI_RESPONSE3 * | phi_response | ) |
Definition at line 505 of file make_sft_calibration.c.
| void compute_phi_r | ( | PHI_RESPONSE3 * | phi_response, | |
| long | n | |||
| ) |
Definition at line 523 of file make_sft_calibration.c.
| void compute_estimation_errors | ( | PHI_DATA3 * | phi, | |
| PHI_RESPONSE3 * | phi_r, | |||
| long | nbin, | |||
| double * | max1, | |||
| double * | max3 | |||
| ) |
Definition at line 578 of file make_sft_calibration.c.
| void get_td_calibration | ( | double | frequency, | |
| long | sample, | |||
| double * | re, | |||
| double * | im | |||
| ) |
Definition at line 659 of file make_sft_calibration.c.
Definition at line 36 of file make_sft_calibration.c.
Definition at line 36 of file make_sft_calibration.c.
Definition at line 36 of file make_sft_calibration.c.
| long R_size = -1 |
Definition at line 37 of file make_sft_calibration.c.
| long R_free = 0 |
Definition at line 37 of file make_sft_calibration.c.
| long C_size = -1 |
Definition at line 37 of file make_sft_calibration.c.
| long C_free = 0 |
Definition at line 37 of file make_sft_calibration.c.
| long H_size = -1 |
Definition at line 37 of file make_sft_calibration.c.
| long H_free = 0 |
Definition at line 37 of file make_sft_calibration.c.
| double R_rate |
Definition at line 38 of file make_sft_calibration.c.
| double C_rate |
Definition at line 38 of file make_sft_calibration.c.
| long cal_sft_length = 0 |
Definition at line 39 of file make_sft_calibration.c.
| long samples_per_second |
Definition at line 63 of file make_sft_td_data.c.
Definition at line 30 of file make_cross_section.c.
Definition at line 62 of file make_sft_td_data.c.
| long total_samples |
Definition at line 76 of file make_sft_td_data.c.
Definition at line 229 of file make_sft_calibration.c.
| long ab_free = 0 |
Definition at line 230 of file make_sft_calibration.c.
| long ab_size = -1 |
Definition at line 230 of file make_sft_calibration.c.
| long ab_ptr = 0 |
Definition at line 230 of file make_sft_calibration.c.
1.5.2