Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

pmSourcePhotometry.h File Reference


Detailed Description

Author:
EAM, IfA; GLG, MHPCC
Version:
Revision
1.2
Name
rel12
Date:
Date
2006/04/17 18:01:05
Copyright 2004 Maui High Performance Computing Center, University of Hawaii

Definition in file pmSourcePhotometry.h.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  pmSourcePhotometryMode { PM_SOURCE_PHOT_NONE = 0x0000, PM_SOURCE_PHOT_GROWTH = 0x0001, PM_SOURCE_PHOT_APCORR = 0x0002, PM_SOURCE_PHOT_WEIGHT = 0x0004 }
 The function returns both the magnitude of the fit, defined as -2.5log(flux), where the flux is integrated under the model, theoretically from a radius of 0 to infinity. More...

Functions

bool pmSourcePhotometryModel (float *fitMag, pmModel *model)
bool pmSourcePhotometryAper (float *apMag, pmModel *model, psImage *image, psImage *mask)
bool pmSourceMagnitudesInit (psMetadata *config)
bool pmSourceMagnitudes (pmSource *source, pmPSF *psf, pmSourcePhotometryMode mode)
float pmSourceCrossProduct (pmSource *Mi, pmSource *Mj)
float pmSourceCrossWeight (pmSource *Mi, pmSource *Mj)
bool pmSourcePixelWeight (float *pixWeight, pmModel *model, psImage *image, psImage *mask)


Enumeration Type Documentation

enum pmSourcePhotometryMode
 

The function returns both the magnitude of the fit, defined as -2.5log(flux), where the flux is integrated under the model, theoretically from a radius of 0 to infinity.

In practice, we integrate the model beyond 50sigma. The aperture magnitude is defined as -2.5log(flux) , where the flux is summed for all pixels which are not excluded by the aperture mask. The model flux is calculated by calling the model-specific function provided by pmModelFlux_GetFunction.

XXX: must code this.

Enumerator:
PM_SOURCE_PHOT_NONE 
PM_SOURCE_PHOT_GROWTH 
PM_SOURCE_PHOT_APCORR 
PM_SOURCE_PHOT_WEIGHT 

Definition at line 28 of file pmSourcePhotometry.h.


Function Documentation

float pmSourceCrossProduct pmSource Mi,
pmSource Mj
 

float pmSourceCrossWeight pmSource Mi,
pmSource Mj
 

bool pmSourceMagnitudes pmSource source,
pmPSF psf,
pmSourcePhotometryMode  mode
 

bool pmSourceMagnitudesInit psMetadata *  config  ) 
 

bool pmSourcePhotometryAper float *  apMag,
pmModel model,
psImage *  image,
psImage *  mask
 

Parameters:
apMag  aperture flux magnitude
model  model used for photometry
image  image pixels to be used
mask  mask of pixels to ignore

bool pmSourcePhotometryModel float *  fitMag,
pmModel model
 

Parameters:
fitMag  integrated fit magnitude
model  model used for photometry

bool pmSourcePixelWeight float *  pixWeight,
pmModel model,
psImage *  image,
psImage *  mask
 


Generated on Mon Jul 3 14:24:56 2006 for Pan-STARRS Module Library by  doxygen 1.4.4