IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29490


Ignore:
Timestamp:
Oct 20, 2010, 8:54:42 AM (16 years ago)
Author:
eugene
Message:

update the source size analysis : CR now detected using M_minor and Kron mag; EXT now detected using only psf - kron mags; update visualization of source sizes; fix apresid visualization (kron vs apmag options); for stand-alone psphot, do not mask as SAT NAN pixels which are already masked; function for dynamic calculation of CR detection parameters

Location:
branches/eam_branches/ipp-20100823/psModules/src/imcombine
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100823/psModules/src/imcombine/pmSubtractionEquation.c

    r29449 r29490  
    11041104        // XXX TEST: try some constraint on the svd solution
    11051105        // solution = psMatrixSolveSVD(solution, sumMatrix, sumVector, NAN);
    1106         solution = psMatrixSolveSVD(solution, sumMatrix, sumVector, NAN);
     1106        // SINGLE solution
     1107        if (1) {
     1108            solution = psMatrixSolveSVD(solution, sumMatrix, sumVector, NAN);
     1109        } else {
     1110            psVector *PERM = NULL;
     1111            psImage *LU = psMatrixLUDecomposition(NULL, &PERM, sumMatrix);
     1112            solution = psMatrixLUSolution(solution, LU, sumVector, PERM);
     1113            psFree (LU);
     1114            psFree (PERM);
     1115        }
    11071116
    11081117        for (int i = 0; i < solution->n; i++) {
     
    11751184        psVectorInit(solution, 0);
    11761185
     1186        // DUAL solution
    11771187        solution = psMatrixSolveSVD(solution, sumMatrix, sumVector, NAN);
    11781188
  • branches/eam_branches/ipp-20100823/psModules/src/imcombine/pmSubtractionKernels.c

    r29449 r29490  
    182182    return true;
    183183}
     184
     185// XXX *** this code used the central pixel to force zero net flux,
     186// Alard actually uses kernel(0) for this purpose (for even order, kernel[i] = kernel'[i] - kernel[0])
    184187
    185188static bool pmSubtractionKernelPreCalcNormalize(pmSubtractionKernels *kernels, pmSubtractionKernelPreCalc *preCalc,
Note: See TracChangeset for help on using the changeset viewer.