IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 22, 2013, 4:54:28 PM (13 years ago)
Author:
eugene
Message:

fiximids seems to be working correctly now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130509/Ohana/src/uniphot/include/fiximids.h

    r35591 r35593  
    22# include <dvo.h>
    33# include <signal.h>
    4 
    5 typedef struct {
    6   unsigned int start;
    7   unsigned int stop;
    8   Coords coords;
    9 } Mosaic;
    104
    115// to determine the image ID, we need time (tzero + trate) and photcode
     
    148  unsigned short   NX;                   // image width
    159  unsigned short   NY;                   // image height
     10  unsigned int     nstar;                // number of stars on the image
    1611  e_time           tzero;                // readout time (row 0)
    1712  unsigned char    trate;                // scan rate (100 usec/pixel)
     
    2823char        *SINGLE_CPT;
    2924int          VERBOSE;
    30 int          RESET;
     25int          VERBOSE_IMSTATS;
     26int          SUMMARY_IMSTATS;
     27char        *IMSTATS_FILE; // location of partial imstats file for remote client
    3128int          UPDATE;
    3229int          PARALLEL;
     
    4037void          ConfigInit                        PROTO((int *argc, char **argv));
    4138
    42 void          usage_fiximids                 PROTO(());
    43 void          initialize_fiximids            PROTO((int argc, char **argv));
    44 int           args_fiximids                  PROTO((int argc, char **argv));
    45 
    46 void          usage_fiximids_client          PROTO(());
    47 void          initialize_fiximids_client     PROTO((int argc, char **argv));
    48 int           args_fiximids_client           PROTO((int argc, char **argv));
    49 
    50 // int           update_dvo_fiximids_client  PROTO((ImageSubset *image, off_t Nimage, FlatCorrectionTable *flatcorr));
     39void          usage_fiximids                    PROTO(());
     40void          initialize_fiximids               PROTO((int argc, char **argv));
     41int           args_fiximids                     PROTO((int argc, char **argv));
     42                                               
     43void          usage_fiximids_client             PROTO(());
     44void          initialize_fiximids_client        PROTO((int argc, char **argv));
     45int           args_fiximids_client              PROTO((int argc, char **argv));
    5146
    5247ImageSubset  *ImageSubsetLoad                   PROTO((char *filename, off_t *nimage));
    5348int           ImageSubsetSave                   PROTO((char *filename, ImageSubset *image, off_t Nimage));
    54 Image        *ImagesFromSubset                  PROTO((ImageSubset *subset, off_t N));
    5549ImageSubset  *ImagesToSubset                    PROTO((Image *image, off_t N));
    5650
    57 void          lock_image_db                     PROTO((FITS_DB *db, char *filename));
    58 void          unlock_image_db                   PROTO((FITS_DB *db));
    59 void          create_image_db                   PROTO((FITS_DB *db));
    6051void          set_db                            PROTO((FITS_DB *in));
    6152int           Shutdown                          PROTO((char *format, ...) OHANA_FORMAT(printf, 1, 2) );
     
    6455int           SetSignals                        PROTO((void));
    6556
    66 Image        *load_images_fiximids           PROTO((FITS_DB *db, off_t *Nimage));
    67 int           update_dvo_fiximids            PROTO((ImageSubset *image, off_t Nimage));
    68 int           update_dvo_fiximids_parallel   PROTO((SkyTable *sky, ImageSubset *image, off_t Nimage));
     57Image        *load_images_fiximids              PROTO((FITS_DB *db, off_t *Nimage));
     58int           update_dvo_fiximids               PROTO((ImageSubset *image, off_t Nimage));
     59int           update_dvo_fiximids_parallel      PROTO((SkyTable *sky, ImageSubset *image, off_t Nimage));
     60                                               
     61void          update_catalog_fiximids           PROTO((Catalog *catalog));
    6962
    70 void          update_catalog_fiximids        PROTO((Catalog *catalog, ImageSubset *image, off_t *index, off_t Nimage));
    71 int           fiximids_local_astrometry      PROTO((float *posAngle, float *pltScale, double x, double y, Coords *mosaic, Coords *coords));
     63void          sort_image_times                  PROTO((e_time *S, e_time *E, short *C, unsigned int *I, unsigned int *Q, off_t N));
     64int           FindImageID                       PROTO((off_t *ID, off_t *Seq, e_time time, short photcode));
     65void          initImageIndex                    PROTO((ImageSubset *image, off_t Nimage_init));
    7266
    73 off_t         getMosaicByTimes                  PROTO((unsigned int start, unsigned int stop, unsigned int *startMos, unsigned int *stopMos, off_t *indexMos));
    74 void          sort_mosaic_times                 PROTO((unsigned int *S, unsigned int *E, off_t *I, off_t N));
    75 void          initMosaics                       PROTO((ImageSubset *image, off_t Nimage));
    76 Mosaic       *getMosaicForImage                 PROTO((off_t im));
     67void          BumpValidImage                    PROTO((int Seq));
     68void          BumpInvalidImage                  PROTO((int Seq));
     69void          CompareImageCounts                PROTO((ImageSubset *image, off_t Nimage_comp));
     70void          SummaryImageStats                 PROTO((ImageSubset *image, off_t Nimage_comp));
     71
     72int           ImageValidSave                    PROTO((char *filename));
     73int           ImageValidLoad                    PROTO((char *filename));
Note: See TracChangeset for help on using the changeset viewer.