Changeset 9541
- Timestamp:
- Oct 13, 2006, 12:14:07 PM (20 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
ppMerge/src/ppMergeCheckInputs.c (modified) (1 diff)
-
ppMerge/src/ppMergeCombine.c (modified) (1 diff)
-
ppMerge/src/ppMergeScaleZero.c (modified) (3 diffs)
-
psModules/src/detrend/pmFringeStats.c (modified) (3 diffs)
-
psModules/src/detrend/pmSubtractSky.c (modified) (2 diffs)
-
psModules/src/imcombine/pmReadoutCombine.c (modified) (4 diffs)
-
psModules/src/objects/pmSourceFitModel.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeCheckInputs.c
r8847 r9541 66 66 } 67 67 psMetadata *header = psFitsReadHeader(NULL, inFile); // The FITS (primary) header 68 if (psTraceGetLevel( __func__) > 9) {68 if (psTraceGetLevel("ppMerge") > 9) { 69 69 psTrace(__func__, 9, "Primary header:\n"); 70 70 psMetadataPrint(stdout, header, 9); -
trunk/ppMerge/src/ppMergeCombine.c
r9466 r9541 55 55 { 56 56 return; 57 if (psTraceGetLevel( __func__) > 9) {57 if (psTraceGetLevel("ppMerge") > 9) { 58 58 psMemBlock **leaks = NULL; 59 59 int numLeaks = psMemCheckLeaks(0, &leaks, NULL, true); -
trunk/ppMerge/src/ppMergeScaleZero.c
r9463 r9541 280 280 if (options->scale) { 281 281 // Need to normalize over the focal plane 282 if (psTraceGetLevel( __func__) > 9) {282 if (psTraceGetLevel("ppMerge") > 9) { 283 283 for (int i = 0; i < gains->n; i++) { 284 284 psTrace(__func__, 10, "Gain for cell %d is %f\n", i, gains->data.F32[i]); … … 321 321 322 322 // Diagnostic stuff 323 if (scales && *scales && psTraceGetLevel( __func__) > 9) {323 if (scales && *scales && psTraceGetLevel("ppMerge") > 9) { 324 324 psImage *scalesDeref = *scales; // Dereference the pointer 325 325 for (int i = 0; i < scalesDeref->numRows; i++) { … … 330 330 } 331 331 } 332 if (zeros && *zeros && psTraceGetLevel( __func__) > 9) {332 if (zeros && *zeros && psTraceGetLevel("ppMerge") > 9) { 333 333 psImage *zerosDeref = *zeros; // Dereference the pointer 334 334 for (int i = 0; i < zerosDeref->numRows; i++) { -
trunk/psModules/src/detrend/pmFringeStats.c
r8848 r9541 3 3 * @author Eugene Magnier, IfA 4 4 * 5 * @version $Revision: 1. 19$ $Name: not supported by cvs2svn $6 * @date $Date: 2006- 09-20 02:36:36$5 * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $ 6 * @date $Date: 2006-10-13 22:11:02 $ 7 7 * 8 8 * Copyright 2004 IfA … … 600 600 } 601 601 602 if (psTraceGetLevel( __func__) >= 5) {602 if (psTraceGetLevel("psModules.detrend") >= 5) { 603 603 printf("From %d points:\n", numPoints); 604 604 for (int i = 0; i < numCoeffs; i++) { … … 802 802 pmFringeStats *scienceStats = pmFringeStatsMeasure(fringes, readout, maskVal); 803 803 804 if (psTraceGetLevel( __func__) > 9) {804 if (psTraceGetLevel("psModules.detrend") > 9) { 805 805 for (int i = 0; i < fringes->nRequested; i++) { 806 806 printf("%f", scienceStats->f->data.F32[i]); -
trunk/psModules/src/detrend/pmSubtractSky.c
r8815 r9541 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $9 * @date $Date: 2006- 09-15 09:49:01$8 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2006-10-13 22:11:02 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 231 231 } 232 232 233 if (psTraceGetLevel(" .psModule.pmSubtractSky.buildPolyTerms") >= 10) {233 if (psTraceGetLevel("psModules.detrend") >= 10) { 234 234 for (i=0; i < localPolyTerms ; i++) { 235 235 printf("x^%d * y^%d\n", polyTerms[i][0], polyTerms[i][1]); -
trunk/psModules/src/imcombine/pmReadoutCombine.c
r8848 r9541 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1.2 6$ $Name: not supported by cvs2svn $8 * @date $Date: 2006- 09-20 02:36:36$7 * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-10-13 22:11:02 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 282 282 minInputCols - output->col0, maxInputCols - output->col0, 283 283 minInputRows - output->row0, maxInputRows - output->row0); 284 if (psTraceGetLevel( __func__) >= 3) {284 if (psTraceGetLevel("psModules.imcombine") >= 3) { 285 285 for (int r = 0; r < inputs->n; r++) { 286 286 pmReadout *readout = inputs->data[r]; // Input readout … … 309 309 #if 0 310 310 311 if (psTraceGetLevel( __func__) > 9) {311 if (psTraceGetLevel("psModules.imcombine") > 9) { 312 312 printf("Processing row %d\r", i); 313 313 fflush(stdout); … … 390 390 } 391 391 #if 0 392 if (psTraceGetLevel( __func__) > 9) {392 if (psTraceGetLevel("psModules.imcombine") > 9) { 393 393 printf("\n"); 394 394 } -
trunk/psModules/src/objects/pmSourceFitModel.c
r9528 r9541 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1.1 1$ $Name: not supported by cvs2svn $9 * @date $Date: 2006-10-13 02:29:14$8 * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2006-10-13 22:11:02 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 399 399 psFree (oneParMax); 400 400 401 if (psTraceGetLevel( __func__) >= 5) {401 if (psTraceGetLevel("psModules.objects") >= 5) { 402 402 for (int i = 0; i < params->n; i++) { 403 403 fprintf (stderr, "%d %f %d\n", i, params->data.F32[i], constrain->paramMask->data.U8[i]);
Note:
See TracChangeset
for help on using the changeset viewer.
