IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2769


Ignore:
Timestamp:
Dec 20, 2004, 7:25:45 PM (22 years ago)
Author:
eugene
Message:

cleaning up spreg

Location:
trunk/Ohana/src/imregister
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/include/spreg.h

    r2488 r2769  
    1818  SPSTATE_N
    1919};
     20
     21/* structure for Image Registration Database */
     22typedef struct {
     23  float ra, dec;
     24  float exptime;
     25  float airmass;
     26
     27  float Ws, We, dW;
     28
     29  int  Nspec;
     30
     31  unsigned long int obstime;
     32  unsigned long int regtime;
     33
     34  char mode;                       /* MEF, SINGLE, SPLIT */
     35  char state;                      /* MEF, SINGLE, SPLIT */
     36  char flag;                       /* image status flags */
     37  char extra[13];
     38
     39  char pathname[64];
     40  char filename[32];
     41  char extname[16];
     42
     43  char instrument[16];
     44  char telescope[16];
     45  char objname[16];
     46
     47} Spectrum;  /* 328 bytes / image */
    2048
    2149struct {
     
    72100char *PIDFILE;
    73101int LOOP_DELAY;
     102int DUMP;
    74103
    75104char SpectrumDB[64];
  • trunk/Ohana/src/imregister/src/spregister.c

    r2488 r2769  
    11# include "imregister.h"
    22# include "spreg.h"
    3 static char *version = "spregister $Revision: 1.1.1.1 $";
     3static char *version = "spregister $Revision: 1.2 $";
    44
    55int main (int argc, char **argv) {
     
    1212  args (argc, argv);
    1313  spectrum = spinfo (argv[1]);
     14
     15  if (DUMP) showinfo (spectrum);
    1416
    1517  Nnew = 1;
Note: See TracChangeset for help on using the changeset viewer.