Changeset 16654
- Timestamp:
- Feb 25, 2008, 7:59:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080223/Ohana/src/addstar/src/LoadStars.c
r16648 r16654 77 77 78 78 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 79 89 } 80 90 … … 215 225 } 216 226 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 217 230 // examine the header sets and set the Image entries for the the valid images 218 231 int LoadData (FILE *f, char *file, Image **images, int *nvalid, Stars **stars, int *Nstars, Header **headers, int *extsize, HeaderSet *headerSets, int Nimages) { … … 248 261 images[0][Nvalid].sourceID = 0; 249 262 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 250 267 // XXX use something to set the chip name? EXTNAME? 251 268 if (!strcmp(headerSets[i].exthead, "PHU") && (Nimages == 1)) {
Note:
See TracChangeset
for help on using the changeset viewer.
