HOPS
HOPS class reference
|
#include <difxio/difx_input.h>
#include <limits.h>
#include <time.h>
#include "type_000.h"
#include "type_100.h"
#include "type_101.h"
#include "type_120.h"
#include "type_300.h"
#include "type_301.h"
#include "type_302.h"
#include "type_303.h"
#include "type_309.h"
#include "type_writes.h"
Go to the source code of this file.
Classes | |
struct | CommandLineOptions |
struct | vis_record::components |
struct | fbands |
struct | fblock_tag |
struct | fblock_tag.stn |
struct | stations |
struct | vis_record |
Macros | |
#define | DIFXIO_VERSION_MAJOR 0 |
#define | DIFXIO_VERSION_MINOR 0 |
#define | EXP_CODE_LEN 4 |
#define | MAGLIM 10000.0 |
#define | MAX_DFRQ 800 |
#define | MAX_FBANDS 20 |
#define | MAX_FPPAIRS 48000 |
#define | MAX_INPUT_FILES 4096 |
#define | MAX_STN 50 |
#define | MAX_VIS 8192 |
#define | NUMFILS 500 |
#define | NVRMAX 98304000 |
Enumerations | |
enum | booleans { FALSE , TRUE } |
Functions | |
void | conv2date (double, struct date *) |
int | createRoot (DifxInput *, struct fblock_tag *, int, int, char *, char *, char *, struct stations *, struct CommandLineOptions *, char *) |
int | createType1s (DifxInput *, struct fblock_tag *, int *, int, char *, char *, struct stations *, struct CommandLineOptions *, char *) |
int | createType3s (DifxInput *, struct fblock_tag *, int, int, int, char *, char *, struct stations *, struct CommandLineOptions *) |
double | double_reverse (double) |
float | float_reverse (float) |
int | get_vis (DifxInput *, char *, struct CommandLineOptions *, int *, int *, int *, vis_record **, char *, struct fblock_tag *) |
char | getband (double) |
int | int_reverse (int) |
long | long_reverse (long) |
int | new_type1 (DifxInput *, struct fblock_tag *, int, int, int, int, int *, double *, struct stations *, char *, struct CommandLineOptions *, FILE **, int, char *, char *, char *, char *, int, int) |
void | normalize (struct CommandLineOptions *, vis_record *, int, int *, int *, struct fblock_tag *) |
char * | root_id (int, int, int, int, int) |
char * | root_id_break (time_t, int, int, int, int, int) |
int | root_id_delta (time_t) |
short | short_reverse (short) |
char | single_code (char *, char *) |
unsigned short | unsig_reverse (unsigned short) |
struct CommandLineOptions |
Class Members | ||
---|---|---|
char | bandwidth[8] | |
char * | baseFile[MAX_INPUT_FILES] | |
int | doalldifx | |
int | dontCombine | |
char | exp_no[EXP_CODE_LEN+1] | |
char | fgroups[16] | |
FILE ** | in | |
double | jobMatrixDeltaT | |
int | keepOrder | |
int | localdir | |
int | nBaseFile | |
float | nOutChan | |
int | overrideVersion | |
int | phaseCentre | |
int | pretend | |
int | pulsarBin | |
int | raw | |
double | scale | |
char * | scan | |
char | scodeFile[PATH_MAX] | |
double | sniffTime | |
int | specAvg | |
float | startChan | |
int | verbose | |
int | writemodel |
struct fblock_tag |
Class Members | ||
---|---|---|
struct fblock_tag | stn[2] |
struct fblock_tag.stn |
struct vis_record |
Class Members | ||
---|---|---|
int | baseline | |
struct components | comp[MAX_VIS] | |
int | config_index | |
int | freq_index | |
double | iat | |
int | mjd | |
int | nvis | |
char | pols[2] | |
int | pulsar_bin | |
int | source_index | |
int | sync | |
double | uvw[3] | |
int | version | |
double | weight |
#define DIFXIO_VERSION_MAJOR 0 |
#define DIFXIO_VERSION_MINOR 0 |
#define EXP_CODE_LEN 4 |
#define MAGLIM 10000.0 |
#define MAX_DFRQ 800 |
#define MAX_FBANDS 20 |
#define MAX_FPPAIRS 48000 |
#define MAX_INPUT_FILES 4096 |
#define MAX_STN 50 |
#define MAX_VIS 8192 |
#define NUMFILS 500 |
#define NVRMAX 98304000 |
enum booleans |
void conv2date | ( | double | dmjd, |
struct date * | pdate | ||
) |
int createRoot | ( | DifxInput * | D, |
struct fblock_tag * | pfb, | ||
int | jobId, | ||
int | scanId, | ||
char * | node_name, | ||
char * | node, | ||
char * | rcode, | ||
struct stations * | stns, | ||
struct CommandLineOptions * | opts, | ||
char * | rootname | ||
) |
int createType1s | ( | DifxInput * | D, |
struct fblock_tag * | pfb, | ||
int * | jobId, | ||
int | scanId, | ||
char * | node, | ||
char * | rcode, | ||
struct stations * | stns, | ||
struct CommandLineOptions * | opts, | ||
char * | rootname | ||
) |
int createType3s | ( | DifxInput * | D, |
struct fblock_tag * | pfb, | ||
int | startJob, | ||
int | endJob, | ||
int | scanId, | ||
char * | node, | ||
char * | rcode, | ||
struct stations * | stns, | ||
struct CommandLineOptions * | opts | ||
) |
double double_reverse | ( | double | j | ) |
float float_reverse | ( | float | j | ) |
int get_vis | ( | DifxInput * | D, |
char * | vf_name, | ||
struct CommandLineOptions * | opts, | ||
int * | nvrtot, | ||
int * | nvis, | ||
int * | vrsize, | ||
vis_record ** | vrec, | ||
char * | corrdate, | ||
struct fblock_tag * | pfb | ||
) |
char getband | ( | double | freq | ) |
int int_reverse | ( | int | j | ) |
long long_reverse | ( | long | j | ) |
int new_type1 | ( | DifxInput * | , |
struct fblock_tag * | , | ||
int | , | ||
int | , | ||
int | , | ||
int | , | ||
int * | , | ||
double * | , | ||
struct stations * | , | ||
char * | , | ||
struct CommandLineOptions * | , | ||
FILE ** | , | ||
int | , | ||
char * | , | ||
char * | , | ||
char * | , | ||
char * | , | ||
int | , | ||
int | |||
) |
void normalize | ( | struct CommandLineOptions * | opts, |
vis_record * | vrec, | ||
int | nvrtot, | ||
int * | nvis, | ||
int * | vrsize, | ||
struct fblock_tag * | pfb | ||
) |
char* root_id | ( | int | year, |
int | day, | ||
int | hour, | ||
int | min, | ||
int | sec | ||
) |
char* root_id_break | ( | time_t | now, |
int | year, | ||
int | day, | ||
int | hour, | ||
int | min, | ||
int | sec | ||
) |
int root_id_delta | ( | time_t | now | ) |
short short_reverse | ( | short | i | ) |
char single_code | ( | char * | station, |
char * | fname | ||
) |
unsigned short unsig_reverse | ( | unsigned short | i | ) |