#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <string.h>#include <strings.h>#include <errno.h>#include <stdarg.h>#include <sys/types.h>#include <sys/wait.h>#include <time.h>#include <signal.h>#include <math.h>Include dependency graph for s3inject.c:

Go to the source code of this file.
Defines | |
| #define | _GNU_SOURCE |
| #define | MAXPULSARS 64 |
| #define | BLOCKSIZE 16384 |
| #define | SRATE 16384 |
| #define | MAXLINE 1024 |
Functions | |
| void | syserror (int showerrno, const char *fmt,...) |
| void | sighandler (int sig) |
| our own signal handler | |
| void | usage (FILE *filep) |
| int | parseinput (int argc, char **argv) |
| 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 | |
| volatile int | shutdown_pulsar_injection = 0 |
| int | npulsars = 0 |
| float | data [BLOCKSIZE] |
| float | total [BLOCKSIZE] |
| float | testval = 1234.5 |
| char * | directory |
| char * | channel = NULL |
| int | gpstime = 0 |
| char * | programname |
| int | show = 0 |
| int | do_axis = 0 |
| int | do_text = 0 |
| long long | count = 0 |
| long | blocks = 0 |
| const char * | ifo_name = NULL |
| const char * | actuation = NULL |
| int | bufflen [MAXPULSARS] |
| int | readfrombuff [MAXPULSARS] |
| float * | buffs [MAXPULSARS] |
| double | calamp [3] = {0.0, 0.0, 0.0} |
| double | calfreq [3] |
| int | tfiducial = 751680013 |
| FILE * | fp [MAXPULSARS] |
| #define _GNU_SOURCE |
Definition at line 26 of file s3inject.c.
| #define MAXPULSARS 64 |
Definition at line 44 of file s3inject.c.
| #define BLOCKSIZE 16384 |
Definition at line 46 of file s3inject.c.
| #define SRATE 16384 |
Definition at line 48 of file s3inject.c.
| #define MAXLINE 1024 |
Definition at line 339 of file s3inject.c.
| void syserror | ( | int | showerrno, | |
| const char * | fmt, | |||
| ... | ||||
| ) |
Definition at line 151 of file s3inject.c.
| void sighandler | ( | int | sig | ) |
| void usage | ( | FILE * | filep | ) |
| int parseinput | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 197 of file s3inject.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
| [in] | argc | INT4 |
| [in] | argv[] | CHAR* |
some memory allocations
Definition at line 340 of file s3inject.c.
| volatile int shutdown_pulsar_injection = 0 |
Definition at line 51 of file s3inject.c.
| int npulsars = 0 |
Definition at line 52 of file s3inject.c.
| float data[BLOCKSIZE] |
Definition at line 53 of file s3inject.c.
| float total[BLOCKSIZE] |
Definition at line 54 of file s3inject.c.
| float testval = 1234.5 |
Definition at line 55 of file s3inject.c.
| char* directory |
Definition at line 56 of file s3inject.c.
| char* channel = NULL |
Definition at line 57 of file s3inject.c.
| int gpstime = 0 |
Definition at line 58 of file s3inject.c.
| char* programname |
Definition at line 59 of file s3inject.c.
| int show = 0 |
Definition at line 60 of file s3inject.c.
| int do_axis = 0 |
Definition at line 61 of file s3inject.c.
| int do_text = 0 |
Definition at line 62 of file s3inject.c.
| long long count = 0 |
Definition at line 63 of file s3inject.c.
| long blocks = 0 |
Definition at line 64 of file s3inject.c.
| const char* ifo_name = NULL |
Definition at line 65 of file s3inject.c.
| const char* actuation = NULL |
Definition at line 66 of file s3inject.c.
| int bufflen[MAXPULSARS] |
Definition at line 72 of file s3inject.c.
| int readfrombuff[MAXPULSARS] |
Definition at line 73 of file s3inject.c.
| float* buffs[MAXPULSARS] |
Definition at line 74 of file s3inject.c.
| double calamp[3] = {0.0, 0.0, 0.0} |
Definition at line 76 of file s3inject.c.
| double calfreq[3] |
| int tfiducial = 751680013 |
Definition at line 94 of file s3inject.c.
| FILE* fp[MAXPULSARS] |
Definition at line 96 of file s3inject.c.
1.5.2