IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 26, 2012, 8:10:41 AM (14 years ago)
Author:
eugene
Message:

adding tamas rings, tools for making boundary tree and using it in psphot, etc

File:
1 edited

Legend:

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

    r34207 r34210  
    293293} DVOTinyValueMode;
    294294
     295# define BOUNDARY_TREE_NAME_LENGTH 128
     296
     297typedef struct {
     298  int FixedGridDEC;           // is the DEC sequence linear?
     299  int FixedGridRA;            // in the RA sequence in a zone linear?
     300
     301  double DEC_origin;
     302  double DEC_offset;
     303
     304  int Nzone;
     305  double *RA_origin;
     306  double *RA_offset;
     307
     308  int *Nband;
     309  int *NBAND;
     310
     311  double   **ra;
     312  double  **dec;
     313  int    **cell;
     314  char  ***name;
     315} BoundaryTree;
     316
    295317// XXX DROP? // a reduced-subset structure for relastro
    296318// XXX DROP? typedef struct {
     
    662684int free_tiny_values (Catalog *catalog);
    663685
     686int BoundaryTreeCellCoords (BoundaryTree *tree, int *zone, int *band, double ra, double dec);
     687int BoundaryTreeSave(char *filename, BoundaryTree *tree);
     688BoundaryTree *BoundaryTreeLoad(char *filename);
     689
    664690# endif // DVO_H
    665 
Note: See TracChangeset for help on using the changeset viewer.