IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 16, 2006, 4:48:25 PM (20 years ago)
Author:
magnier
Message:

added local sky variance, modified to work with the new psMinimizeLMChi2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/objects/pmObjects.h

    r6380 r6439  
    1010 *  @author GLG, MHPCC
    1111 *
    12  *  @version $Revision: 1.4.4.7 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-02-08 07:16:49 $
     12 *  @version $Revision: 1.4.4.8 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-02-17 02:48:23 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8888typedef struct
    8989{
    90     float x;    ///< X-coord of centroid.
    91     float y;    ///< Y-coord of centroid.
     90    float x;     ///< X-coord of centroid.
     91    float y;     ///< Y-coord of centroid.
    9292    float Sx;    ///< x-second moment.
    9393    float Sy;    ///< y-second moment.
    94     float Sxy;    ///< xy cross moment.
    95     float Sum;    ///< Pixel sum above sky (background).
    96     float Peak;    ///< Peak counts above sky.
    97     float Sky;    ///< Sky level (background).
     94    float Sxy;   ///< xy cross moment.
     95    float Sum;   ///< Pixel sum above sky (background).
     96    float Peak;  ///< Peak counts above sky.
     97    float Sky;   ///< Sky level (background).
     98    float dSky;  ///< local Sky variance
    9899    float SN;    ///< approx signal-to-noise
    99     int nPixels;   ///< Number of pixels used.
     100    int nPixels; ///< Number of pixels used.
    100101}
    101102pmMoments;
     
    360361
    361362
     363// A complementary function to pmSourceLocalSky: calculate the local sky variance
     364bool pmSourceLocalSkyVariance(
     365    pmSource *source,   ///< The input image (float)
     366    psStatsOptions statsOptions, ///< The statistic used in calculating the background sky
     367    float Radius   ///< The inner radius of the square annulus to exclude
     368);
     369
    362370/** pmSourceMoments()
    363371 *
Note: See TracChangeset for help on using the changeset viewer.