IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 21, 2021, 2:04:53 PM (5 years ago)
Author:
eugene
Message:

I have stripped out all flatcorr references : flat correction is applied by setphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/relphot.20210521/src/BrightCatalog.c

    r40291 r41606  
    1212  myAssert (!strcmp(type, #TYPE), "wrong column type");
    1313
    14 // XXX double check the header extname values for each table
    15 // XXX make sure we free things as we can
    16 // XXX make sure we close files as we can
    17 // XXX handle free and close on error return as well
    1814BrightCatalog *BrightCatalogLoad(char *filename) {
    1915
     
    622618int BrightCatalogSplitFree (CatalogSplitter *catalogs) {
    623619
    624   // XXX don't free the catalogs :
    625   // for (i = 0; i < NCATALOG; i++) {
    626   //   free (catalogs->catalog[i].averageT);
    627   //   free (catalogs->catalog[i].measureT);
    628   //   free (catalogs->catalog[i].secfilt);
    629   // }
    630   // free (catalogs->catalog);
    631 
     620  // don't free the catalogs : free elsewhere
    632621  free (catalogs->catIDs);
    633622  free (catalogs->NAVERAGE);
     
    652641    catIDmax = MAX(catIDmax, bcatalog->average[i].catID);
    653642  }
    654   // XXX validate the measure ID range here
    655643   
    656644  int maxIDold = catalogs->maxID;
     
    746734
    747735  // assign the measures to the corresponding catalog
    748   // XXX what about averef and related links?  Do I need them?
    749736  for (i = 0; i < bcatalog->Nmeasure; i++) {
    750737    int ID = bcatalog->measure[i].catID;
Note: See TracChangeset for help on using the changeset viewer.