IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41611


Ignore:
Timestamp:
May 25, 2021, 2:07:13 PM (5 years ago)
Author:
eugene
Message:

added code to output a basic dump of the grid corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/relphot.20210521/include/relphot.h

    r41607 r41611  
    136136  int      nCode;
    137137} TGTimes;
     138
     139typedef struct {
     140  unsigned short photcode;
     141  float **Mgrid; // grid of average corrections
     142  float **dMgrid; // grid of stdev of corrections
     143    int **nMgrid; // grid of number of stars for corrections
     144  int Nx; // bin = int(Xchip * (Nx / NxChip))
     145  int Ny; // bin = int(Ychip * (Ny / NyChip))
     146  float dX; // bin = int(Xchip * dX), dX = Nx / NxChip
     147  float dY; // bin = int(Ychip * dY), dY = Ny / NyChip
     148  // NxChip, NyChip = 4900,4900 for now
     149} GridCorrectionType;
    138150
    139151typedef enum {
     
    562574void          setMflatFromGrid    PROTO((Catalog *catalog));
    563575void          initGridBins        PROTO(());
     576GridCorrectionType *getGridCorr   PROTO((int *Nlast));
     577int           GridCorrectionSave  PROTO((char *filename));
    564578void          initImageBins       PROTO((Catalog *catalog, int Ncatalog, int doImageList));
    565579void          initImagesSubset    PROTO((ImageSubset *input, off_t *line_number, off_t N));
Note: See TracChangeset for help on using the changeset viewer.