- 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/libautocode/def/common.h
r37376 r37386 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 pixel49 double crval2; // coordinate at reference pixel50 float crpix1; // coordinate of reference pixel51 float crpix2; // coordinate of reference pixel52 float cdelt1; // degrees per pixel53 float cdelt2; // degrees per pixel54 float pc1_1; // rotation matrix55 float pc1_2; // rotation matrix56 float pc2_1; // rotation matrix57 float pc2_2; // rotation matrix58 float polyterms[7][2]; // higher order warping terms59 char ctype[15]; // coordinate type60 char Npolyterms; // order of polynomial61 struct Coords *mosaic; // pointer to parent mosaic62 ImageMap *imageMap; // pointer to image map transformation63 } Coords;64 65 typedef struct Image {66 Coords coords; // astrometric data67 e_time tzero; // readout time (row 0)68 unsigned int nstar; // number of stars on image69 float secz; // airmass (mag)70 unsigned short NX; // image width71 unsigned short NY; // image height72 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 exposure80 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 color85 float refColorRed; // median astrometry ref color86 char name[117]; // name of original image87 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 number94 unsigned int flags; // image quality flags95 unsigned int imageID; // internal image ID96 unsigned int parentID; // associated ref image97 unsigned int externID; // external image ID98 unsigned short sourceID; // analysis source ID99 short nLinkAstrom; // mean number of matched measurements for astrometry100 short nLinkPhotom; // mean number of matched measurements for astrometry101 short ubercalDist; // distance to nearest ubercal image102 float dXpixSys; // systematic astrometry error in X103 float dYpixSys; // systematic astrometry error in Y104 float dMagSys; // systematic photometry error105 unsigned short nFitAstrom; // number of stars used for astrometry cal106 unsigned short nFitPhotom; // number of stars used for photometry cal107 unsigned int photom_map_id; // reference to 2D zero point map108 unsigned int astrom_map_id; // reference to 2D astrometry map109 struct Image *parent; // pointer to parent mosaic (not save to disk)110 } Image;111 112 36 /*** rawshort is used to handle the broken pre-autocode photreg tables 113 37 fix the tables and remove this
Note:
See TracChangeset
for help on using the changeset viewer.
