IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2012, 1:47:30 PM (15 years ago)
Author:
eugene
Message:

add flat-correction to getMcal (requires lots of APIs to take flatcorr as a parameter)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/relphot/include/relphot.h

    r31668 r33117  
    133133int           bcatalog            PROTO((Catalog *subcatalog, Catalog *catalog));
    134134void          clean_images        PROTO((void));
    135 void          clean_measures      PROTO((Catalog *catalog, int Ncatalog, int final));
     135void          clean_measures      PROTO((Catalog *catalog, int Ncatalog, int final, FlatCorrectionTable *flatcorr));
    136136void          clean_mosaics       PROTO((void));
    137137void          clean_stars         PROTO((Catalog *catalog, int Ncatalog));
     
    156156Coords       *getCoords           PROTO((off_t meas, int cat));
    157157off_t         getImageEntry       PROTO((off_t meas, int cat));
    158 float         getMcal             PROTO((off_t meas, int cat));
     158float         getMcal             PROTO((off_t meas, int cat, FlatCorrectionTable *flatcorr, Catalog *catalog));
    159159float         getMgrid            PROTO((off_t meas, int cat));
    160160float         getMmos             PROTO((off_t meas, int cat));
     
    162162Image        *getimage            PROTO((off_t N));
    163163Image        *getimages           PROTO((off_t *N, off_t **LineNumber));
    164 void          global_stats        PROTO((Catalog *catalog, int Ncatalog));
     164void          global_stats        PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr));
    165165void          initGrid            PROTO((int dX, int dY));
    166166void          initGridBins        PROTO((Catalog *catalog, int Ncatalog));
     
    185185void          plot_chisq          PROTO((Catalog *catalog, int Ncatalog));
    186186void          plot_defaults       PROTO((Graphdata *graphdata));
    187 void          plot_grid           PROTO((Catalog *catalog));
     187void          plot_grid           PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));
    188188void          plot_images         PROTO((void));
    189189void          plot_list           PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N, char *label, char *format, ...) OHANA_FORMAT(printf, 6, 7) );
    190190void          plot_mosaic_fields  PROTO((Catalog *catalog));
    191191void          plot_mosaics        PROTO((void));
    192 void          plot_scatter        PROTO((Catalog *catalog, int Ncatalog));
     192void          plot_scatter        PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr));
    193193void          plot_star_coords    PROTO((Catalog *catalog, int Ncatalog));
    194194void          plot_stars          PROTO((Catalog *catalog, int Ncatalog));
    195 void          reload_catalogs     PROTO((SkyList *skylist));
     195void          reload_catalogs     PROTO((SkyList *skylist, FlatCorrectionTable *flatcorr));
    196196int           reload_images       PROTO((FITS_DB *db));
    197197int           setExclusions       PROTO((Catalog *catalog, int Ncatalog));
    198198void          setMcal             PROTO((Catalog *catalog, int Poor));
    199199void          setMcalFinal        PROTO((void));
    200 int           setMcalOutput       PROTO((Catalog *catalog, int Ncatalog));
    201 void          setMgrid            PROTO((Catalog *catalog));
    202 int           setMmos             PROTO((Catalog *catalog, int Poor));
    203 int           setMrel             PROTO((Catalog *catalog, int Ncatalog));
    204 void          setMrelFinal        PROTO((Catalog *catalog));
    205 int           setMrelOutput       PROTO((Catalog *catalog, int Ncatalog, int mark));
     200int           setMcalOutput       PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr));
     201void          setMgrid            PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));
     202int           setMmos             PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr));
     203int           setMrel             PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr));
     204void          setMrelFinal        PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));
     205int           setMrelOutput       PROTO((Catalog *catalog, int Ncatalog, int mark, FlatCorrectionTable *flatcorr));
    206206int           setMave             PROTO((Catalog *catalog, int Ncatalog));
    207207void          set_ZP              PROTO((double ZERO));
    208208int           setrefcode          PROTO((Image *image, off_t Nimage));
    209 void          skip_measurements   PROTO((Catalog *catalog, int pass));
     209void          skip_measurements   PROTO((Catalog *catalog, int pass, FlatCorrectionTable *flatcorr));
    210210void          sortA               PROTO((double *X, int N));
    211211void          sortB               PROTO((double *X, double *Y, int N));
     
    213213void          sortD               PROTO((double *X, double *Y, double *Z, int N));
    214214StatType      statsImageM         PROTO((Catalog *catalog));
    215 StatType      statsImageN         PROTO((Catalog *catalog));
     215StatType      statsImageN         PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));
    216216StatType      statsImageX         PROTO((Catalog *catalog));
    217217StatType      statsImagedM        PROTO((Catalog *catalog));
    218218StatType      statsMosaicM        PROTO((Catalog *catalog));
    219 StatType      statsMosaicN        PROTO((Catalog *catalog));
     219StatType      statsMosaicN        PROTO((Catalog *catalog, FlatCorrectionTable *flatcorr));
    220220StatType      statsMosaicX        PROTO((Catalog *catalog));
    221221StatType      statsMosaicdM       PROTO((Catalog *catalog));
    222 StatType      statsStarN          PROTO((Catalog *catalog, int Ncatalog, int Nsec, int seccode));
     222StatType      statsStarN          PROTO((Catalog *catalog, int Ncatalog, int Nsec, int seccode, FlatCorrectionTable *flatcorr));
    223223StatType      statsStarS          PROTO((Catalog *catalog, int Ncatalog, int Nsec));
    224224StatType      statsStarX          PROTO((Catalog *catalog, int Ncatalog, int Nsec));
Note: See TracChangeset for help on using the changeset viewer.