Changeset 37941
- Timestamp:
- Mar 3, 2015, 1:54:23 PM (11 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 7 edited
-
Makefile.am (modified) (1 diff)
-
psphotCleanup.c (modified) (1 diff)
-
psphotFullForce.c (modified) (2 diffs)
-
psphotFullForceArguments.c (modified) (1 diff)
-
psphotInternal.h (modified) (1 diff)
-
psphotReadoutCleanup.c (modified) (1 diff)
-
psphotStandAlone.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/Makefile.am
r37466 r37941 230 230 psphotLoadSRCTEXT.c \ 231 231 psphotReadoutCleanup.c \ 232 psphotStatsFile.c \ 232 233 psphotSourcePlots.c \ 233 234 psphotRadialPlot.c \ -
trunk/psphot/src/psphotCleanup.c
r37609 r37941 10 10 (void)pmConfigRecipesCull(config,NULL); 11 11 pmConfigDump(config, dump_file); 12 } 13 14 // if the program has stats write it out 15 psphotStatsFile *statsFile = psphotStatsFileGet(); 16 if (statsFile) { 17 psphotStatsFileSave(config, statsFile); 12 18 } 13 19 -
trunk/psphot/src/psphotFullForce.c
r36375 r37941 10 10 pmConfig *config = psphotFullForceArguments (argc, argv); 11 11 assert(config); 12 13 if (!psphotStatsFileOpen(config)) { 14 psErrorStackPrint(stderr, "Error creating statsFile\n"); 15 exit (psphotGetExitStatus()); 16 } 12 17 13 18 psphotVersionPrint(); … … 25 30 } 26 31 27 psLogMsg ("psphot", 3, "complete psphot run: %f sec\n", psTimerMark ("complete"));32 psLogMsg ("psphot", 3, "complete psphotFullForce run: %f sec\n", psTimerMark ("complete")); 28 33 29 34 psErrorCode exit_status = psphotGetExitStatus(); -
trunk/psphot/src/psphotFullForceArguments.c
r36375 r37941 65 65 psMetadataAddStr (config->arguments, PS_LIST_TAIL, "CHIP_SELECTIONS", PS_DATA_STRING, "", argv[N]); 66 66 psArgumentRemove (N, &argc, argv); 67 } 68 69 if ((N = psArgumentGet(argc, argv, "-stats"))) { 70 psArgumentRemove(N, &argc, argv); 71 psMetadataAddStr(config->arguments, PS_LIST_TAIL, "STATS", PS_DATA_STRING, 72 "Filename for statistics of output file", argv[N]); 73 psArgumentRemove(N, &argc, argv); 67 74 } 68 75 -
trunk/psphot/src/psphotInternal.h
r12805 r37941 14 14 #include <psmodules.h> 15 15 #include "psphot.h" 16 #include "psphotStatsFile.h" 16 17 17 18 #endif -
trunk/psphot/src/psphotReadoutCleanup.c
r37932 r37941 54 54 psArray *sources = detections ? detections->allSources : NULL; 55 55 // XXX where do we free these, in here (psMetadataRemove?) 56 57 int quality = psMetadataLookupS32 (&status, readout->analysis, "PSPHOT_QUALITY"); 58 if (quality) { 59 // if there is no stats file this will be a no-op 60 psphotStatsFileSetQuality(quality); 61 } 56 62 57 63 // use the psf-model to measure FWHM stats -
trunk/psphot/src/psphotStandAlone.h
r31154 r37941 10 10 #include <psmodules.h> 11 11 #include "psphot.h" 12 #include "psphotStatsFile.h" 12 13 13 14 // Top level functions
Note:
See TracChangeset
for help on using the changeset viewer.
