IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2015, 8:17:35 PM (11 years ago)
Author:
eugene
Message:

adding cam correction options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150112/Ohana/src/uniphot/include/setastrom.h

    r37910 r37913  
    1313// we have one correction (an image) for each filter and chip
    1414typedef struct {
    15   int Nvalues;
    16   int Nfilters; // number of filters
    17   int NchipX;   // number of chips in x
    18   int NchipY;   // number of chips in y
     15  int Nx;       // number of chips in x
     16  int Ny;       // number of chips in y
     17  int Nfilter;  // number of filters
     18  int Ndir;     // number of correction dimensions
     19
     20  int Nchips;   // chip offset (Nx*Ny)
     21  int Ngroup;   // direction offset (Nx*Ny*Nfilters)
     22  int Nvalues;  // Nx*Ny*Nfilters*Ndir
     23
     24  int dX;       // superpixel size
     25  int dY;       // superpixel size
     26
    1927  int NxCCD;    // number of pixels
     28  int NyCCD;    // number of pixels
     29
    2030  Matrix **matrix; // allocate an array of pointers
    21   // index = ix + iy*Nx + filter*Nx*Ny + dir*Nx*Ny*Nfilter
     31  // index = ix + iy*Nx + filter*Nchips + dir*Ngroup
    2232} CamCorrection;
    2333
     
    3848char        *KH_FILE;
    3949char        *DCR_FILE;
     50char        *CAM_FILE;
    4051
    4152int          KH_RESET;
    4253int          DCR_RESET;
     54int          CAM_RESET;
    4355
    4456SkyRegion    UserPatch;
     
    7688int load_dcr_correction (char *filename);
    7789int get_dcr_correction (int filter, double *dX, double *dY, float Color);
     90
     91int load_cam_correction (char *filename);
     92int get_cam_correction (int chipID, int filter, float Xccd, float Yccd, double *dX, double *dY);
Note: See TracChangeset for help on using the changeset viewer.