code to perform a coarse/fine heterodyne on LIGO or GEO data given a set of pulsar parameters. The heterodyne is a 2 stage process with the code run for a coarse heterodyne (not taking into account the SSB and BSB time delays, but using the other frequency params) and then rerun for the fine heterodyne (taking into account SSB and BSB time delays). The code can also be used to update heterodyned data using new parameters (old and new parameter files are required) i.e. it will take the difference of the original heterodyne phase and the new phase and reheterodyne with this phase difference. More...
code to perform a coarse/fine heterodyne on LIGO or GEO data given a set of pulsar parameters. The heterodyne is a 2 stage process with the code run for a coarse heterodyne (not taking into account the SSB and BSB time delays, but using the other frequency params) and then rerun for the fine heterodyne (taking into account SSB and BSB time delays). The code can also be used to update heterodyned data using new parameters (old and new parameter files are required) i.e. it will take the difference of the original heterodyne phase and the new phase and reheterodyne with this phase difference.
Definition in file heterodyne_pulsar.c.
Go to the source code of this file.
Macros | |
#define | ROUND(a) (floor(a+0.5)) |
#define | MAXALLOC 1048576 |
#define | TRACKMEMUSE 0 |
Variables | |
INT4 | verbose = 0 |
Definition at line 47 of file heterodyne_pulsar.c.
#define MAXALLOC 1048576 |
Definition at line 50 of file heterodyne_pulsar.c.
#define TRACKMEMUSE 0 |
Definition at line 53 of file heterodyne_pulsar.c.
Definition at line 2497 of file heterodyne_pulsar.c.
Definition at line 74 of file heterodyne_pulsar.c.
void get_input_args | ( | InputParams * | inputParams, |
int | argc, | ||
char * | argv[] | ||
) |
Definition at line 812 of file heterodyne_pulsar.c.
void heterodyne_data | ( | COMPLEX16TimeSeries * | data, |
REAL8Vector * | times, | ||
HeterodyneParams | hetParams, | ||
REAL8 | freqfactor, | ||
FilterResponse * | filtresp | ||
) |
Definition at line 1127 of file heterodyne_pulsar.c.
Definition at line 1626 of file heterodyne_pulsar.c.
REAL8TimeSeries * get_frame_data | ( | LALCache * | framecache, |
CHAR * | channel, | ||
REAL8 | ttime, | ||
REAL8 | length, | ||
INT4 | duration, | ||
REAL8 | samplerate, | ||
REAL8 | scalefac, | ||
REAL8 | highpass | ||
) |
Definition at line 1650 of file heterodyne_pulsar.c.
Definition at line 1741 of file heterodyne_pulsar.c.
void filter_data | ( | COMPLEX16TimeSeries * | data, |
Filters * | iirFilters | ||
) |
Definition at line 1776 of file heterodyne_pulsar.c.
COMPLEX16TimeSeries * resample_data | ( | COMPLEX16TimeSeries * | data, |
REAL8Vector * | times, | ||
INT4Vector * | starts, | ||
INT4Vector * | stops, | ||
REAL8 | sampleRate, | ||
REAL8 | resampleRate, | ||
INT4 | hetflag | ||
) |
Definition at line 1797 of file heterodyne_pulsar.c.
INT4 get_segment_list | ( | INT4Vector * | starts, |
INT4Vector * | stops, | ||
CHAR * | seglistfile, | ||
INT4 | heterodyneflag | ||
) |
Definition at line 1973 of file heterodyne_pulsar.c.
LALCache * set_frame_files | ( | INT4 * | starts, |
INT4 * | stops, | ||
LALCache * | cache, | ||
INT4 * | position, | ||
INT4 | maxchunklength | ||
) |
Definition at line 2058 of file heterodyne_pulsar.c.
void calibrate | ( | COMPLEX16TimeSeries * | series, |
REAL8Vector * | datatimes, | ||
CalibrationFiles | calfiles, | ||
REAL8 | frequency, | ||
CHAR * | channel | ||
) |
Definition at line 2101 of file heterodyne_pulsar.c.
void get_calibration_values | ( | REAL8 * | magnitude, |
REAL8 * | phase, | ||
CHAR * | calibfilename, | ||
REAL8 | frequency | ||
) |
Definition at line 2269 of file heterodyne_pulsar.c.
INT4 remove_outliers | ( | COMPLEX16TimeSeries * | data, |
REAL8Vector * | times, | ||
REAL8 | stddevthresh | ||
) |
Definition at line 2316 of file heterodyne_pulsar.c.
FilterResponse * create_filter_response | ( | REAL8 | filterKnee | ) |
Definition at line 2368 of file heterodyne_pulsar.c.
void destroy_filter_response | ( | FilterResponse * | filtresp | ) |
Definition at line 2489 of file heterodyne_pulsar.c.
INT4 verbose = 0 |
Definition at line 72 of file heterodyne_pulsar.c.