/************************************************************************/ /* 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 */ long pltra,pltdec; /* Field coordinates */ char observer[24]; /* Observer */ char origin[24]; /* Instrument */ long 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[12]; /* Field image file */ char arfl[12]; /* Area descriptions file */ /* DETECTION PARAMETERS */ int minudt; /* Sky update threshold */ int nupdte; /* Pixels per new sky update */ long sa,sb; /* Coefficients for sky update */ long thrln0; /* Sigma above sky mean for detection */ long thrln1; /* Sigma below sky mean for detection */ int minarea; /* Minimum area to accept in catalog */ /* OBJECT EVALUATION PARAMETERS */ long magfst; /* Magnitude zero point */ long 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 */ long grow; /* Area expansion for total magnitudes */ long skyhw; /* Sky sigma */ long skybw; /* Width of sky hstgrm bin in sky sigma */ long sptbw; /* Width of splitting steps in sky sigma*/ long rfca; /* Radius of fixed circular aperture */ long 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 */ long subent; /* Object subentry number */ long sbr; /* Sky intensity */ long ssbr; /* Sigma of sky brightness */ long area; /* Isophotal area */ long tarea; /* Total light area */ long ispht; /* Average intensity of isophote pixels */ long xavg, yavg; /* Average x and y width */ long xc,yc; /* Scan coordinates of object */ long ra,dec; /* Reference system coordinates */ long Li; /* Isophotal luminosity */ long sLi; /* Sigma of isophotal intensities */ long Lc; /* Core luminosity */ long Lfca; /* Fixed circular aperature luminosity */ long Ltotal; /* Total luminosity */ long mag; /* Isophotal magnitude */ long icx,icy,ixx,iyy,ixy, /* Intensity weighted moments */ ir1,ir3,ir4; long cx,cy,xx,yy,xy,r1; /* Unweighted moments */ long fitxc,fityc; /* Resolution classifier fitting center */ long scale; /* Resolution classifier scale */ long frac; /* Resolution classifier fraction */ long prob; /* Resolution classifier probability */ long arpos; /* Position in area description file */ char miscale[36]; /* Scaling values */ }; struct micrule { /* CLASSIFICATION RULES */ long mag1,mag2; /* Magnitude interval */ long scl1,scl2; /* Scale interval */ long frc1,frc2; /* Fraction interval */ char class[5]; /* Classification */ char miscale[6]; /* MI scale factors */ }; struct miflmcv { /* INTENSITY-DENSITY DEFINITION */ PIXEL d; /* Pixel density */ long i; /* Pixel intensity */ long slope; /* Slope of relation */ char miscale[4]; /* MI scale factors */ };