IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5361


Ignore:
Timestamp:
Oct 18, 2005, 4:32:25 AM (21 years ago)
Author:
eugene
Message:

additions to fringes and astrometry functions

Location:
trunk/doc/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/modules/CameraImages.tex

    r5359 r5361  
    774774typedef struct {
    775775    double X, Y;
     776    double L, M;
    776777    double P, Q;
    777     double L, M;
    778778    double R, D;
    779779    double Mag;
     
    782782This structure specifies the coordinate of the detection in each of
    783783the four necessary coordinate frames: \code{X,Y} define the position
    784 in the \code{psReadout} frame, \code{P,Q} define the position in the
    785 \code{psChip} frame, \code{L,M} define the position in the
     784in the \code{psReadout} frame, \code{L,M} define the position in the
     785\code{psChip} frame, \code{P,Q} define the position in the
    786786\code{psFPA} frame, \code{R,D} define the position on the Celestial
    787787Sphere.  \tbd{re-write using psPlane and psSphere?}.  In addition, a
     
    809809determines the matched objects between the two lists.  The input
    810810sources must have been projected to the Focal Plane coordinates
    811 (\code{pmAstromObj.P,Q}), and the supplied \code{config} entry must
     811(\code{pmAstromObj.L,M}), and the supplied \code{config} entry must
    812812contain the desired match radius (keyword:
    813813\code{ASTROM_MATCH_RADIUS}).  The output consists an array of
     
    860860\end{prototype}
    861861The input sources must have been projected to the Focal Plane
    862 coordinates (\code{pmAstromObj.P,Q}), and the supplied \code{config}
     862coordinates (\code{pmAstromObj.L,M}), and the supplied \code{config}
    863863entry must contain the following user-defined parameters:
    864864\begin{itemize}
     
    875875typedef struct {
    876876    double angle;
    877     double dP;
    878     double dQ;
     877    double dL;
     878    double dM;
    879879    double minMetric;
    880880    double minVar;
     
    882882} pmAstromGridMatchStats;
    883883\end{datatype}
    884 The elements \code{angle}, \code{dP}, \code{dQ} define the best
     884The elements \code{angle}, \code{dL}, \code{dM} define the best
    885885rotation and offset; the element \code{nMatch} indicates the number of
    886886matched sources which fell within the match bin; the element
     
    949949linear terms and the higher-order terms of the polynomial fits.
    950950
     951A mosaic represents a particular set of challenges when determining an
     952astrometric solution.  There is substantial degeneracy between the
     953astrometric terms which describe the transformationfrom the chip to
     954the focal plane, and the tranformation from the focal plane to the
     955tangent plane, in the presence of distortion.  The degeneracy can be
     956broken by examining the distortion component in its effect on the
     957gradient of the sources position residuals rather than in the source
     958positions themselves.  The following function determines the position
     959residual, in the tangent plane, as a function of position in the focal
     960plane, for a collection of raw measurements and matched reference
     961stars.  The configuration data must include the bin size over which
     962the gradient is measured (keyword: \code{ASTROM_GRAD_BOX}).  The
     963function returns an array of \code{pmAstromGradient} structures,
     964defined below.
     965\begin{prototype}
     966psArray pmAstromMeasureGradients (psArray *st1, psArray *st2, psArray *match, psMetadata *config);
     967\end{prototype}
     968
     969The following data structure carries the information about the
     970residual gradient of source positions in the tangent plane
     971(\code{P,Q}) as a function of position in the focal plane
     972(\code{L,M}).
     973\begin{datatype}
     974typedef struct {
     975    double L;
     976    double M;
     977    double dPdL;
     978    double dPdM;
     979    double dQdL;
     980    double dQdM;
     981} pmAstromGradient;
     982\end{datatype}
     983
     984The gradient set measured above can be fitted with a pair of 2D
     985polynomials.  The resulting fits can then be related back to the
     986implied polynomials which represent the distortion.  The following
     987function performs the fit and applies the result to the distortion
     988transformation of the supplied \code{pmFPA} structure.  The
     989configuration variable supplies the polynomial order (keyword:
     990\code{ASTROM_DISTORT_ORDER}).
     991\begin{prototype}
     992psArray pmAstromFitDistortion (pmFPA *fpa, psArray *gradients, psMetadata *config);
     993\end{prototype}
     994
     995\tbd{can we use the pmAstromFitMatch func above to fit the remaining
     996  power in the chips?}
     997
  • trunk/doc/modules/ModulesSDRS.tex

    r5359 r5361  
    1 %%% $Id: ModulesSDRS.tex,v 1.60 2005-10-18 14:07:17 eugene Exp $
     1%%% $Id: ModulesSDRS.tex,v 1.61 2005-10-18 14:32:25 eugene Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    12331233of an image given a collection of fringe point pairs.
    12341234\begin{prototype}
    1235 stats *pmFringeStats (psImage *image, psArray *fringePoints, psMetadata *config);
     1235stats *pmFringeStats (psArray *fringePoints, psImage *image, psMetadata *config);
    12361236\end{prototype}
    12371237This function measures the robust median at each of the minimum and
    12381238maximum coordinates and determines the difference and mean of the two
    1239 values.  From the collection of differences, the robust median is
    1240 calculated, and returned as part of the fringe statistics.
     1239values.  The size of the box used to make the measurement at each
     1240point is specified by the configuration variable
     1241\code{FRINGE_SQUARE_RADIUS}.  From the collection of differences, the
     1242robust median is calculated, and returned as part of the fringe
     1243statistics.  For each fringe point, the values of \code{delta} and
     1244\code{midValue} are also assigned and available to the user on return.
    12411245 
    12421246The \code{fringePoints} are defined by the following structure:
Note: See TracChangeset for help on using the changeset viewer.