IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 21115


Ignore:
Timestamp:
Jan 12, 2009, 10:22:04 PM (17 years ago)
Author:
beaumont
Message:

Initial visualization features added. cnb.

Location:
branches/cnb_branch_20081104/psModules/src/imcombine
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/cnb_branch_20081104/psModules/src/imcombine/Makefile.am

    r20530 r21115  
    1818        pmSubtractionStamps.c   \
    1919        pmSubtractionThreads.c  \
    20         pmPSFEnvelope.c
     20        pmPSFEnvelope.c         \
     21        pmSubtractionVisual.c
    2122
    2223pkginclude_HEADERS = \
     
    3536        pmSubtractionStamps.h   \
    3637        pmSubtractionThreads.h  \
    37         pmPSFEnvelope.h
     38        pmPSFEnvelope.h         \
     39        pmSubtractionVisual.h
    3840
    3941CLEANFILES = *~
  • branches/cnb_branch_20081104/psModules/src/imcombine/pmSubtractionAnalysis.c

    r20530 r21115  
    1212
    1313#include "pmSubtractionAnalysis.h"
     14#include "pmSubtractionVisual.h"
    1415
    1516#define KERNEL_MOSAIC 2                 // Half-number of kernel instances in the mosaic image
     
    101102        }
    102103
     104        pmSubtractionVisualPlotConvKernels(convKernels);
    103105        psMetadataAddImage(analysis, PS_LIST_TAIL, "SUBTRACTION.KERNEL.IMAGE",
    104106                           PS_META_DUPLICATE_OK, "Realisations of kernel", convKernels);
  • branches/cnb_branch_20081104/psModules/src/imcombine/pmSubtractionEquation.c

    r20530 r21115  
    1313
    1414#include "pmSubtractionEquation.h"
    15 
     15#include "pmSubtractionVisual.h"
    1616
    1717//#define TESTING
     
    692692        return false;
    693693    }
    694 
     694    pmSubtractionVisualPlotLeastSquares(stamps);
    695695    return true;
    696696}
     
    994994        }
    995995     }
    996 
     996    pmSubtractionVisualPlotLeastSquares((pmSubtractionStampList *) stamps); //casting away const
    997997    return true;
    998998}
  • branches/cnb_branch_20081104/psModules/src/imcombine/pmSubtractionMatch.c

    r20505 r21115  
    1919#include "pmSubtractionThreads.h"
    2020#include "pmSubtractionMatch.h"
    21 
     21#include "pmSubtractionVisual.h"
    2222
    2323#define BG_STAT PS_STAT_ROBUST_MEDIAN   // Statistic to use for background
     
    8686
    8787    memCheck("   extract stamps");
    88 
     88    pmSubtractionVisualPlotStamps(*stamps);
    8989    return true;
    9090}
     
    266266            }
    267267
     268
    268269            if (subMode == PM_SUBTRACTION_MODE_UNSURE) {
    269270                // Get backgrounds
     
    337338                    goto MATCH_ERROR;
    338339                }
    339 
    340340                memCheck("  calculate equation");
    341341
     
    346346                    goto MATCH_ERROR;
    347347                }
    348 
    349348                memCheck("  solve equation");
    350349
     
    354353                    goto MATCH_ERROR;
    355354                }
    356 
    357355                memCheck("   calculate deviations");
    358356
Note: See TracChangeset for help on using the changeset viewer.