- Timestamp:
- Sep 8, 2014, 2:41:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/libautocode/def/common.h
r37034 r37376 34 34 # define DVO_IMAGE_NAME_LEN 117 35 35 36 typedef struct { 37 int Nx; 38 int Ny; 39 float *value; 40 float dX; 41 float dY; 42 float Xo; 43 float Yo; 44 } ImageMap; 45 46 /* Internal version of Coords (see CoordsDisk in libautocode/def/coords-disk.d) */ 47 typedef struct Coords { 48 double crval1; // coordinate at reference pixel 49 double crval2; // coordinate at reference pixel 50 float crpix1; // coordinate of reference pixel 51 float crpix2; // coordinate of reference pixel 52 float cdelt1; // degrees per pixel 53 float cdelt2; // degrees per pixel 54 float pc1_1; // rotation matrix 55 float pc1_2; // rotation matrix 56 float pc2_1; // rotation matrix 57 float pc2_2; // rotation matrix 58 float polyterms[7][2]; // higher order warping terms 59 char ctype[15]; // coordinate type 60 char Npolyterms; // order of polynomial 61 struct Coords *mosaic; // pointer to parent mosaic 62 ImageMap *imageMap; // pointer to image map transformation 63 } Coords; 64 65 typedef struct Image { 66 Coords coords; // astrometric data 67 e_time tzero; // readout time (row 0) 68 unsigned int nstar; // number of stars on image 69 float secz; // airmass (mag) 70 unsigned short NX; // image width 71 unsigned short NY; // image height 72 float apmifit; // aperture correction (mag) 73 float dapmifit; // apmifit error (mag) 74 float Mcal; // calibration mag (mag) 75 float dMcal; // error on Mcal (mag) 76 short Xm; // image chisq (10*log(value)) 77 short photcode; // identifier for CCD, 78 float exptime; // exposure time (seconds) 79 float sidtime; // sidereal time of exposure 80 float latitude; // observatory latitude (degrees) 81 float RAo; // image center (degrees) 82 float DECo; // image center (degrees) 83 float Radius; // image radius (degrees) 84 float refColorBlue; // median astrometry ref color 85 float refColorRed; // median astrometry ref color 86 char name[117]; // name of original image 87 unsigned char detection_limit; // detection limit (10*mag) 88 unsigned char saturation_limit; // saturation limit (10*mag) 89 unsigned char cerror; // astrometric error (50*arcsec) 90 unsigned char fwhm_x; // PSF x width (25*arcsec) 91 unsigned char fwhm_y; // PSF y width (25*arcsec) 92 unsigned char trate; // scan rate (100 usec/pixel) 93 unsigned char ccdnum; // CCD ID number 94 unsigned int flags; // image quality flags 95 unsigned int imageID; // internal image ID 96 unsigned int parentID; // associated ref image 97 unsigned int externID; // external image ID 98 unsigned short sourceID; // analysis source ID 99 short nLinkAstrom; // mean number of matched measurements for astrometry 100 short nLinkPhotom; // mean number of matched measurements for astrometry 101 short ubercalDist; // distance to nearest ubercal image 102 float dXpixSys; // systematic astrometry error in X 103 float dYpixSys; // systematic astrometry error in Y 104 float dMagSys; // systematic photometry error 105 unsigned short nFitAstrom; // number of stars used for astrometry cal 106 unsigned short nFitPhotom; // number of stars used for photometry cal 107 unsigned int photom_map_id; // reference to 2D zero point map 108 unsigned int astrom_map_id; // reference to 2D astrometry map 109 struct Image *parent; // pointer to parent mosaic (not save to disk) 110 } Image; 111 36 112 /*** rawshort is used to handle the broken pre-autocode photreg tables 37 113 fix the tables and remove this
Note:
See TracChangeset
for help on using the changeset viewer.
