Compute power spectral densities. More...
Prototypes | |
int | initUserVars (int argc, char *argv[], UserVariables_t *uvar) |
register all "user-variables" More... | |
void | LALfwriteSpectrograms (LALStatus *status, const CHAR *bname, const MultiPSDVector *multiPSD) |
Write a multi-PSD into spectrograms for each IFO. More... | |
MultiSFTVector * | XLALReadSFTs (ConfigVariables_t *cfg, const UserVariables_t *uvar) |
Load all SFTs according to user-input, returns multi-SFT vector. More... | |
int | XLALWriteREAL8FrequencySeries_to_file (const REAL8FrequencySeries *series, const char *fname) |
Write given REAL8FrequencySeries into file. More... | |
int | main (int argc, char *argv[]) |
Compute power spectral densities.
Definition in file ComputePSD.c.
Go to the source code of this file.
Data Structures | |
struct | UserVariables_t |
user input variables More... | |
struct | ConfigVariables_t |
Config variables 'derived' from user-input. More... | |
Macros | |
#define | COMPUTEPSDC_ENORM 0 |
#define | COMPUTEPSDC_ESUB 1 |
#define | COMPUTEPSDC_EARG 2 |
#define | COMPUTEPSDC_EBAD 3 |
#define | COMPUTEPSDC_EFILE 4 |
#define | COMPUTEPSDC_ENULL 5 |
#define | COMPUTEPSDC_EMEM 6 |
#define | COMPUTEPSDC_MSGENORM "Normal exit" |
#define | COMPUTEPSDC_MSGESUB "Subroutine failed" |
#define | COMPUTEPSDC_MSGEARG "Error parsing arguments" |
#define | COMPUTEPSDC_MSGEBAD "Bad argument values" |
#define | COMPUTEPSDC_MSGEFILE "Could not create output file" |
#define | COMPUTEPSDC_MSGENULL "Null Pointer" |
#define | COMPUTEPSDC_MSGEMEM "Out of memory" |
#define | TRUE (1==1) |
#define | FALSE (1==0) |
Variables | |
int | vrbflg |
defined in lal/lib/std/LALError.c More... | |
#define COMPUTEPSDC_ENORM 0 |
Definition at line 58 of file ComputePSD.c.
#define COMPUTEPSDC_ESUB 1 |
Definition at line 59 of file ComputePSD.c.
#define COMPUTEPSDC_EARG 2 |
Definition at line 60 of file ComputePSD.c.
#define COMPUTEPSDC_EBAD 3 |
Definition at line 61 of file ComputePSD.c.
#define COMPUTEPSDC_EFILE 4 |
Definition at line 62 of file ComputePSD.c.
#define COMPUTEPSDC_ENULL 5 |
Definition at line 63 of file ComputePSD.c.
#define COMPUTEPSDC_EMEM 6 |
Definition at line 64 of file ComputePSD.c.
#define COMPUTEPSDC_MSGENORM "Normal exit" |
Definition at line 66 of file ComputePSD.c.
#define COMPUTEPSDC_MSGESUB "Subroutine failed" |
Definition at line 67 of file ComputePSD.c.
#define COMPUTEPSDC_MSGEARG "Error parsing arguments" |
Definition at line 68 of file ComputePSD.c.
#define COMPUTEPSDC_MSGEBAD "Bad argument values" |
Definition at line 69 of file ComputePSD.c.
Definition at line 70 of file ComputePSD.c.
#define COMPUTEPSDC_MSGENULL "Null Pointer" |
Definition at line 71 of file ComputePSD.c.
#define COMPUTEPSDC_MSGEMEM "Out of memory" |
Definition at line 72 of file ComputePSD.c.
#define TRUE (1==1) |
Definition at line 76 of file ComputePSD.c.
#define FALSE (1==0) |
Definition at line 77 of file ComputePSD.c.
int initUserVars | ( | int | argc, |
char * | argv[], | ||
UserVariables_t * | uvar | ||
) |
register all "user-variables"
Definition at line 298 of file ComputePSD.c.
void LALfwriteSpectrograms | ( | LALStatus * | status, |
const CHAR * | bname, | ||
const MultiPSDVector * | multiPSD | ||
) |
Write a multi-PSD into spectrograms for each IFO.
Using gnuplot 'binary' matrix format The filename for each IFO is generated as 'bname-IFO'
Definition at line 467 of file ComputePSD.c.
MultiSFTVector * XLALReadSFTs | ( | ConfigVariables_t * | cfg, |
const UserVariables_t * | uvar | ||
) |
Load all SFTs according to user-input, returns multi-SFT vector.
[out] | cfg | return derived configuration info (firstBin, lastBin, segment) |
[in] | uvar | complete user-input |
Definition at line 575 of file ComputePSD.c.
int XLALWriteREAL8FrequencySeries_to_file | ( | const REAL8FrequencySeries * | series, |
const char * | fname | ||
) |
Write given REAL8FrequencySeries into file.
[in] | series | frequency-series to write to file |
[in] | fname | filename to write into |
Definition at line 697 of file ComputePSD.c.
Definition at line 146 of file ComputePSD.c.
|
extern |
defined in lal/lib/std/LALError.c