Changeset 36818
- Timestamp:
- Jun 5, 2014, 4:05:56 PM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140423/psModules/src
- Files:
-
- 2 added
- 10 edited
-
astrom/Makefile.am (modified) (2 diffs)
-
astrom/pmAstrometryObjects.h (modified) (1 diff)
-
astrom/pmKHcorrect.c (added)
-
astrom/pmKHcorrect.h (added)
-
camera/pmFPAfile.c (modified) (3 diffs)
-
camera/pmFPAfile.h (modified) (1 diff)
-
camera/pmFPAfileFitsIO.c (modified) (1 diff)
-
camera/pmFPAfileIO.c (modified) (9 diffs)
-
detrend/pmDetrendDB.c (modified) (1 diff)
-
detrend/pmDetrendDB.h (modified) (1 diff)
-
objects/pmModel.c (modified) (1 diff)
-
psmodules.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140423/psModules/src/astrom/Makefile.am
r20801 r36818 11 11 pmAstrometryRefstars.c \ 12 12 pmAstrometryWCS.c \ 13 pmAstrometryVisual.c 13 pmAstrometryVisual.c \ 14 pmKHcorrect.c 14 15 15 16 pkginclude_HEADERS = \ … … 21 22 pmAstrometryRefstars.h \ 22 23 pmAstrometryWCS.h \ 23 pmAstrometryVisual.h 24 pmAstrometryVisual.h \ 25 pmKHcorrect.h 24 26 25 27 CLEANFILES = *~ -
branches/eam_branches/ipp-20140423/psModules/src/astrom/pmAstrometryObjects.h
r26260 r36818 42 42 float Color; ///< object color 43 43 float dMag; ///< error on object magnitude 44 float SBinst; ///< surface brightness, used for Koppenhoefer correction 44 45 } 45 46 pmAstromObj; -
branches/eam_branches/ipp-20140423/psModules/src/camera/pmFPAfile.c
r36441 r36818 531 531 return PM_FPA_FILE_LINEARITY; 532 532 } 533 // deprecate this?534 533 if (!strcasecmp(type, "ASTROM")) { 535 return PM_FPA_FILE_ASTROM_MODEL;534 return PM_FPA_FILE_ASTROM_MODEL; 536 535 } 537 536 if (!strcasecmp(type, "ASTROM.MODEL")) { … … 540 539 if (!strcasecmp(type, "ASTROM.REFSTARS")) { 541 540 return PM_FPA_FILE_ASTROM_REFSTARS; 541 } 542 if (!strcasecmp(type, "KH.CORRECT")) { 543 return PM_FPA_FILE_KH_CORRECT; 542 544 } 543 545 if (!strcasecmp(type, "SUBKERNEL")) { … … 593 595 case PM_FPA_FILE_ASTROM_REFSTARS: 594 596 return ("ASTROM.REFSTARS"); 597 case PM_FPA_FILE_KH_CORRECT: 598 return ("KH.CORRECT"); 595 599 case PM_FPA_FILE_SUBKERNEL: 596 600 return ("SUBKERNEL"); -
branches/eam_branches/ipp-20140423/psModules/src/camera/pmFPAfile.h
r36375 r36818 48 48 PM_FPA_FILE_ASTROM_MODEL, 49 49 PM_FPA_FILE_ASTROM_REFSTARS, 50 PM_FPA_FILE_KH_CORRECT, 50 51 PM_FPA_FILE_SUBKERNEL, 51 52 PM_FPA_FILE_SRCTEXT, -
branches/eam_branches/ipp-20140423/psModules/src/camera/pmFPAfileFitsIO.c
r29833 r36818 150 150 case PM_FPA_FILE_PSF: 151 151 case PM_FPA_FILE_ASTROM_MODEL: 152 case PM_FPA_FILE_ASTROM_REFSTARS: { 152 case PM_FPA_FILE_ASTROM_REFSTARS: 153 case PM_FPA_FILE_KH_CORRECT: 154 { 153 155 pmHDU *hdu = pmFPAviewThisHDU(view, fpa); 154 156 if (hdu) { -
branches/eam_branches/ipp-20140423/psModules/src/camera/pmFPAfileIO.c
r36623 r36818 48 48 #include "pmPSF_IO.h" 49 49 50 #include "pmKHcorrect.h" 50 51 #include "pmAstrometryModel.h" 51 52 #include "pmAstrometryRefstars.h" … … 234 235 status = pmAstromModelReadForView (view, file, config); 235 236 break; 237 case PM_FPA_FILE_KH_CORRECT: 238 status = pmKHcorrectReadForView (view, file, config); 239 break; 236 240 case PM_FPA_FILE_EXPNUM: 237 241 status = pmExpNumRead(view, file, config); … … 324 328 case PM_FPA_FILE_ASTROM_MODEL: 325 329 case PM_FPA_FILE_ASTROM_REFSTARS: 330 case PM_FPA_FILE_KH_CORRECT: 326 331 case PM_FPA_FILE_JPEG: 327 332 case PM_FPA_FILE_KAPA: … … 408 413 } 409 414 } 415 if (file->type == PM_FPA_FILE_KH_CORRECT) { 416 psTrace("psModules.camera", 6, "skip write for %s, no write function defined", file->name); 417 return true; 418 } 410 419 411 420 // open the file if not yet opened … … 500 509 case PM_FPA_FILE_ASTROM_REFSTARS: 501 510 status = pmAstromRefstarsWriteForView (view, file, config); 511 break; 512 513 case PM_FPA_FILE_KH_CORRECT: 514 psError(PS_ERR_IO, true, "cannot write type KH.CORRECT (%s)", file->name); 502 515 break; 503 516 … … 576 589 case PM_FPA_FILE_ASTROM_MODEL: 577 590 case PM_FPA_FILE_ASTROM_REFSTARS: 591 case PM_FPA_FILE_KH_CORRECT: 578 592 case PM_FPA_FILE_LINEARITY: 579 593 case PM_FPA_FILE_EXPNUM: … … 653 667 case PM_FPA_FILE_ASTROM_MODEL: 654 668 case PM_FPA_FILE_ASTROM_REFSTARS: 669 case PM_FPA_FILE_KH_CORRECT: 655 670 case PM_FPA_FILE_EXPNUM: 656 671 psTrace ("psModules.camera", 6, "NOT freeing %s (%s) : save for further analysis\n", file->filename, file->name); … … 815 830 case PM_FPA_FILE_ASTROM_MODEL: 816 831 case PM_FPA_FILE_ASTROM_REFSTARS: 832 case PM_FPA_FILE_KH_CORRECT: 817 833 case PM_FPA_FILE_LINEARITY: 818 834 case PM_FPA_FILE_EXPNUM: … … 1018 1034 case PM_FPA_FILE_EXPNUM: 1019 1035 case PM_FPA_FILE_ASTROM_MODEL: 1036 case PM_FPA_FILE_KH_CORRECT: 1020 1037 case PM_FPA_FILE_SX: 1021 1038 case PM_FPA_FILE_RAW: -
branches/eam_branches/ipp-20140423/psModules/src/detrend/pmDetrendDB.c
r35531 r36818 111 111 DETREND_STRING_CASE(LINEARITY); 112 112 DETREND_STRING_CASE(AUXMASK); 113 DETREND_STRING_CASE(KH_CORRECT); 113 114 default: 114 115 return NULL; -
branches/eam_branches/ipp-20140423/psModules/src/detrend/pmDetrendDB.h
r35531 r36818 40 40 PM_DETREND_TYPE_LINEARITY, 41 41 PM_DETREND_TYPE_AUXMASK, 42 PM_DETREND_TYPE_KH_CORRECT, 42 43 } pmDetrendType; 43 44 -
branches/eam_branches/ipp-20140423/psModules/src/objects/pmModel.c
r36375 r36818 39 39 { 40 40 psTrace("psModules.objects", 10, "---- %s() begin ----\n", __func__); 41 if (!tmp) return; 42 41 43 psFree(tmp->params); 42 44 psFree(tmp->dparams); -
branches/eam_branches/ipp-20140423/psModules/src/psmodules.h
r36623 r36818 95 95 #include <pmAstrometryDistortion.h> 96 96 #include <pmAstrometryVisual.h> 97 #include <pmKHcorrect.h> 97 98 98 99 // the following headers are from psModule:imcombine
Note:
See TracChangeset
for help on using the changeset viewer.
