Changeset 37383 for tags/ipp-20130712
- Timestamp:
- Sep 9, 2014, 4:19:28 PM (12 years ago)
- Location:
- tags/ipp-20130712
- Files:
-
- 8 edited
-
ippconfig/gpc1/format_20100723.config (modified) (1 diff, 1 prop)
-
ppTranslate/src/ppMops.h (modified) (1 diff, 1 prop)
-
ppTranslate/src/ppMopsDetections.c (modified) (2 diffs, 1 prop)
-
ppTranslate/src/ppMopsRead.c (modified) (1 diff, 1 prop)
-
ppTranslate/src/ppMopsWrite.c (modified) (1 diff, 1 prop)
-
psModules/src/astrom/pmAstrometryModel.c (modified) (2 diffs, 1 prop)
-
psModules/src/concepts/pmConcepts.c (modified) (2 diffs, 1 prop)
-
psModules/src/concepts/pmConcepts.h (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20130712/ippconfig/gpc1/format_20100723.config
- Property svn:mergeinfo set to (toggle deleted branches)
r33243 r37383 210 210 FPA.BURNTOOL.APPLIED STR BTOOLAPP 211 211 CHIP.VIDEOCELL STR CELLMODE 212 213 FPA.SHUTOUTC STR SHUTOUTC 212 214 213 215 FPA.PON.TIME STR PONTIME -
tags/ipp-20130712/ppTranslate/src/ppMops.h
- Property svn:mergeinfo set to
r34824 r37383 59 59 psVector *raExtErr, *decExtErr; // Error in sky coordinates for RA_EXT and DEC_EXT 60 60 psVector *mask; // Mask for detections 61 float platescale; //Plate scale at centroid 61 float platescale; // Plate scale at centroid 62 psString fpashutoutc; // FPA shutoutc 62 63 } ppMopsDetections; 63 64 -
tags/ipp-20130712/ppTranslate/src/ppMopsDetections.c
- Property svn:mergeinfo set to
r34824 r37383 20 20 psFree(det->decErr); 21 21 psFree(det->mask); 22 psFree(det->fpashutoutc); 22 23 return; 23 24 } … … 48 49 det->mask = NULL; 49 50 det->diffSkyfileId = 0; 51 det->fpashutoutc = NULL; 50 52 return det; 51 53 } -
tags/ipp-20130712/ppTranslate/src/ppMopsRead.c
- Property svn:mergeinfo set to
r34824 r37383 105 105 det->naxis1 = psMetadataLookupS32(NULL, header, "IMNAXIS1"); // Number of columns 106 106 det->naxis2 = psMetadataLookupS32(NULL, header, "IMNAXIS2"); // Number of rows 107 det->fpashutoutc = psMemIncrRefCounter(psMetadataLookupStr(NULL, header, "FPA.SHUTOUTC")); 107 108 psFree(header); 108 109 -
tags/ipp-20130712/ppTranslate/src/ppMopsWrite.c
- Property svn:mergeinfo set to
r34779 r37383 102 102 psMetadataAddF32(header, PS_LIST_TAIL, "PLTSCALE_EXT", 0, "Plate scale at centroid", det->platescale); 103 103 psMetadataAddF32(header, PS_LIST_TAIL, "PLTSCALE", 0, "Plate scale at centroid", det->platescale); 104 psMetadataAddStr(header, PS_LIST_TAIL, "FPA.SHUTOUTC", 0, "Time of exposure", det->fpashutoutc); 104 105 105 106 //field in header that tells about the CMF version -
tags/ipp-20130712/psModules/src/astrom/pmAstrometryModel.c
- Property svn:mergeinfo set to
r26260 r37383 39 39 #include "pmFPAExtent.h" 40 40 #include "pmFPAfileFitsIO.h" 41 #include "pmConcepts.h" 41 42 #include "pmAstrometryWCS.h" 42 43 #include "pmAstrometryUtils.h" … … 452 453 } 453 454 454 int pmConceptsChipNumberFromName (pmFPA *fpa, char *name) {455 456 for (int i = 0; i < fpa->chips->n; i++) {457 pmChip *chip = fpa->chips->data[i];458 if (!chip) continue;459 char *thisone = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME");460 if (!thisone) continue;461 if (!strcmp (name, thisone)) return (i);462 }463 return -1;464 }465 466 pmChip *pmConceptsChipFromName (pmFPA *fpa, char *name) {467 468 for (int i = 0; i < fpa->chips->n; i++) {469 pmChip *chip = fpa->chips->data[i];470 if (!chip) continue;471 char *thisone = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME");472 if (!thisone) continue;473 if (!strcmp (name, thisone)) return (chip);474 }475 return NULL;476 }477 478 455 // first layer converts Chip to Focal Plane 479 456 bool pmAstromModelReadChips (pmFPAfile *file) { -
tags/ipp-20130712/psModules/src/concepts/pmConcepts.c
- Property svn:mergeinfo set to
r30049 r37383 312 312 conceptRegisterEnum("FPA.TIMESYS", "Time system", p_pmConceptParse_TIMESYS, p_pmConceptFormat_TIMESYS, p_pmConceptCopy_TIMESYS, false, PM_FPA_LEVEL_FPA); 313 313 conceptRegisterTime("FPA.TIME", "Time of exposure", false, PM_FPA_LEVEL_FPA); 314 315 conceptRegisterTime("FPA.SHUTOUTC", "Time of exposure", false, PM_FPA_LEVEL_FPA); 316 314 317 conceptRegisterF32("FPA.TEMP", "Temperature of focal plane", NULL, NULL, NULL, false, PM_FPA_LEVEL_FPA); 315 318 conceptRegisterF32("FPA.M1X", "Primary Mirror X Position", NULL, NULL, NULL, false, PM_FPA_LEVEL_FPA); … … 578 581 } 579 582 583 int pmConceptsChipNumberFromName (pmFPA *fpa, char *name) { 584 585 for (int i = 0; i < fpa->chips->n; i++) { 586 pmChip *chip = fpa->chips->data[i]; 587 if (!chip) continue; 588 char *thisone = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME"); 589 if (!thisone) continue; 590 if (!strcmp (name, thisone)) return (i); 591 } 592 return -1; 593 } 594 595 pmChip *pmConceptsChipFromName (pmFPA *fpa, char *name) { 596 597 for (int i = 0; i < fpa->chips->n; i++) { 598 pmChip *chip = fpa->chips->data[i]; 599 if (!chip) continue; 600 char *thisone = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME"); 601 if (!thisone) continue; 602 if (!strcmp (name, thisone)) return (chip); 603 } 604 return NULL; 605 } 606 -
tags/ipp-20130712/psModules/src/concepts/pmConcepts.h
- Property svn:mergeinfo set to
r22699 r37383 161 161 ); 162 162 163 // some utility functions: 164 int pmConceptsChipNumberFromName (pmFPA *fpa, char *name); 165 pmChip *pmConceptsChipFromName (pmFPA *fpa, char *name); 166 163 167 /// @} 164 168 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
