- Timestamp:
- May 22, 2013, 4:54:28 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130509/Ohana/src/uniphot/include/fiximids.h
r35591 r35593 2 2 # include <dvo.h> 3 3 # include <signal.h> 4 5 typedef struct {6 unsigned int start;7 unsigned int stop;8 Coords coords;9 } Mosaic;10 4 11 5 // to determine the image ID, we need time (tzero + trate) and photcode … … 14 8 unsigned short NX; // image width 15 9 unsigned short NY; // image height 10 unsigned int nstar; // number of stars on the image 16 11 e_time tzero; // readout time (row 0) 17 12 unsigned char trate; // scan rate (100 usec/pixel) … … 28 23 char *SINGLE_CPT; 29 24 int VERBOSE; 30 int RESET; 25 int VERBOSE_IMSTATS; 26 int SUMMARY_IMSTATS; 27 char *IMSTATS_FILE; // location of partial imstats file for remote client 31 28 int UPDATE; 32 29 int PARALLEL; … … 40 37 void ConfigInit PROTO((int *argc, char **argv)); 41 38 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)); 39 void usage_fiximids PROTO(()); 40 void initialize_fiximids PROTO((int argc, char **argv)); 41 int args_fiximids PROTO((int argc, char **argv)); 42 43 void usage_fiximids_client PROTO(()); 44 void initialize_fiximids_client PROTO((int argc, char **argv)); 45 int args_fiximids_client PROTO((int argc, char **argv)); 51 46 52 47 ImageSubset *ImageSubsetLoad PROTO((char *filename, off_t *nimage)); 53 48 int ImageSubsetSave PROTO((char *filename, ImageSubset *image, off_t Nimage)); 54 Image *ImagesFromSubset PROTO((ImageSubset *subset, off_t N));55 49 ImageSubset *ImagesToSubset PROTO((Image *image, off_t N)); 56 50 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));60 51 void set_db PROTO((FITS_DB *in)); 61 52 int Shutdown PROTO((char *format, ...) OHANA_FORMAT(printf, 1, 2) ); … … 64 55 int SetSignals PROTO((void)); 65 56 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)); 57 Image *load_images_fiximids PROTO((FITS_DB *db, off_t *Nimage)); 58 int update_dvo_fiximids PROTO((ImageSubset *image, off_t Nimage)); 59 int update_dvo_fiximids_parallel PROTO((SkyTable *sky, ImageSubset *image, off_t Nimage)); 60 61 void update_catalog_fiximids PROTO((Catalog *catalog)); 69 62 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)); 63 void sort_image_times PROTO((e_time *S, e_time *E, short *C, unsigned int *I, unsigned int *Q, off_t N)); 64 int FindImageID PROTO((off_t *ID, off_t *Seq, e_time time, short photcode)); 65 void initImageIndex PROTO((ImageSubset *image, off_t Nimage_init)); 72 66 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)); 67 void BumpValidImage PROTO((int Seq)); 68 void BumpInvalidImage PROTO((int Seq)); 69 void CompareImageCounts PROTO((ImageSubset *image, off_t Nimage_comp)); 70 void SummaryImageStats PROTO((ImageSubset *image, off_t Nimage_comp)); 71 72 int ImageValidSave PROTO((char *filename)); 73 int ImageValidLoad PROTO((char *filename));
Note:
See TracChangeset
for help on using the changeset viewer.
