Changeset 26816
- Timestamp:
- Feb 8, 2010, 4:39:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/ppSub/src/ppSubReadoutPhotometry.c
r26784 r26816 122 122 return false; 123 123 } 124 125 // Ensure photometry information is put in the header 126 pmHDU *hdu = pmHDUFromReadout(inRO); // HDU for readout 127 if (hdu) { 128 psMetadata *photHeader = psMetadataLookupMetadata(NULL, inRO->analysis, "PSPHOT.HEADER"); // Header 129 hdu->header = psMetadataCopy(hdu->header, photHeader); 130 } 124 131 } 125 132 … … 135 142 pmReadout *photRO = pmFPAviewThisReadout(view, photFile->fpa); // Readout with the sources 136 143 pmDetections *detections = psMetadataLookupPtr(NULL, photRO->analysis, "PSPHOT.DETECTIONS"); // Sources 137 psArray *sources = detections->allSources;144 psArray *sources = detections->allSources; 138 145 FILE *sourceFile = fopen("sources.dat", "w"); // File for sources 139 146 fprintf(sourceFile,
Note:
See TracChangeset
for help on using the changeset viewer.
