IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36465


Ignore:
Timestamp:
Feb 1, 2014, 6:04:30 AM (12 years ago)
Author:
eugene
Message:

extending boundary tree stuff to support local tessallations (not ready yet)e

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20131211/Ohana/src/libdvo/include/dvo.h

    r36408 r36465  
    308308# define BOUNDARY_TREE_NAME_LENGTH 128
    309309
     310// BoundaryTree is a structure to describe the 3pi RINGS skycell boundaries in terms of lines of constant (RA,DEC)
     311// the structure is flexible for a variety of RINGS-like tessellations, but is not appropriate for the LOCAL style tess
    310312typedef struct {
    311313  int FixedGridDEC;           // is the DEC sequence linear?
     
    342344} BoundaryTree;
    343345
    344 // XXX DROP? // a reduced-subset structure for relastro
    345 // XXX DROP? typedef struct {
    346 // XXX DROP?   double         R;
    347 // XXX DROP?   double         D;
    348 // XXX DROP?   unsigned short Nmeasure;
    349 // XXX DROP?   int            measureOffset;
    350 // XXX DROP?   uint32_t       flags;
    351 // XXX DROP?   int            catID;
    352 // XXX DROP? } AverageTinyAstro;
     346typedef enum { TESS_NONE, TESS_LOCAL, TESS_RINGS } TessType;
     347
     348// TessallationBoundaries is a structure to describe the LOCAL skycell boundaries in terms of lines of constant (RA,DEC)
     349// the structure describes the boundaries of a SINGLE projection cell with Nx * Ny skycells
     350typedef struct {
     351  double Rmin; // this tessellation is valid only for RA >= Rmin
     352  double Rmax; // this tessellation is valid only for RA <  Rmax
     353  double Dmin; // this tessellation is valid only for DEC >= Dmin
     354  double Dmax; // this tessellation is valid only for DEC <  Dmax
     355
     356  double Xo;
     357  double Yo;
     358  double Ro;
     359  double Do;
     360  double dPix;
     361  int dX;
     362  int dY;
     363
     364  int NX_SUB;
     365  int NY_SUB;
     366
     367  TessType type;
     368  BoundaryTree *tree;
     369} TessallationBoundary;
    353370
    354371// a reduced-subset structure for relphot
Note: See TracChangeset for help on using the changeset viewer.