- Timestamp:
- Sep 11, 2014, 3:39:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/libdvo/include/dvo.h
r37377 r37386 36 36 37 37 typedef enum {DVO_CAT_OPEN_FAIL, DVO_CAT_OPEN_OK, DVO_CAT_OPEN_EMPTY} DVOCatalogOpenModes; 38 39 typedef enum {40 PROJ_NONE, // undefined41 PROJ_ZEA, // zenithal42 PROJ_ZPL, // zenithal43 PROJ_ARC, // zenithal44 PROJ_STG, // zenithal45 PROJ_SIN, // zenithal46 PROJ_TAN, // zenithal47 PROJ_TNX, // zenithal48 PROJ_DIS, // zenithal (TAN + polyterms)49 PROJ_LIN, // cartesian50 PROJ_PLY, // cartesian51 PROJ_WRP, // cartesian52 PROJ_AIT, // pseudocyl53 PROJ_GLS, // pseudocyl54 PROJ_PAR, // pseudocyl55 } OhanaProjection;56 57 typedef enum {58 PROJ_MODE_NONE,59 PROJ_MODE_CARTESIAN,60 PROJ_MODE_ZENITHAL,61 PROJ_MODE_PSEUDOCYL,62 } OhanaProjectionMode;63 38 64 39 // these are used as NAN for types of int values … … 202 177 } DVOSecfiltFlags; 203 178 179 /* definitions for parallel dvo host information 180 XXX : need better names (safer namespace) 181 */ 182 183 typedef 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 191 typedef enum { 192 HOST_STDIN = 0, 193 HOST_STDOUT = 1, 194 HOST_STDERR = 2, 195 } HostInfoIOfd; 196 204 197 /*** general dvo structures (internal use only / not IO) ***/ 205 198 … … 252 245 e_time *tstop; 253 246 } FlatCorrectionTable; 254 255 /* definitions for parallel dvo host information256 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;272 247 273 248 typedef struct { … … 738 713 int gfits_db_free PROTO((FITS_DB *db)); 739 714 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 757 715 char *libdvo_version (void); 758 716
Note:
See TracChangeset
for help on using the changeset viewer.
