IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 15, 2012, 2:30:58 PM (14 years ago)
Author:
eugene
Message:

deprecate the old relphot command of the form: relphot (catalog) (photcode); fix the BrightCatalog I/O; add parallel-manual option for testing

File:
1 edited

Legend:

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

    r33254 r33274  
    4141
    4242typedef struct {
    43     AverageTiny *average;
    44     MeasureTiny *measure;
    45     SecFilt     *secfilt;
    46     off_t Naverage;
    47     off_t Nmeasure;
     43  AverageTiny *average;       // array of (minimal) average data
     44  MeasureTiny *measure;       // array of (minimal) measure data
     45  SecFilt     *secfilt;       // array of secfilt data (matched to average by Nsecfilt)
     46  off_t      Naverage;
     47  off_t      Nmeasure;
    4848} BrightCatalog;
    4949
     
    5757  unsigned char trate;
    5858} ImageSubset;
     59
     60typedef struct {
     61  Catalog *catalog;           // array of catalogs generated
     62  int NCATALOG;               // number of catalogs allocated
     63  int Ncatalog;               // number of catalogs generated
     64  int Nsecfilt;               // number of catalogs generated
     65  off_t *NAVERAGE;            // allocated Averages per catalog
     66  off_t *NMEASURE;            // allocated Measures per catalog
     67  int   *index;               // lookup table catID -> catalog[i]
     68  int   *catIDs;              // lookup table catID <- catalog[i]
     69  int    maxID;               // max catID value to date
     70} CatalogSplitter;
    5971
    6072/* global variables set in parameter file */
     
    8597double IMFIT_SYS_SIGMA_LIM;
    8698double CLOUD_TOLERANCE;
     99
     100int    PARALLEL;
     101int    PARALLEL_MANUAL;
    87102
    88103int    VERBOSE;
     
    144159
    145160SkyRegion UserPatch;
    146 int UserPatchSelect;
     161char *UserCatalog;
    147162
    148163int USE_BASIC_CHECK;
     
    214229Catalog      *load_catalogs_parallel PROTO((SkyList *sky, int *Ncatalog));
    215230
    216 SkyList      *load_images         PROTO((FITS_DB *db, char *regionName, SkyRegion *region, int RegionSelect));
     231SkyList      *load_images         PROTO((FITS_DB *db, char *regionName, SkyRegion *region));
    217232Image        *select_images       PROTO((SkyList *skylist, Image *timage, off_t Ntimage, off_t **LineNumber, off_t *Nimage));
    218233
     
    285300int BrightCatalogSave(char *filename, BrightCatalog *catalog);
    286301BrightCatalog *BrightCatalogMerge (Catalog *catalog, int Ncatalog);
     302CatalogSplitter *BrightCatalogSplitInit (int Nsecfilt);
     303int BrightCatalogSplitFree (CatalogSplitter *catalogs);
     304int BrightCatalogSplit (CatalogSplitter *catalogs, BrightCatalog *bcatalog);
    287305
    288306int ImageSubsetSave(char *filename, ImageSubset *image, off_t Nimage);
     
    291309int CopyAverageTiny (AverageTiny *averageT, Average *average);
    292310int CopyMeasureTiny (MeasureTiny *measureT, Measure *measure);
     311
Note: See TracChangeset for help on using the changeset viewer.