#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <glib.h>
#include "Obit.h"
#include "ObitErr.h"
#include "ObitThread.h"
#include "ObitInfoList.h"
#include "ObitOTFSkyModel.h"
#include "ObitOTFDesc.h"
#include "ObitTableOTFArrayGeom.h"
Go to the source code of this file.
Classes | |
struct | ObitOTFArrayGeom |
ObitOTFArrayGeom Class structure. More... | |
struct | ObitOTFArrayGeomClassInfo |
ClassInfo Structure. More... | |
Defines | |
#define | ObitOTFArrayGeomUnref(in) ObitUnref (in) |
Macro to unreference (and possibly destroy) an ObitOTFArrayGeom returns a ObitOTFArrayGeom*. | |
#define | ObitOTFArrayGeomRef(in) ObitRef (in) |
Macro to reference (update reference count) an ObitOTFArrayGeom. | |
#define | ObitOTFArrayGeomIsA(in) ObitIsA (in, ObitOTFArrayGeomGetClass()) |
Macro to determine if an object is the member of this or a derived class. | |
Typedefs | |
typedef void(* | ObitOTFArrayGeomCreateFP )(glong ndetect) |
Typedef for definition of class pointer structure. | |
Functions | |
void | ObitOTFArrayGeomClassInit (void) |
Publi: Class initializer. | |
ObitOTFArrayGeom * | newObitOTFArrayGeom (gchar *name) |
Public: Default Constructor. | |
ObitOTFArrayGeom * | ObitOTFArrayGeomCreate (glong ndetect) |
Public: Create/initialize ObitOTFArrayGeom structures. | |
gconstpointer | ObitOTFArrayGeomGetClass (void) |
Public: ClassInfo pointer. | |
ObitOTFArrayGeom * | ObitOTFArrayGeomCopy (ObitOTFArrayGeom *in, ObitOTFArrayGeom *out, ObitErr *err) |
Public: Copy (deep) constructor. | |
ObitOTFArrayGeom * | ObitOTFArrayGeomAver (ObitOTFArrayGeom *in, ObitOTFDesc *inDesc, ObitOTFArrayGeom *out, ObitOTFDesc *outDesc, ObitErr *err) |
Public: Copy (deep) constructor averaging over frequency . | |
ObitIOCode | ObitOTFArrayGeomRead (ObitOTFArrayGeom **in, ObitTableOTFArrayGeom *table, ObitErr *err) |
Public: Read Table from disk. | |
ObitIOCode | ObitOTFArrayGeomWrite (ObitOTFArrayGeom *in, ObitTableOTFArrayGeom *table, ObitErr *err) |
Public: Write Table to disk. | |
gfloat | ObitOTFArrayGeomParAng (ObitOTFArrayGeom *in, gfloat time, gfloat ra, gfloat dec) |
Public: Get Parallactic angle for a given time and direction. | |
gfloat | ObitOTFArrayGeomElev (ObitOTFArrayGeom *in, gfloat time, gfloat ra, gfloat dec) |
Public: Get Elevation for a given time and direction. | |
void | ObitOTFArrayGeomCoord (ObitOTFArrayGeom *in, gfloat raPoint, gfloat decPoint, gfloat rot, gfloat *x, gfloat *y) |
Public: Get detector coordinates on sky. | |
void | ObitOTFArrayGeomProj (ObitOTFArrayGeom *in, gfloat raPoint, gfloat decPoint, gfloat rot, gfloat raProj, gfloat decProj, ObitOTFProj Proj, gfloat *x, gfloat *y) |
Public: Get detector locations projected onto a plane. | |
void | ObitOTFArrayGeomCorrPoint (gfloat azOff, gfloat elOff, gfloat pa, gfloat *raPoint, gfloat *decPoint) |
Public: Offset a celestial position in az, el. |
This class is for creating and manipulating Array geometry description objects for OTF data for the GBT
A copy of a pointer to an ObitOTFArrayGeom should always be made using the ObitOTFArrayGeomRef function which updates the reference count in the object. Then whenever freeing an ObitOTFArrayGeom or changing a pointer, the function ObitOTFArrayGeomUnref will decrement the reference count and destroy the object when the reference count hits 0. There is no explicit destructor.
|
Macro to determine if an object is the member of this or a derived class. Returns TRUE if a member, else FALSE in = object to reference |
|
Macro to reference (update reference count) an ObitOTFArrayGeom. returns a ObitOTFArrayGeom*. in = object to reference |
|
Macro to unreference (and possibly destroy) an ObitOTFArrayGeom returns a ObitOTFArrayGeom*. in = object to unreference |
|
Typedef for definition of class pointer structure.
|
|
Public: Default Constructor. Initializes class if needed on first call.
|
|
Public: Copy (deep) constructor averaging over frequency .
|
|
Publi: Class initializer.
|
|
Public: Get detector coordinates on sky.
|
|
Public: Copy (deep) constructor.
|
|
Public: Offset a celestial position in az, el.
|
|
Public: Create/initialize ObitOTFArrayGeom structures.
|
|
Public: Get Elevation for a given time and direction.
|
|
Public: ClassInfo pointer.
|
|
Public: Get Parallactic angle for a given time and direction.
|
|
Public: Get detector locations projected onto a plane.
|
|
Public: Read Table from disk.
|
|
Public: Write Table to disk.
|