Changeset 5709
- Timestamp:
- Dec 6, 2005, 9:48:26 AM (20 years ago)
- Location:
- trunk/doc/modules
- Files:
-
- 4 edited
-
CameraImages.tex (modified) (5 diffs)
-
ChangeLogSDRS.tex (modified) (3 diffs)
-
Makefile (modified) (2 diffs)
-
ModulesSDRS.tex (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/modules/CameraImages.tex
r5486 r5709 698 698 image to the tangent plane); and the projection. 699 699 700 \begin{verbatim} 701 bool pmAstrometryReadWCS(psPlaneTransform **transform, // Output transformation 702 psProjection **projection, // Output projection 703 psMetadata *header // Input FITS header 704 ); 705 bool pmAstrometryWriteWCS(psMetadata *header, // Output FITS header 706 psPlaneTransform *transform, // Input transformation 707 psProjection *projection, // Input projection 708 double color, // Mean color to use 709 double magnitude, // Mean magnitude to use 710 ); 711 bool pmAstrometrySimplify(psPlaneTransform **transform, // Output transformation 712 psProjection **projection, // Output projection 713 pmCell *cell // Cell for which to generate transform and projection 714 ); 715 \end{verbatim} 716 717 \code{pmReadAstrometry} shall parse the specified FITS \code{header}, 700 \begin{prototype} 701 bool pmAstromReadWCS(psPlaneTransform **transform, // Output transformation 702 psProjection **projection, // Output projection 703 psMetadata *header // Input FITS header 704 ); 705 bool pmAstromWriteWCS(psMetadata *header, // Output FITS header 706 psPlaneTransform *transform, // Input transformation 707 psProjection *projection // Input projection 708 ); 709 \end{prototype} 710 711 \code{pmAstromReadWCS} shall parse the specified FITS \code{header}, 718 712 returning new instances of the \code{transform} and \code{projection} 719 713 that represent the WCS. The function shall return \code{true} if it … … 721 715 return \code{false}. 722 716 723 \code{pm WriteAstrometry} shall add WCS keywords to the supplied FITS717 \code{pmAstromWriteWCS} shall add WCS keywords to the supplied FITS 724 718 \code{header} that implement the given \code{transform} and 725 719 \code{projection}. The function shall return \code{true} if it was 726 720 able to successfully generate the output; otherwise it shall return 727 721 \code{false}. 722 723 \begin{verbatim} 724 bool pmAstrometrySimplify(psPlaneTransform **transform, // Output transformation 725 psProjection **projection, // Output projection 726 pmCell *cell // Cell for which to generate transform and projection 727 ); 728 \end{verbatim} 728 729 729 730 \code{pmSimplifyAstrometry} shall take a \code{cell} and simplify the … … 875 876 rotations. We define the following function to apply this matching algorithm: 876 877 \begin{prototype} 877 p sArray *pmAstromGridMatch (psArray *starlist1, psArray *starlist2, psMetadata *options);878 pmAstromStats pmAstromGridMatch (psArray *raw, psArray *ref, psMetadata *options); 878 879 \end{prototype} 879 880 The input sources must have been projected to the Focal Plane … … 887 888 \item \code{GRID.DEL.ANGLE} : relative rotation step size 888 889 \end{itemize} 889 Note that the angles are defined as counter-clockwise rotations of 890 starlist 1 relative to starlist 2. 891 892 This function returns all matched pairs identified in the grid cell. 893 It also adds to the \code{options} metadata several elements defining 894 the statistics of the best-fit (rotation and offset grid cell): 895 \begin{itemize} 896 \item \code{GRID.FIT.ANGLE} 897 \item \code{GRID.FIT.LOFF} 898 \item \code{GRID.FIT.MOFF} 899 \item \code{GRID.FIT.METRIC} 900 \item \code{GRID.FIT.VARIANCE} 901 \item \code{GRID.FIT.NMATCH} 902 \end{itemize} 903 The elements \code{GRID.FIT.ANGLE}, \code{GRID.FIT.LOFF}, 904 \code{GRID.FIT.MOFF} define the best rotation and offset; the element 905 \code{GRID.FIT.NMATCH} indicates the number of matched sources which 906 fell within the match bin; the element \code{GRID.FIT.VAR} defines the 907 variance of the sources within the match bin; the element 908 \code{GRID.FIT.METRIC} specifies the value of the selection metric for 909 the matched bin. Note that the metric of choice may not necessarily 910 be either the simple number of sources or the varience. We find that 911 a combination based on both which enhances the importance of having a 912 well-populated bin with a minimal variance gives good results: 913 $\mbox{metric} = \mbox{var} \times N^{-4}$. 914 915 The result of a \code{pmAstromGridMatch} may be used to modify the 916 astrometry transformation information for a \code{pmFPA} image 917 hierarchy structure. The result of \code{pmAstromGridMatch} defines 918 the adjustments which should be made to the reference coordinate of 919 the projection (\code{pmFPA.projection.R,D}) and the effective 920 rotation of the Focal Plane. The rotation implies modification of the 921 linear terms of the \code{pmFPA.toTangentPlane} transformation. These 922 two adjustments are made using the function: 923 \begin{prototype} 924 bool pmAstromApplyGridMatch (pmFPA *fpa, pmAstromGridMatchStats stats); 925 \end{prototype} 926 This function modifies the supplied \code{pmFPA} entry as described 927 above. 928 929 We define two additional functions which are used in two build 890 Note that the angles are defined as clockwise rotations of \code{raw} 891 relative to \code{ref}. 892 893 This function returns values in the \code{pmAstromStats} structure, defined as: 894 \begin{datatype} 895 typedef struct { 896 psPlane center; 897 psPlane offset; 898 double angle; 899 double minMetric; 900 double minVar; 901 int nMatch; 902 } pmAstromStats; 903 \end{datatype} 904 The elements \code{angle} and \code{offset} define the best rotation 905 and offset; the element \code{nMatch} indicates the number of matched 906 sources which fell within the match bin; the element \code{minVar} 907 specifies the variance of the sources within the match bin; the 908 element \code{minMetric} specifies the value of the selection metric 909 for the matched bin. Note that the metric of choice may not 910 necessarily be either the simple number of sources or the varience. 911 We find that a combination based on both which enhances the importance 912 of having a well-populated bin with a minimal variance gives good 913 results: $\mbox{metric} = \mbox{var} \times N^{-4}$. The element 914 \code{center} defines the center of rotation used for rotating the 915 \code{raw} stars relative to the \code{ref} stars. 916 917 The result of a \code{pmAstromGridMatch} may be used to modify a 918 \code{psPlaneTransform} structure \code{map}. The result of 919 \code{pmAstromGridMatch} can be translated into adjustments of the 920 \code{psPlaneTransform} (ie the rotation and offset). This adjustment 921 is made using the function: 922 \begin{prototype} 923 bool pmAstromGridApply (psPlaneTransform *map, pmAstromStats stats); 924 \end{prototype} 925 This function modifies the supplied \code{map} entry assuming the 926 adjustments are relative to the provided transformation. 927 928 We define two additional functions which are used in 930 929 \code{pmAstromGridMatch}, but which may be useful on their own: 931 930 932 931 \begin{prototype} 933 p sArray *pmAstromGridMatchAngle (psArray *starlist1, psArray *starlist2, psMetadata *options);932 pmAstromStats pmAstromGridAngle (psArray *raw, psArray *ref, psMetadata *options); 934 933 \end{prototype} 935 934 This function is identical to \code{pmAstromGridMatch}, but is valid … … 939 938 940 939 \begin{prototype} 941 psArray *pmAstromRotateObj (psArray *old, double angle, double pCenter, double qCenter);940 psArray *pmAstromRotateObj (psArray *old, psPlane center, double angle); 942 941 \end{prototype} 943 942 This function accepts an array of \code{pmAstromObj} objects and 944 943 rotates them by the given \code{angle} about the given center 945 coordinate \code{pCenter,qCenter} in the Focal Plane Array 946 coordinates. 944 coordinate \code{center} in the Focal Plane Array coordinates. 947 945 948 946 \subsubsection{Astrometry Fitting Routines} -
trunk/doc/modules/ChangeLogSDRS.tex
r5486 r5709 1 %%% $Id: ChangeLogSDRS.tex,v 1.4 0 2005-11-08 02:46:38 price Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.41 2005-12-06 19:48:26 eugene Exp $ 2 2 3 3 \subsection{Changes from version 00 (16 August 2004) to version 01 (12 October 2004)} … … 156 156 \end{itemize} 157 157 158 \subsection{Changes from version 09 (18 Oct 2005) to present}158 \subsection{Changes from version 09 (18 Oct 2005) to version 10 (06 Dec 2005)} 159 159 160 160 \begin{itemize} … … 172 172 \item Added \code{p_pmHDU}. 173 173 \item Changed \code{pmFPA,pmChip,pmCell->private} to \code{hdu}. 174 175 \item changed \code{pmAstrometryReadWCS} to \code{pmAstromReadWCS} 176 \item changed \code{pmAstrometryWriteWCS} to \code{pmAstromWriteWCS} 177 \item changed \code{pmAstromGridMatch} to output \code{pmAstromStats} 178 \item moved various \code{pmAstromGridMatch} output values from metadata 179 to the output \code{pmAstromStats} 180 \item changed \code{pmAstromGridMatchAngle} to \code{pmAsromGridAngle} 181 \item changed \code{pmAstromGridAngle} to output \code{pmAstromStats} 182 \item changed \code{pmAstromRotateObj} to accept center as \code{psPlane} 183 174 184 \end{itemize} -
trunk/doc/modules/Makefile
r5376 r5709 1 # $Id: Makefile,v 1. 6 2005-10-19 03:23:51eugene Exp $1 # $Id: Makefile,v 1.7 2005-12-06 19:48:26 eugene Exp $ 2 2 3 3 PDFLATEX = env TEXINPUTS=../../latex/inputs:$(TEXINPUTS):.: pdflatex … … 25 25 %.pdf: %.tex 26 26 $(PSLATEX) $*.tex 27 dvips -z -t letter -o $*.ps $*.dvi 28 ps2pdf $*.ps $*.pdf 29 thumbpdf --modes=dvips $*.pdf 27 30 $(PSLATEX) $*.tex 28 31 dvips -z -t letter -o $*.ps $*.dvi -
trunk/doc/modules/ModulesSDRS.tex
r5463 r5709 1 %%% $Id: ModulesSDRS.tex,v 1.6 7 2005-11-03 03:20:51 price Exp $1 %%% $Id: ModulesSDRS.tex,v 1.68 2005-12-06 19:48:26 eugene Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 11 11 \project{Pan-STARRS Image Processing Pipeline} 12 12 \organization{Institute for Astronomy} 13 \version{ 09}13 \version{10} 14 14 \docnumber{PSDC-430-012} 15 16 \usepackage[ps2pdf]{thumbpdf} 15 17 16 18 \begin{document} … … 35 37 08 & 2005 Sep 13 & final for cycle 8 \\ \hline 36 38 09 & 2005 Oct 18 & final for cycle 9 \\ \hline 39 10 & 2005 Dec 06 & draft for cycle 10 \\ \hline 37 40 \RevisionsEnd 38 41
Note:
See TracChangeset
for help on using the changeset viewer.
