IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 25, 2005, 6:24:57 AM (21 years ago)
Author:
eugene
Message:

moving average, photcode, measure, etc to autocode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libohana/include/elixir.h

    r3609 r4026  
    1515
    1616# if (0)
    17 /* structure for Image Registration Database */
    18 typedef struct {
    19   char filename[64];
    20   char pathname[128];
    21   char filter[32];
    22   char instrument[32];
    23   char ccd;                        /* an identifier for CCD in mosaic (0 for single ccd) */
    24   char mode;                       /* MEF, SINGLE, SPLIT */
    25   char type;                       /* image type */
    26   char flag;                       /* image status flags */
    27   char seq;                        /* cube sequence number */
    28   char junk[23];
    29  
    30   float exptime;
    31   float airmass;
    32   float sky;
    33   float bias;
    34   float fwhm;
    35 
    36   float telfocus;
    37   float xprobe, yprobe, zprobe;
    38   float dettemp;
    39   float teltemp[4];
    40   float rotangle;
    41   float ra, dec;
    42 
    43   e_time obstime;
    44   e_time regtime;
    45 } RegImage;  /* 360 bytes / image */
    46 # endif
    47 
    48 # if (0)
    49 /* Detrend Database structure */
    50 typedef struct {
    51   e_time tstart;
    52   e_time tstop;
    53   e_time treg;
    54   float exptime;
    55   int type;
    56   int filter;
    57   int ccd;
    58   int Nentry;
    59   int Norder;
    60   char mode;
    61   char altpath;   /* true: data on alt db paths */
    62   char dummy[58]; /* for future expansion */
    63   char label[64];
    64   char filename[256];
    65 } DetReg;    /* 416 bytes */
    66 # endif
    67 
    6817/* average data as stored in the LONEOS database */
    6918typedef struct {
     
    11160} SecFilt; /* 6 byte / SecFilt */
    11261
    113 /* image structure for binary data storage of image data */
    114 typedef struct {
    115   Coords         coords;            /* 120 bytes */
    116   unsigned int   tzero;             /* readout time row 0 in sec (0 - 142 years valid range) */
    117   unsigned int   nstar;             /* number of stars on image */
    118   short int      secz;              /* thousanths of airmass (valid range -32.000 -- 32.000) */
    119   short int      NX, NY;            /* dimensions of image */
    120   short int      apmifit, dapmifit; /* aperture correction and error in thousandths of mag */
    121   short int      source;            /* identifier for CCD (each ever used will have a unique letter) */
    122   short int      Mcal;              /* thousandths of mag (-32.000 -- 32.000 valid range) */
    123   short int      dMcal;             /* thousandths of mag (-32.000 -- 32.000 valid range) */
    124   short int      Xm;                /* 10*log(image chi-square) */
    125   char           name[32];          /* name of original image */
    126   unsigned char  detection_limit;   /* tenths of mag (0.0 - 25.6 valid range) */
    127   unsigned char  saturation_limit;  /* tenths of mag (0.0 - 25.6 valid range) */
    128   unsigned char  cerror;            /* astrometric error: 1/50 of arcsec (0 -- 5.12 valid range) */
    129   unsigned char  fwhm_x, fwhm_y;    /* PSF terms in 25*arcsec (valid range 0.0 -- 10.2" ") */
    130   unsigned char  trate;             /* 10000 * scan rate in sec/pix (0 -- 0.0256 valid range,
    131                                        typically 0.0146. this is used only to determine the time
    132                                        of the observation, not to find the coordinates.  1 byte
    133                                        gives 0.11 sec accuracy */
    134   float          exptime;           /* exposure time, seconds */
    135   char           code;              /* flag to mark an image as bad or whatever */
    136   unsigned char  ccdnum;            /* mosaic CCD ID number (IMAGEID) */
    137   char           dummy[20];         /* extra space for the future */
    138   short int      order;             /* number of terms used for Mrel */
    139   short int      Mx, My;
    140   short int      Mxx, Mxy, Myy;
    141   short int      Mxxx, Mxxy, Mxyy, Myyy;
    142   short int      Mxxxx, Mxxxy, Mxxyy, Mxyyy, Myyyy;
    143 } Image;  /* 240 bytes / Image */
    144 /* Image needs to be aligned with 8-byte boundaries on Suns */
    145 
    146 /************  end of database structures ************************************/
    147 
    148 /* structure for data on a catalog region */
    149 typedef struct {
    150   char filename[256];
    151   double DEC[2], RA[2];
    152 } GSCRegion;
    153 
    15462typedef struct {
    15563  unsigned short int code;   /* code number (stored in Measure.source) */
     
    16371  float X[4];                /* color terms X[0]*mc + X[1]*mc^2 + X[2]*mc^3, etc */
    16472} PhotCode;
     73# endif
     74
     75/************  end of database structures ************************************/
     76
     77/* structure for data on a catalog region */
     78typedef struct {
     79  char filename[256];
     80  double DEC[2], RA[2];
     81} GSCRegion;
    16582
    16683typedef struct {
Note: See TracChangeset for help on using the changeset viewer.