IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2010, 11:22:25 AM (16 years ago)
Author:
eugene
Message:

large update merging in changes for Ohana to support large files

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/relphot/include/relphot.h

    r21508 r27435  
    77# define GRID_V2
    88# define NO_IMAGE -100
    9 
    10 # if (0)
    11 typedef struct {
    12   double xmin, xmax, ymin, ymax;
    13   int style, ptype, ltype, etype, color;
    14   double lweight, size;
    15 } Graphdata;
    16 # endif
    179
    1810typedef struct {
     
    110102
    111103# ifdef GRID_V1
    112 int setGridMeasure (int meas, int cat, double X, double Y);
     104int setGridMeasure (off_t meas, int cat, double X, double Y);
    113105# endif
    114106
    115107# ifdef GRID_V2
    116 int setGridMeasure (int meas, int cat, double X, double Y, int ccdnum);
     108int setGridMeasure (off_t meas, int cat, double X, double Y, int ccdnum);
    117109# endif
    118110
     
    122114char         *GetPhotnamebyCode   PROTO((PhotCodeData *photcodes, int code));
    123115void          InterpolateGrid     PROTO((float *buffer, int Nx, int Ny, Coords *ccd, Coords *gcoords));
    124 int          *SelectRefMosaic     PROTO((Mosaic **refmosaic, int *Nimage));
     116off_t        *SelectRefMosaic     PROTO((Mosaic **refmosaic, off_t *Nimage));
    125117int           args                PROTO((int argc, char **argv));
    126118int           bcatalog            PROTO((Catalog *subcatalog, Catalog *catalog));
     
    137129
    138130void set_db (FITS_DB *in);
    139 int Shutdown (char *format, ...);
     131int Shutdown (char *format, ...) OHANA_FORMAT(printf, 1, 2) ;
    140132void TrapSignal (int sig);
    141133void SetProtect (int mode);
     
    147139void          free_catalogs       PROTO((Catalog *catalog, int Ncatalog));
    148140int           gcatalog            PROTO((Catalog *catalog, int FINAL));
    149 Coords       *getCoords           PROTO((int meas, int cat));
    150 int           getImageEntry       PROTO((int meas, int cat));
    151 float         getMcal             PROTO((int meas, int cat));
    152 float         getMgrid            PROTO((int meas, int cat));
    153 float         getMmos             PROTO((int meas, int cat));
    154 float         getMrel             PROTO((Catalog *catalog, int meas, int cat));
    155 Image        *getimage            PROTO((int N));
    156 Image        *getimages           PROTO((int *N));
     141Coords       *getCoords           PROTO((off_t meas, int cat));
     142off_t         getImageEntry       PROTO((off_t meas, int cat));
     143float         getMcal             PROTO((off_t meas, int cat));
     144float         getMgrid            PROTO((off_t meas, int cat));
     145float         getMmos             PROTO((off_t meas, int cat));
     146float         getMrel             PROTO((Catalog *catalog, off_t meas, int cat));
     147Image        *getimage            PROTO((off_t N));
     148Image        *getimages           PROTO((off_t *N));
    157149void          global_stats        PROTO((Catalog *catalog, int Ncatalog));
    158150void          initGrid            PROTO((int dX, int dY));
    159151void          initGridBins        PROTO((Catalog *catalog, int Ncatalog));
    160152void          initImageBins       PROTO((Catalog *catalog, int Ncatalog));
    161 void          initImages          PROTO((Image *input, int N));
     153void          initImages          PROTO((Image *input, off_t N));
    162154void          initMosaicBins      PROTO((Catalog *catalog, int Ncatalog));
    163 void          initMosaicGrid      PROTO((Image *image, int Nimage));
    164 void          initMosaics         PROTO((Image *image, int Nimage));
     155void          initMosaicGrid      PROTO((Image *image, off_t Nimage));
     156void          initMosaics         PROTO((Image *image, off_t Nimage));
    165157void          initMrel            PROTO((Catalog *catalog, int Ncatalog));
    166158void          initialize          PROTO((int argc, char **argv));
     
    169161Catalog       *load_catalogs      PROTO((SkyList *skylist, int *Ncatalog));
    170162SkyList      *load_images         PROTO((FITS_DB *db, char *regionName, SkyRegion *region, int RegionSelect));
    171 Image         *select_images      PROTO((SkyList *skylist, Image *timage, int Ntimage, int **LineNumber, int *Nimage));
     163Image         *select_images      PROTO((SkyList *skylist, Image *timage, off_t Ntimage, off_t **LineNumber, off_t *Nimage));
    172164
    173165int           main                PROTO((int argc, char **argv));
    174 void          mark_images         PROTO((Image *image, int Nimage, Image *timage, int Ntimage));
    175 void          matchImage          PROTO((Catalog *catalog, int meas, int cat));
    176 void          matchMosaics        PROTO((Catalog *catalog, int meas, int cat));
     166void          mark_images         PROTO((Image *image, off_t Nimage, Image *timage, off_t Ntimage));
     167void          matchImage          PROTO((Catalog *catalog, off_t meas, int cat));
     168void          matchMosaics        PROTO((Catalog *catalog, off_t meas, int cat));
    177169double        opening_angle       PROTO((double x1, double y1, double x2, double y2, double x3, double y3));
    178170void          plot_chisq          PROTO((Catalog *catalog, int Ncatalog));
     
    180172void          plot_grid           PROTO((Catalog *catalog));
    181173void          plot_images         PROTO((void));
    182 void          plot_list           PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N, char *label, char *format, ...));
     174void          plot_list           PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N, char *label, char *format, ...) OHANA_FORMAT(printf, 6, 7) );
    183175void          plot_mosaic_fields  PROTO((Catalog *catalog));
    184176void          plot_mosaics        PROTO((void));
     
    199191int           setMave             PROTO((Catalog *catalog, int Ncatalog));
    200192void          set_ZP              PROTO((double ZERO));
    201 int           setrefcode          PROTO((Image *image, int Nimage));
     193int           setrefcode          PROTO((Image *image, off_t Nimage));
    202194void          skip_measurements   PROTO((Catalog *catalog, int pass));
    203195void          sortA               PROTO((double *X, int N));
Note: See TracChangeset for help on using the changeset viewer.