IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 11, 2014, 3:39:54 PM (12 years ago)
Author:
eugene
Message:

adding image maps

File:
1 edited

Legend:

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

    r37377 r37386  
    3636
    3737typedef enum {DVO_CAT_OPEN_FAIL, DVO_CAT_OPEN_OK, DVO_CAT_OPEN_EMPTY} DVOCatalogOpenModes;
    38 
    39 typedef enum {
    40   PROJ_NONE, // undefined
    41   PROJ_ZEA, // zenithal
    42   PROJ_ZPL, // zenithal
    43   PROJ_ARC, // zenithal
    44   PROJ_STG, // zenithal
    45   PROJ_SIN, // zenithal
    46   PROJ_TAN, // zenithal
    47   PROJ_TNX, // zenithal
    48   PROJ_DIS, // zenithal (TAN + polyterms)
    49   PROJ_LIN, // cartesian
    50   PROJ_PLY, // cartesian
    51   PROJ_WRP, // cartesian
    52   PROJ_AIT, // pseudocyl
    53   PROJ_GLS, // pseudocyl
    54   PROJ_PAR, // pseudocyl
    55 } OhanaProjection;
    56 
    57 typedef enum {
    58   PROJ_MODE_NONE,
    59   PROJ_MODE_CARTESIAN,
    60   PROJ_MODE_ZENITHAL,
    61   PROJ_MODE_PSEUDOCYL,
    62 } OhanaProjectionMode;
    6338
    6439// these are used as NAN for types of int values
     
    202177} DVOSecfiltFlags;
    203178
     179/* definitions for parallel dvo host information
     180   XXX : need better names (safer namespace)
     181*/
     182
     183typedef enum {
     184  DATA_ON_TGT  = 0x01,
     185  DATA_ON_BCK  = 0x02,
     186  DATA_USE_BCK = 0x04,
     187
     188  DATA_COPY_FAILURE = 0x80,
     189} SkyTableDataFlags;
     190
     191typedef enum {
     192  HOST_STDIN = 0,
     193  HOST_STDOUT = 1,
     194  HOST_STDERR = 2,
     195} HostInfoIOfd;
     196
    204197/*** general dvo structures (internal use only / not IO) ***/
    205198
     
    252245  e_time *tstop;
    253246} FlatCorrectionTable;
    254 
    255 /* definitions for parallel dvo host information
    256    XXX : need better names (safer namespace)
    257 */
    258 
    259 typedef enum {
    260   DATA_ON_TGT  = 0x01,
    261   DATA_ON_BCK  = 0x02,
    262   DATA_USE_BCK = 0x04,
    263 
    264   DATA_COPY_FAILURE = 0x80,
    265 } SkyTableDataFlags;
    266 
    267 typedef enum {
    268   HOST_STDIN = 0,
    269   HOST_STDOUT = 1,
    270   HOST_STDERR = 2,
    271 } HostInfoIOfd;
    272247
    273248typedef struct {
     
    738713int   gfits_db_free                PROTO((FITS_DB *db));
    739714
    740 /* in coords.c, using libautocode/def/coords.d */
    741 int  XY_to_LM (double *L, double *M, double x,  double y,   Coords *coords);
    742 int  LM_to_XY (double *x,  double *y,   double L, double M, Coords *coords);
    743 int  RD_to_LM (double *L, double *M, double ra,  double dec,   Coords *coords);
    744 int  LM_to_RD (double *ra, double *dec,   double L, double M, Coords *coords);
    745 int  XY_to_RD (double *ra, double *dec, double x,  double y,   Coords *coords);
    746 int  RD_to_XY (double *x,  double *y,   double ra, double dec, Coords *coords);
    747 int  fXY_to_RD (float *ra, float *dec, double x,  double y,   Coords *coords);
    748 int  fRD_to_XY (float *x,  float *y,   double ra, double dec, Coords *coords);
    749 int  GetCoords (Coords *coords, Header *header);
    750 int  PutCoords (Coords *coords, Header *header);
    751 void RegisterMosaic (Coords *coords);
    752 void coords_precess (double *ra, double *dec, double in_epoch, double out_epoch);
    753 OhanaProjection GetProjection (char *ctype);
    754 int SetProjection (char *ctype, OhanaProjection proj);
    755 OhanaProjectionMode GetProjectionMode (OhanaProjection proj);
    756 
    757715char *libdvo_version (void);
    758716
Note: See TracChangeset for help on using the changeset viewer.