IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2015, 6:14:36 PM (11 years ago)
Author:
eugene
Message:

setphot is nearly working

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/uniphot/include/setphot.h

    r39262 r39272  
    3535  int NyCCD;    // number of pixels
    3636
     37  e_time *tstart;
     38  e_time *tstop;
     39
     40  Header *phu;
    3741  Matrix **matrix; // allocate an array of pointers
     42  Header **header; // allocate an array of pointers
     43 
    3844  // index = ix + iy*Nx + filter*Nchips + dir*Ngroup
    3945} CamCorrection;
     
    4753char        *IMAGES;
    4854char        *SINGLE_CPT;
     55char        *CAM_FILE;
    4956int          VERBOSE;
    5057int          RESET;
     
    8996Image        *load_images_setphot    PROTO((FITS_DB *db, off_t *Nimage));
    9097int           match_zpts_to_images   PROTO((Image *image, off_t Nimage, ZptTable *zpts, int Nzpts));
    91 int           update_dvo_setphot     PROTO((Image *image, off_t Nimage, FlatCorrectionTable *flatcorr));
    92 void          update_catalog_setphot PROTO((Catalog *catalog, Image *image, off_t *index, off_t Nimage, FlatCorrectionTable *flatcorr));
     98int           update_dvo_setphot     PROTO((Image *image, off_t Nimage, CamCorrection *camcorr));
     99void          update_catalog_setphot PROTO((Catalog *catalog, Image *image, off_t *index, off_t Nimage, CamCorrection *camcorr));
    93100void          update_catalog_setphot_client PROTO((Catalog *catalog, ImageSubset *image, off_t *index, off_t Nimage, FlatCorrectionTable *flatcorr));
    94101
     
    100107float         apply_zpt_offset            PROTO((short code));
    101108
    102 int repair_catalog_by_objID (Catalog *catalog);
     109int           repair_catalog_by_objID     PROTO((Catalog *catalog));
     110
     111void           free_cam_correction          PROTO((CamCorrection *cam));
     112CamCorrection *alloc_cam_correction         PROTO((int Nx, int Ny, int Nfilter, int Nseason));
     113CamCorrection *load_cam_correction          PROTO((char *filename));
     114int            save_cam_correction          PROTO((CamCorrection *cam, char *filename));
     115// int            get_cam_correction        PROTO((int chipID, int filter, float Xccd, float Yccd, double *dX, double *dY));
     116float          get_cam_correction           PROTO((CamCorrection *cam, int flat_id, float Xccd, float Yccd));
     117CamCorrection *merge_flatcorr_and_camcorr   PROTO((FlatCorrectionTable *flatcorr, CamCorrection *camcorr));
     118
     119int            match_camcorr_to_images      PROTO((Image *image, off_t Nimage, CamCorrection *camcorr));
Note: See TracChangeset for help on using the changeset viewer.