/************************************************************************/ /* miformat.h valdes 7/22/88 */ /* */ /* Definitions for Machine Adaptable Catalog Format */ /************************************************************************/ #define MISWAP 0 /* Swap bytes on this machine? */ struct misgparm { /* CATALOG HEADER DATA STRUCTURE */ /* FIELD INFORMATION */ char pltnm[32]; /* Field name or descriptor */ char pltepoch[32]; /* Field epoch */ char band[2]; /* Field passband */ short pltexp; /* Field exposure or integration */ int pltra,pltdec; /* Field coordinates */ char observer[24]; /* Observer */ char origin[24]; /* Instrument */ int xfrm[3][3]; /* Coordinate transform matrix */ int comment; /* Number of comment lines */ /* SCAN INFORMATION */ int xs,ys; /* Starting point of scan */ int kpts; /* Number of points in scan line */ int kscan; /* Number of scan lines in image */ /* FOCAS PROCESSING INFORMATION */ char dtestr[32]; /* Date processing commenced */ int pflags; /* Processing flags */ char ptfl[SZ_FNAME]; /* Field image file */ char arfl[SZ_FNAME]; /* Area descriptions file */ /* DETECTION PARAMETERS */ int minudt; /* Sky update threshold */ int nupdte; /* Pixels per new sky update */ int sa,sb; /* Coefficients for sky update */ int thrln0; /* Sigma above sky mean for detection */ int thrln1; /* Sigma below sky mean for detection */ int minarea; /* Minimum area to accept in catalog */ /* OBJECT EVALUATION PARAMETERS */ int magfst; /* Magnitude zero point */ int maglim; /* Maximum mag to accept in catalog */ int skwdth; /* Width of sky evaluation border */ int satr; /* Density level for saturation flag */ int buf; /* Buffer width between object and sky */ int grow; /* Area expansion for total magnitudes */ int skyhw; /* Sky sigma */ int skybw; /* Width of sky hstgrm bin in sky sigma */ int sptbw; /* Width of splitting steps in sky sigma*/ int rfca; /* Radius of fixed circular aperture */ int sig; /* Significance test */ /* TEMPLATE FITTING AND CLASSIFICATION */ int fx,fy; /* Size of detection filter */ int nden; /* Number of points in intensity curve */ int nx,ny; /* Size of template */ int nrules; /* Number of classification rules */ char miscale[24]; /* MI scales */ }; struct mirec { /* MACHINE INDEPENDENT DATA STRUCTURE */ short entnum; /* Object entry number */ short eflgs; /* Flags */ short nsbr; /* Number of pixels used to evaluate sky*/ char class[5]; /* Object classification */ int subent; /* Object subentry number */ int sbr; /* Sky intensity */ int ssbr; /* Sigma of sky brightness */ int area; /* Isophotal area */ int tarea; /* Total light area */ int ispht; /* Average intensity of isophote pixels */ int xavg, yavg; /* Average x and y width */ int xc,yc; /* Scan coordinates of object */ int ra,dec; /* Reference system coordinates */ int Li; /* Isophotal luminosity */ int sLi; /* Sigma of isophotal intensities */ int Lc; /* Core luminosity */ int Lfca; /* Fixed circular aperature luminosity */ int Ltotal; /* Total luminosity */ int mag; /* Isophotal magnitude */ int icx,icy,ixx,iyy,ixy, /* Intensity weighted moments */ ir1,ir3,ir4; int cx,cy,xx,yy,xy,r1; /* Unweighted moments */ int fitxc,fityc; /* Resolution classifier fitting center */ int scale; /* Resolution classifier scale */ int frac; /* Resolution classifier fraction */ int prob; /* Resolution classifier probability */ int arpos; /* Position in area description file */ char miscale[36]; /* Scaling values */ }; struct micrule { /* CLASSIFICATION RULES */ int mag1,mag2; /* Magnitude interval */ int scl1,scl2; /* Scale interval */ int frc1,frc2; /* Fraction interval */ char class[5]; /* Classification */ char miscale[6]; /* MI scale factors */ }; struct miflmcv { /* INTENSITY-DENSITY DEFINITION */ PIXEL d; /* Pixel density */ int i; /* Pixel intensity */ int slope; /* Slope of relation */ char miscale[4]; /* MI scale factors */ };