Changeset 28128
- Timestamp:
- May 26, 2010, 4:53:05 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotVisual.c (modified) (19 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotVisual.c
r27819 r28128 15 15 # include <kapa.h> 16 16 17 # define DEBUG 0 18 17 19 bool pmVisualLimitsFromVectors (Graphdata *graphdata, psVector *xVec, psVector *yVec); 18 20 … … 197 199 pmReadout *backgnd; 198 200 199 if (! pmVisualIsVisual()) return true;201 if (!DEBUG && !pmVisualIsVisual()) return true; 200 202 201 203 int kapa = psphotKapaChannel (1); … … 220 222 bool psphotVisualShowSignificance (psImage *image, float min, float max) { 221 223 222 if (! pmVisualIsVisual()) return true;224 if (!DEBUG && !pmVisualIsVisual()) return true; 223 225 224 226 int kapa = psphotKapaChannel (1); … … 236 238 KiiOverlay *overlay; 237 239 238 if (! pmVisualIsVisual()) return true;240 if (!DEBUG && !pmVisualIsVisual()) return true; 239 241 240 242 int kapa = psphotKapaChannel (1); … … 275 277 KiiOverlay *overlay; 276 278 277 if (! pmVisualIsVisual()) return true;279 if (!DEBUG && !pmVisualIsVisual()) return true; 278 280 279 281 int kapa = psphotKapaChannel (1); … … 385 387 psEllipseAxes axes; 386 388 387 if (! pmVisualIsVisual()) return true;389 if (!DEBUG && !pmVisualIsVisual()) return true; 388 390 389 391 int kapa = psphotKapaChannel (1); … … 437 439 KapaSection section; 438 440 439 if (! pmVisualIsVisual()) return true;441 if (!DEBUG && !pmVisualIsVisual()) return true; 440 442 441 443 int myKapa = psphotKapaChannel (2); … … 753 755 bool psphotVisualShowRoughClass (psArray *sources) { 754 756 755 if (! pmVisualIsVisual()) return true;757 if (!DEBUG && !pmVisualIsVisual()) return true; 756 758 757 759 int myKapa = psphotKapaChannel (1); … … 774 776 bool psphotVisualShowPSFModel (pmReadout *readout, pmPSF *psf) { 775 777 776 if (! pmVisualIsVisual()) return true;778 if (!DEBUG && !pmVisualIsVisual()) return true; 777 779 778 780 int myKapa = psphotKapaChannel (3); … … 840 842 bool status; 841 843 842 if (! pmVisualIsVisual()) return true;844 if (!DEBUG && !pmVisualIsVisual()) return true; 843 845 844 846 int myKapa = psphotKapaChannel (3); … … 992 994 bool status; 993 995 994 if (! pmVisualIsVisual()) return true;996 if (!DEBUG && !pmVisualIsVisual()) return true; 995 997 996 998 int myKapa = psphotKapaChannel (3); … … 1356 1358 KapaSection section; // put the positive profile in one and the residuals in another? 1357 1359 1358 if (! pmVisualIsVisual()) return true;1360 if (!DEBUG && !pmVisualIsVisual()) return true; 1359 1361 1360 1362 int myKapa = psphotKapaChannel (2); … … 1427 1429 return true; 1428 1430 1429 if (! pmVisualIsVisual()) return true;1431 if (!DEBUG && !pmVisualIsVisual()) return true; 1430 1432 1431 1433 int myKapa = psphotKapaChannel (1); … … 1568 1570 bool psphotVisualShowSourceSize (pmReadout *readout, psArray *sources) { 1569 1571 1570 if (! pmVisualIsVisual()) return true;1572 if (!DEBUG && !pmVisualIsVisual()) return true; 1571 1573 1572 1574 int myKapa = psphotKapaChannel (1); … … 1595 1597 KapaSection section; 1596 1598 1597 if (! pmVisualIsVisual()) return true;1599 if (!DEBUG && !pmVisualIsVisual()) return true; 1598 1600 1599 1601 int myKapa = psphotKapaChannel (2); … … 2106 2108 bool psphotVisualShowResidualImage (pmReadout *readout) { 2107 2109 2108 if (! pmVisualIsVisual()) return true;2110 if (!DEBUG && !pmVisualIsVisual()) return true; 2109 2111 2110 2112 int myKapa = psphotKapaChannel (1); … … 2122 2124 float lineX[2], lineY[2]; 2123 2125 2124 if (! pmVisualIsVisual()) return true;2126 if (!DEBUG && !pmVisualIsVisual()) return true; 2125 2127 2126 2128 int myKapa = psphotKapaChannel (2); … … 2240 2242 Graphdata graphdata; 2241 2243 2242 if (! pmVisualIsVisual()) return true;2244 if (!DEBUG && !pmVisualIsVisual()) return true; 2243 2245 2244 2246 int myKapa = psphotKapaChannel (2); … … 2324 2326 KiiOverlay *overlay; 2325 2327 2326 if (! pmVisualIsVisual()) return true;2328 if (!DEBUG && !pmVisualIsVisual()) return true; 2327 2329 2328 2330 int kapa = psphotKapaChannel (1);
Note:
See TracChangeset
for help on using the changeset viewer.
