IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16654


Ignore:
Timestamp:
Feb 25, 2008, 7:59:36 AM (18 years ago)
Author:
eugene
Message:

working on SDSS, ext params

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080223/Ohana/src/addstar/src/LoadStars.c

    r16648 r16654  
    7777
    7878    LoadData (f, file[i], images, Nimages, &stars, Nstars, headers, extsize, headerSets, NheaderSets);
     79
     80    // XXX add a function to (optionally) load the extended source measurements
     81    if (extSources) {
     82      // not sure how to link the measurements here to the psf measurements above (though there is an ID in the det list)
     83      LoadDataXSRC (f, file[i], images, Nimages, &stars, Nstars, headers, extsize, headerSets, NheaderSets);
     84    }
     85    if (extFits) {
     86      LoadDataXFIT (f, file[i], images, Nimages, &stars, Nstars, headers, extsize, headerSets, NheaderSets);
     87    }
     88
    7989  }
    8090
     
    215225}
    216226
     227// XXX this function is somewhat specific to the elixir format output files
     228// it is capable of distinguishing several format versions defined for elixir/psphot
     229
    217230// examine the header sets and set the Image entries for the the valid images
    218231int LoadData (FILE *f, char *file, Image **images, int *nvalid, Stars **stars, int *Nstars, Header **headers, int *extsize, HeaderSet *headerSets, int Nimages) {
     
    248261    images[0][Nvalid].sourceID = 0;
    249262
     263    // XXX EAM : I seemed to have dropped the ability to support TEXT (old-style cmp format files).
     264    // I need to detect them here and load them with ReadStarsTEXT instead of calling the code
     265    // below.
     266
    250267    // XXX use something to set the chip name? EXTNAME?
    251268    if (!strcmp(headerSets[i].exthead, "PHU") && (Nimages == 1)) {
Note: See TracChangeset for help on using the changeset viewer.