Changeset 27989 for trunk/ppSim
- Timestamp:
- May 17, 2010, 5:49:51 PM (16 years ago)
- Location:
- trunk/ppSim/src
- Files:
-
- 2 edited
-
ppSimCreate.c (modified) (3 diffs)
-
ppSimMosaicChip.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSimCreate.c
r23836 r27989 198 198 199 199 if (phuLevel == PM_FPA_LEVEL_FPA) { 200 if (!pmFPAAddSourceFromView(fpa, "Simulation",view, output->format)) {200 if (!pmFPAAddSourceFromView(fpa, view, output->format)) { 201 201 psError(PS_ERR_UNKNOWN, false, "Unable to add PHU to FPA."); 202 202 psFree(fpa); … … 209 209 while ((chip = pmFPAviewNextChip(view, fpa, 1))) { 210 210 if (phuLevel == PM_FPA_LEVEL_CHIP) { 211 if (!pmFPAAddSourceFromView(fpa, "Simulation",view, output->format)) {211 if (!pmFPAAddSourceFromView(fpa, view, output->format)) { 212 212 psError(PS_ERR_UNKNOWN, false, "Unable to add PHU to FPA."); 213 213 psFree(fpa); … … 220 220 while ((cell = pmFPAviewNextCell(view, fpa, 1))) { 221 221 if (phuLevel == PM_FPA_LEVEL_CELL) { 222 if (!pmFPAAddSourceFromView(fpa, "Simulation",view, output->format)) {222 if (!pmFPAAddSourceFromView(fpa, view, output->format)) { 223 223 psError(PS_ERR_UNKNOWN, false, "Unable to add PHU to FPA."); 224 224 psFree(fpa); -
trunk/ppSim/src/ppSimMosaicChip.c
r21183 r27989 22 22 pmChip *inChip = pmFPAviewThisChip(view, in->fpa); 23 23 if (!outChip->hdu && !outChip->parent->hdu) { 24 const char *name = psMetadataLookupStr(&status, in->fpa->concepts, "FPA.OBS"); // Name of FPA 25 pmFPAAddSourceFromView(out->fpa, name, view, out->format); 24 pmFPAAddSourceFromView(out->fpa, view, out->format); 26 25 } 27 26
Note:
See TracChangeset
for help on using the changeset viewer.
