Changeset 38055
- Timestamp:
- Mar 29, 2015, 5:47:25 AM (11 years ago)
- Location:
- branches/eam_branches/ipp-20150112/psastro/src
- Files:
-
- 5 edited
- 1 copied
-
. (modified) (1 prop)
-
Makefile.am (modified) (2 diffs)
-
psastro.h (modified) (1 diff)
-
psastroConvert.c (modified) (1 diff)
-
psastroDataSave.c (modified) (1 diff)
-
psastroGalaxyShapeErrors.c (copied) (copied from trunk/psastro/src/psastroGalaxyShapeErrors.c )
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150112/psastro/src
- Property svn:ignore
-
old new 18 18 psastroExtract 19 19 psastroVersionDefinitions.h 20 psastroVersionDefinitions.h.tmp
-
- Property svn:ignore
-
branches/eam_branches/ipp-20150112/psastro/src/Makefile.am
r26173 r38055 1 1 lib_LTLIBRARIES = libpsastro.la 2 3 if HAVE_SVNVERSION4 PSASTRO_VERSION=`$(SVNVERSION) ..`5 else6 PSASTRO_VERSION="UNKNOWN"7 endif8 9 if HAVE_SVN10 PSASTRO_BRANCH=`$(SVN) info .. | $(SED) -n -e '/URL:/ h' -e '/Repository Root:/ { x; H; x; s|Repository Root: \(.*\)\nURL: \1\(.*\)|\2| ; s|^/|| ; s|/[a-zA-Z]*/src.*|| ; p }'`11 PSASTRO_SOURCE=`$(SVN) info | $(SED) -n -e 's/Repository UUID: // p'`12 else13 PSASTRO_BRANCH="UNKNOWN"14 PSASTRO_SOURCE="UNKNOWN"15 endif16 2 17 3 # Force recompilation of psastroVersion.c, since it gets the version information 18 4 psastroVersion.c: psastroVersionDefinitions.h 19 5 psastroVersionDefinitions.h: psastroVersionDefinitions.h.in FORCE 20 -$(RM) psastroVersionDefinitions.h 21 $(SED) -e "s|@PSASTRO_VERSION@|\"$(PSASTRO_VERSION)\"|" -e "s|@PSASTRO_BRANCH@|\"$(PSASTRO_BRANCH)\"|" -e "s|@PSASTRO_SOURCE@|\"$(PSASTRO_SOURCE)\"|" psastroVersionDefinitions.h.in > psastroVersionDefinitions.h 6 pslib-setsvnversion.pl PSASTRO psastroVersionDefinitions.h.in psastroVersionDefinitions.h 22 7 FORCE: ; 23 8 … … 87 72 88 73 libpsastro_la_SOURCES = \ 74 psastroGalaxyShapeErrors.c \ 89 75 psastroMaskUpdates.c \ 90 76 psastroMaskUtils.c \ -
branches/eam_branches/ipp-20150112/psastro/src/psastro.h
r37552 r38055 197 197 bool psastroExtractFreeChipBounds(void); 198 198 199 bool psastroGalaxyShapeErrors (psMetadata *recipe, pmReadout *readout); 200 199 201 ///@} 200 202 # endif /* PSASTRO_H */ -
branches/eam_branches/ipp-20150112/psastro/src/psastroConvert.c
r36868 r38055 335 335 pmChip *chip = readout->parent->parent; 336 336 char *chipName = psMetadataLookupStr (NULL, chip->concepts, "CHIP.NAME"); 337 338 // skip stacks 339 if (!strcmp(chipName, "SkyChip")) { 340 psLogMsg ("psastro.correctKH", PS_LOG_DETAIL, "skipping KH correction: not a gpc1 chip\n"); 341 return true; 342 } 343 344 // only try to address gpc1 chips (should probably check the camera) 345 if (strncmp(chipName, "XY", 2)) { 346 psLogMsg ("psastro.correctKH", PS_LOG_DETAIL, "skipping KH correction: not a gpc1 chip\n"); 347 return true; 348 } 337 349 338 350 psAssert (strlen(chipName) == 4, "error in chip name"); -
branches/eam_branches/ipp-20150112/psastro/src/psastroDataSave.c
r36441 r38055 69 69 if (!readout->data_exists) { continue; } 70 70 71 psastroGalaxyShapeErrors (recipe, readout); 72 71 73 // Put version information into the header 72 74 pmHDU *hdu = pmHDUGetHighest(output->fpa, chip, cell);
Note:
See TracChangeset
for help on using the changeset viewer.
