Changeset 424
- Timestamp:
- Apr 14, 2004, 3:38:47 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/design/specs.tex (modified) (27 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/design/specs.tex
r418 r424 1 %%% $Id: specs.tex,v 1. 4 2004-04-13 02:18:48eugene Exp $1 %%% $Id: specs.tex,v 1.5 2004-04-15 01:38:47 eugene Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 5 5 \title{Pan-STARRS Image Processing Pipeline} 6 6 \subtitle{Software Requirements Specification} 7 \author{Eugene Magnier, Paul A. Price}8 7 \shorttitle{IPP SRS} 8 \author{Eugene Magnier, Paul A. Price, Josh Hoblitt} 9 9 \group{Pan-STARRS Algorithm Group} 10 10 \project{Pan-STARRS Image Processing Pipeline} 11 11 \organization{Institute for Astronomy} 12 \version{ 01.DR}12 \version{DR} 13 13 \docnumber{PSDC-430-005} 14 14 15 \setcounter{tocdepth}{4} % lowest level to be included in toc 15 % allow paragraphs to be listed in TOC for now 16 \setcounter{tocdepth}{4} 16 17 17 18 \begin{document} … … 19 20 20 21 % -- Revision History -- 21 % provide explicit values for the old versions22 % use '\theversion' for the current version (set above)23 22 \RevisionsStart 24 23 % version Date Description 25 01 & 2003.01.01 & First draft \\ 26 \hline27 \theversion & 2003.03.10 & Second draft \\ 24 DR.01 & 2003.01.01 & First draft \\ \hline 25 DR.02 & 2003.03.10 & Second draft \\ \hline 26 DR.03 & 2003.04.13 & Most paragraphs fleshed out \\ \hline 28 27 \RevisionsEnd 29 28 … … 42 41 43 42 This document establishes the system requirements for the Pan-STARRS 44 Image Processing Pipeline (IPP). 43 Image Processing Pipeline (IPP) as applied to Pan-STARRS 1 (PS-1), the 44 initial demonstration telescope to be constructed on Haleakala by Jan 45 2006. 45 46 46 47 \subsection{System Overview} 48 49 \tbd{description of the Pan-STARRS System and PS-1.} 47 50 48 51 \subsection{Document Overview} … … 64 67 65 68 \DocumentsInternalSection 66 PS CD-430-xxx & PS-1 Design Reference Mission \\ \hline67 PS CD-430-004 & Pan-STARRS IPP C Code Conventions \\ \hline68 PS CD-430-006 & Pan-STARRS IPP ADD \\ \hline69 PS CD-430-007 & Pan-STARRS IPP PSLib SDR \\ \hline69 PSDC-430-xxx & PS-1 Design Reference Mission \\ \hline 70 PSDC-430-004 & Pan-STARRS IPP C Code Conventions \\ \hline 71 PSDC-430-006 & Pan-STARRS IPP ADD \\ \hline 72 PSDC-430-007 & Pan-STARRS IPP PSLib SDR \\ \hline 70 73 \DocumentsExternalSection 71 74 Posix Standard & Open Group Based Specifications Issue 6, IEEE Std 1003.1, 2003 \\ … … 74 77 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 75 78 76 \section{Requirements} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%79 \section{Requirements} 77 80 78 81 \subsection{Required States and Modes} 79 82 80 The IPP has NN states: active mode, paused mode, interactive mode.83 The IPP has 3 states: active, paused, and interactive. 81 84 82 85 \begin{itemize} 83 86 84 \item {\bf active mode} In active mode, the IPP shall accept images87 \item {\bf active state} In active state, the IPP shall accept images 85 88 and metadata from OATS and automatically perform the complete set of 86 89 image processing tasks, including both calibration and science image … … 88 91 client science pipelines \tbd{and IPP monitoring team}. 89 92 90 \item {\bf paused mode} In paused mode, the IPP shall refuse data and93 \item {\bf paused state} In paused state, the IPP shall refuse data and 91 94 metadata from OATS and data requests from the client science 92 95 pipelines. 93 96 94 \item {\bf interactive mode} In interactive mode, the IPP shall97 \item {\bf interactive state} In interactive state, the IPP shall 95 98 accept data and metadata from OATS, but will not automatically 96 99 process the data. The IPP shall respond to user commands to 97 100 initiate portions of the data analysis. 98 101 \end{itemize} 102 103 \tbd{what is a mode?} 99 104 100 105 \subsection{System Capability Requirements} … … 237 242 x86/Linux combination. 238 243 239 240 244 \paragraph{Software Configuration} 241 245 242 \tbd{Makefiles, directory structures, etc}246 \tbd{Makefiles, directory structures, UPS, etc} 243 247 244 248 \subsubsection{Architectural Components} 245 249 246 The IPP is organised into several different software elements, listed 247 as follows: 250 In order to achieve the required functionality, it is necessary to 251 divide the IPP into a number of clearly-defined software elements, 252 listed as follows: 248 253 249 254 \begin{enumerate} 250 \item Pixel Server 251 \item Object Database 252 \item Metadata Database 253 \item Analysis Stages 254 \item Controller 255 \item Scheduler 255 256 \item {\bf Pixel Server:} This component is a large data store for all 257 images used by the IPP, including the raw images from the telescope, 258 the master calibration images, the reference static-sky images, and 259 any temporary image data products produced by the IPP. The Pixel 260 Server is required to meet all of the image storage needs identified 261 in the top-level requirements above. The Pixel Server must accept 262 the incoming data and store it until it is no longer needed by other 263 portions of the IPP. 264 265 \item {\bf Photometry \& Astrometry Database (PnA):} This component is 266 required to store and manipulate astronomical objects detected in 267 various images, as identified above, including individual 268 measurements of objects on the images, the summary information about 269 those objects, and reference object data. 270 271 \item {\bf Metadata Database:} This component is required to store the 272 data which is not directly related to images or astronomical objects 273 as needed to perform the analysis specified above. 274 275 \item {\bf Analysis Stages:} Specific programs are required to 276 perform the processing steps listed above. These can be divided 277 into well-defined analysis stages, each of which operates on a 278 particular unit of data, such as a single OTA image or a colletion 279 of astronomical objets. 280 281 \item {\bf Controller:} In order to perform the analysis stages 282 required by the IPP, it is necessary to use distributed computing 283 processes on a large number of computers. The Controller is 284 required to manage the collection of analysis stages performed on 285 these machines. 286 287 \item {\bf Scheduler:} This component is a decision-making mechanism 288 required to guide the operation of the IPP: to evaluate the 289 currently available collection of data, to identify the necessary 290 analysis, and to assign the analysis tasks to the Controller. 291 256 292 \end{enumerate} 257 293 258 294 The relationship between these software elements is shown in 259 295 Figure~\ref{overview}. This figure also shows the interactions 260 between the IPP and other Pan-STARRS systems. The Pixel Server is a 261 respository for all image pixel data, including the raw images from 262 the telescope, the master calibration images, the reference static-sky 263 images, and any temporary image data products produced by the IPP. 264 The Object Database is a facility to store all of the information 265 about astronomical objects, including individual measurements of 266 objects on the images, the summary information about those objects, 267 and reference object data. The Metadata Database is a storage element 268 for all data which is neither image pixel data or astronomical object 269 data. The analysis pipelines are all of the top-level analysis 270 processes which are performed on images or collections of object data. 271 The Controller is a system which manages the process of executing in 272 parallel analysis pipelines on specific datasets on the cluster of 273 computers. The Scheduler is a system which evaluates the current 274 state of data in the various repositories and makes decisions about 275 which analysis processes should be executed at any given time. 296 between the IPP and other Pan-STARRS systems. 276 297 277 298 \begin{figure} … … 461 482 \tbd{queries} 462 483 463 \ paragraph{Configuration Database -- a subset of the metadata database?}484 \subparagraph{Configuration Database -- a subset of the metadata database?} 464 485 465 486 The IPP requires a Configuration Database to store and provide access to … … 668 689 \paragraph{Overview} 669 690 670 We now consider the collection of analysis tasks which are performed 671 by the IPP. Depending on the task, they may be performed on 672 individual images, collections of images, or on derived data products. 673 Because of the nature of the image data, many of the analysis tasks 674 can be performed in parallel because, for example, the analysis of an 675 OTA in one image does not depend on the results from another OTA. We 676 define the term 'analysis stage' to refer to the largest complete 677 analysis task which may be performed on a single data item. The 678 analysis stages are divided into three categories, and further 679 subdivided as follows: 691 We now consider the collection of analysis tasks which must be 692 performed by the IPP. These tasks represent the core of the required 693 IPP functionality; the architectural components discussed above can be 694 viewed as primarily supporting infrastructure to enable the analysis 695 tasks to be executed on the appropriate data and to store the results. 696 697 Depending on the task, the basic data unit may be individual images, 698 collections of images, or derived data products such as collection of 699 detections of astronomical objects. Because of the granularity of 700 these data units, many of the analysis tasks can be performed in 701 parallel because, for example, the intial analysis of an OTA in one 702 image does not depend on the results from another OTA. We define the 703 term 'analysis stage' to refer to the largest complete analysis task 704 which may be performed on a single data item. The analysis stages are 705 divided into three categories, and further subdivided as follows: 680 706 681 707 \begin{enumerate} 682 \item Science Image Analysis Stages 708 \item {\bf Science Image Analysis} is performed on the night-sky 709 science images to extract the science data from these images. The 710 science image analysis is divided into 4 phases: 711 712 \begin{itemize} 713 \item {\bf Phase 1:} The image processing preparation phase, in 714 which a basic analysis of the complete FPA image is performed. 715 716 \item {\bf Phase 2:} The image reduction phase, in which the 717 individual detector images (OTAs) are processed as much as possible 718 without reference to other chips in the same FPA image or other 719 exposures. 720 721 \item {\bf Phase 3:} The exposure analysis phase, in which the 722 results of the multiple detectors are combined to improve the 723 calibrations for the complete FPA images. 724 725 \item {\bf Phase 4:} The image combination phase, in which several 726 difference exposures of the same part of the sky are combined to 727 produce high-quality difference and summed images. 728 \end{itemize} 729 730 \item {\bf Calibration Image Analysis} is required to generate the 731 calibration images used in the science image analysis. There are 732 three types of calibration images which are produced. 733 683 734 \begin{enumerate} 684 \item Phase 1 : image processing preparation 685 \item Phase 2 : image reduction 686 \item Phase 3 : exposure analysis 687 \item Phase 4 : image combination 735 \item {\bf Calibration 1:} The basic master-detrend creation images, 736 which are constructed from a simple stack of multiple input 737 calibration images. 738 739 \item {\bf Calibration 2:} Sky-model \& fringe-model images, which 740 are constructed by combining a collection of images which require 741 substantial processing before the combination. 742 743 \item {\bf Calibration 3:} Flat-field correction image, which is 744 constructed on the basis of photometry observations of objects from 745 certain science images. 746 688 747 \end{enumerate} 689 \item Calibration Image Analysis Stages 690 \begin{enumerate} 691 \item Calibration 1 : basic master-detrend creation 692 \item Calibration 2 : Sky-model/fringe-mode generation 693 \item Calibration 3 : Flat-field correction image Creation 694 \end{enumerate} 695 \item Reference Catalog Analysis Stages 696 \begin{enumerate} 697 \item Astrometry reference catalog generation 698 \item Photometry reference catalog generation 699 \end{enumerate} 748 749 \item {\bf Reference Catalog Creation} is required by the IPP to 750 generate improved astrometric and photometric reference catalogs on 751 the basis of Pan-STARRS observations. 752 700 753 \end{enumerate} 701 754 … … 704 757 the Controller. The thick lines represent the flow of pixel data, the 705 758 thin lines represent the flow of metadata and object data, and the 706 grey lines represent the flow of commands. \tbd{All subsystem 707 interactions, except that between the scheduler and controller, are in 708 the form of updates to and queries from the databases}. The hatched 709 systems represent external PanSTARRS systems (OATS, the Sky Server, 710 the SAIC Object Database, the Moving/Transient Object Pipeline, and 711 other Client Science Pipelines. 759 grey lines represent the flow of commands. The hatched systems 760 represent external PanSTARRS systems (OATS, the Sky Server, the SAIC 761 Object Database, the Moving/Transient Object Pipeline, and other 762 Client Science Pipelines. 712 763 713 764 The individual analysis stages can be accessed as a UNIX command-line … … 717 768 \tbd{Python}. 718 769 719 \subparagraph{Science Image Pipelines} 720 721 The IPP science image pipelines perform analyses on the night-sky 722 science images to extract the science data from these images. These 723 consist of: Phase 0, the night preparation stage; Phase 1, the image 724 processing preparation stage; Phase 2, the image reduction stage; 725 Phase 3, the exposure analysis stage; and Phase 4, the image 726 combination stage. These pipelines must process the images in a 727 timely manner so that the incoming data stream will not overload the 728 IPS. The decision to execute a specific pipeline for a specific 770 The decision to execute a specific analysis stage for a specific 729 771 dataset is made by the Scheduler, which sends the infomation to the 730 Controller. The Controller executes the pipeline for the data on an 731 appropriate machine and monitors the success or failure of the job. 732 733 \subparagraph{Calibration Image Pipelines} 734 735 The IPP Calibration Image Pipelines perform the tasks needed to 736 generate high-quality calibration images from the input image 737 dataset. These operations may be performed on whatever timescales are 738 appropriate and necessary to maintain the quality and relevance of the 739 calibration images. There are four distinct types of calibration 740 image pipelines: the basic detrend creation pipeline, the photometric 741 correction image creation pipeline, the fringe pattern generation 742 pipeline, and the sky foreground pattern generation pipeline. 743 744 \subparagraph{Reference Catalog Pipelines} 745 746 The IPP reference catalog pipelines use the data in the IPP Internal 747 Database and the IPP Object Database to determined improved 748 astrometric and photometric calibration references. 772 Controller. The Controller executes the analysis stage for the data 773 on an appropriate machine and monitors the success or failure of the 774 job. 749 775 750 776 \begin{figure} … … 755 781 \end{figure} 756 782 783 \paragraph{Science Image Analysis} 784 785 The Science Image analysis stages together represent the basic data 786 analysis required by the IPP. These analysis stages must process the 787 images in a timely manner so that the incoming data stream will not 788 overload the Pixel Server. The required processing time is derived 789 from the rate at which science images are obtained by PS-1. At a 790 minimum, the Science Image Analysis must keep up with the average 791 image rate over the course of 1 day. \tbd{The Science image analysis 792 is required to process images at the maximum science image rate from 793 PS-1 of 1 image every 30 seconds -- does this fall out of the science 794 requirements?} \tbd{In order to give time for uncertainties in the 795 Pan-STARRS system as a whole, the Science Image Analysis must be able 796 to process all images from a night within 12 hours.} 797 798 \tbd{number of images per night, data volume per image, output 799 products} 800 801 The science image analysis which must be performed by the IPP consists 802 of: 803 804 \begin{itemize} 805 \item detrending the images to remove the instrumental signature 806 807 \item astrometric and photometric calibration of the individual images 808 809 \item merging a collection of several images of the same portion of 810 the sky obtained over a short period of time (to remove image defects 811 and gaps) 812 813 \item subtracting the appropriate reference static-sky image 814 815 \item cleaning the image of any transients 816 817 \item adding the cleaned image to the static sky 818 819 \item object detection of images at specific stages 820 \end{itemize} 821 822 These analysis steps can be grouped into four phases, each of which 823 deals with a single data unit. We identify and discuss the 824 requirements of the four phases below. 825 757 826 \paragraph{Phase 1 : image processing preparation} 758 827 … … 760 829 calculate basic astrometric \tbd{and photometric} data needed by the 761 830 later stages. Phase 1 must use the static (pre-determined) telescope 762 distortion model, combined with the guide star pixel and celestial 763 coordinates, to determine the correct telescope bore-site, field 764 rotation and magnification. The astrometric accurate required from 765 this analysis stage is 2 arcsec across the field, sufficient to match 766 the vast majority of reference stars with their detections. 831 distortion model and table of nominal OTA positions and rotations, 832 combined with the guide star pixel and celestial coordinates, to 833 determine the correct telescope bore-site, field rotation and 834 magnification. The astrometric accurate required from this analysis 835 stage is \tbd{2 arcsec} across the field, sufficient to match the vast 836 majority of reference stars with their detections. 767 837 768 838 In some circumstances, science images may have no guide stars. This … … 773 843 are significantly above the background level. The threshold levels 774 844 for this object detection stage must be configurable. The object 775 extraction must be performed in less than 3 seconds.845 extraction must be performed in less than \tbd{3 seconds}. 776 846 777 847 In order for astrometry of an image to succeed, it is necessary that 778 848 approximate image coordinates be known. The Phase 1 analysis must be 779 able to succeed despite initial coordinate errors as large as 5 times780 t he field width. However, the search process must attempt the near781 matches first in the assumption that the given coordinates are782 accurate. 849 able to succeed despite initial coordinate errors as large as \tbd{5 850 times} the field width. However, the search process must attempt the 851 near matches first in the assumption that the given coordinates are 852 accurate. 783 853 784 854 A table of the overlaps between the science image to be processed and … … 786 856 guide the processing of the static sky in Phase 4. The overlaps must 787 857 be generously calculated so that small errors in astrometry at Phase 1 788 will not cause any valid static sky / science image pairs to be 789 missed. It is acceptable for a small number of invalid overlaps to be 790 identified as these will be excluded in Phase 4. 858 will not cause any valid static sky / science image pairs to be missed 859 because of the astrometric error at this phase. It is acceptable for 860 a small number of invalid overlaps to be identified as these will be 861 excluded in Phase 4. 791 862 792 863 It is not unusual that an image be obtained with invalid coordinates … … 801 872 \paragraph{Phase 2 : image reduction} 802 873 803 Phase~2 processing within the Pan-STARRS image processing pipeline is 804 the detrend stage, where the images from the detector are processed to 805 remove instrumental signatures. In addition, basic object detection 806 is performed along with improved astrometric and photometric 807 calibration. The following operations need to occur within Phase~2 808 processing: 874 The Phase~2 analysis is the detrend stage, in which the images from 875 the detector are processed to remove instrumental signatures. In 876 addition, basic object detection is performed along with improved 877 astrometric and photometric calibration. \tbd{what component selects 878 the appropriate calibration data? is it the phase~2 program, the 879 individual modules, or the scheduler above it?} In each step of the 880 analysis process, an image mask and noise map must be carried and 881 updated when appropriate. The following operations need to occur 882 within Phase~2 processing: 809 883 810 884 \begin{enumerate} … … 823 897 \subparagraph{Convolve detrend images with the OT kernel} 824 898 825 Detrend images must be convolved by the OT kernel, so that 826 they accurately represent the detrend images appropriate for 827 the object images, which have been shifted using OT. The detrend 828 images which must be convolved include: the flat-field and the 829 high-spatial-frequency fringe images. 899 Detrend images must be convolved by the OT kernel, so that they 900 accurately represent the detrend images appropriate for the object 901 images, which have been shifted using OT. The detrend images which 902 must be convolved include: the flat-field and the 903 high-spatial-frequency fringe images. \tbd{Must this be a formal 904 convolution with the analytical OT kernel, or can it be a convolution 905 with a decomposed kernel?} The appropriate kernel for each cell of an 906 OTA must be determined from the guide star history. \tbd{what is the 907 source of the OT kernel? pixel server?} 830 908 831 909 \subparagraph{Flag bad and saturated pixels} … … 867 945 \subparagraph{Trim object image} 868 946 869 The overscan must be trimmed from the object image, along with 870 those pixels near the edges that have been compromised due to OT 871 operation. 947 The image must be trimmed to remove the non-imaging pixels, such as 948 the overscan and any pre-scan pixels, along with those pixels near the 949 edges that have been compromised due to OT operation. The definition 950 of the imaging area of the detector must optionally be determined from 951 the camera configuration data or from the metadata associated with the 952 image. 872 953 873 954 \subparagraph{Correct for non-linearity} … … 883 964 must be corrected for sensitivity variations as a function of 884 965 position, dividing by a flat-field image. The flat-field images must 885 be appropriately normalized (see section \ref{mkcal}. \tbd{what 886 component selects the appropriate flat-field image? scheduler or 887 flat-field module?} The flat-fielded image must have a consistent 888 photometric zero-point across the chip, and across the full FPA, to 889 within 0.2\%. 890 891 \subparagraph{Sky subtraction} 966 be appropriately normalized (see section \ref{mkcal}). The 967 flat-fielded image must have a consistent photometric zero-point 968 across the chip, and across the full FPA, to within 0.2\%. 969 970 \subparagraph{Sky \& Fringe subtraction} 892 971 893 972 The flux contribution of the sky (from both continuum emission and the 894 973 line emission that causes fringing) must be subtracted from the 895 flat-fielded object image. 896 897 \subparagraph{Identify CRs} 898 899 CRs should be identified, if possible on the basis of their morphology 900 in the flat-fielded object image (from a single focal plane), and 901 masked. The mask must be grown by an additional pixel. 974 flat-fielded object image. The subtraction must remove background 975 (technically, foreground) variations which are not celestial but 976 generated in the atmosphere or by more localized scattering. This 977 background subtraction does not address the artefacts generated by 978 bright stars: bleeding columns, ghosts, or other localized reflection 979 effects. The background subtraction must remove the variations with 980 an accuracy such that the residual variations do not introduce on 981 average more than \tbd{0.2\%} photometric scatter or more than 982 \tbd{1\%} extremely deviant outlier stars (stars for which the 983 photometry is in error by more than 3\%. \tbd{what is the requirement 984 on galaxy photometry? morphology determinations?} \tbd{What is 985 allowed power-spectrum of background variations?} 986 987 \subparagraph{Identify 'cosmic rays'} 988 989 Charged particles in the detector frequently cause features which do 990 not have the morphology of astronomical objects. In a well-sampled 991 image, these may be easily identified by the sharpness of the image. 992 In a near critically-sampled image, these 'cosmic rays' may be 993 indistinguishable from stellar objects. The IPP must have the 994 capability of making the morphological identification of cosmic rays 995 if the imaging data is suitable. The identified cosmic rays must be 996 masked with a configurable growth factor (additional pixels beyond the 997 detected pixels in the feature). \tbd{The determination if the image 998 can be treated with morphological cosmic ray rejection must be made by 999 Phase~2.} 902 1000 903 1001 \subparagraph{Find objects in the image} 904 1002 905 1003 Objects on the flat-fielded object image must be found, and general 906 parameters, including the centre, magnitude and shape measured. 1004 parameters, including the object centroid, instrumental magnitude, 1005 local background level, and basic shape parameters ($\sigma_{\rm min}, 1006 \sigma_{maj}$) measured. The detection threshold must be 1007 configurable, and be a function of the average background flux or the 1008 image noise map. Minimal object classification must be performed to 1009 distinguish objects which are consistent with a single PSF, objects 1010 which are inconsistent, and objects which are saturated. The 1011 resulting collection of detected objects must be saved along with the 1012 relevant image metadata (\ie, filter, exposure time, etc). 907 1013 908 1014 \subparagraph{astrometry} 909 1015 910 \tbd{per-OTA astrometry to improve per-OTA parameters} 1016 Objects detected in Phase~2 must be matched with known astrometric 1017 reference objects, using reference object coordinates which have been 1018 adjusted for proper motion. The matched objects must be used to 1019 improve the astrometric solutions for the individual OTAs. At this 1020 stage, a user-defined collection of OTA astrometry parameters must be 1021 fitted on the basis of the matched stars. The Cell astrometric 1022 parameters must not be allowed to flow at this stage. The fit must be 1023 robust, rejecting outlier matches, either stars with poorly determined 1024 proper motion or spurious matches. The resulting astrometric solution 1025 must be consistent across the OTA field to within \tbd{0.2 arcsec}. 911 1026 912 1027 \subparagraph{Postage Stamps} 913 1028 914 Objects on the flat-fielded object image falling within a specified 915 magnitude range should have subimages saved for the purpose of more 916 accurate photometry and astrometry. 917 918 \paragraph{Phase 3} 1029 The IPP must have the capability of extracting regions surrounding a 1030 specified subset of objects from the flattened images. These postage 1031 stamp images must be saved for additional use by client science 1032 pipelines. The identification of these objects must be on the basis 1033 of a set of rules applied to the object magnitude and position. 1034 1035 \paragraph{Phase 3 : exposure analysis} 919 1036 920 1037 The Phase 3 analysis stage works with the results from a complete FPA … … 927 1044 significant \tbd{level TBD}, the zero-point variations must be modeled 928 1045 with an up-to 3rd order chebychev polynomial correction. The complete 929 FPA image must be categori ezed as photometric on the basis of the930 zero-point consistency, the transparency compared with recent 931 long-term measurements in the filter, and with the external indicators 932 of photometricity.1046 FPA image must be categorized as photometric or not \tbd{numerical 1047 scale?} on the basis of the zero-point consistency, the transparency 1048 compared with recent long-term measurements in the filter, and the 1049 external indicators of photometricity. 933 1050 934 1051 Phase 3 must use the objects detected in Phase 2, matched with an … … 936 1053 astrometric solutions. The distortion model appropriate to this image 937 1054 must be determined. The resulting astrometric accuracy must be 938 \tbd{50 mas? 10 mas?} 939 940 \paragraph{Phase 4 Concept} 941 942 Phase 4 processing within the Pan-STARRS image processing pipeline is 943 the final stage of processing. It operates on each sky cell that has 944 overlapping imaging data from the exposure(s) being processed, and 945 produces the main output image data products of the stage --- the 946 difference images and a deep static sky image --- along with the 947 associated catalogues of static and variable sources. 948 949 Here we give the specifications for the implementation of Phase 4 950 processing. 951 952 953 \subparagraph{Functionality} 954 955 Phase 4 must consist of the following elements: 956 \begin{enumerate} 957 \item Combine images --- the images from each telescope are to be 958 combined in order to obtain a deep image free from artifacts (e.g.\ 959 cosmic rays, low-altitude streaks); 960 \item Identify variable sources --- the combined image is to be 961 compared with the static sky image and variable sources identified; and 962 \item Add to static sky --- the combined image is to be added to the 963 static sky so that an incrementally-deeper static sky image may be 964 made. 965 \end{enumerate} 1055 limited by the astrometric reference catalog \tbd{30 mas for USNO?} 1056 1057 \paragraph{Phase 4 : image combination} 1058 1059 Phase 4 is the image combination stage, in which multiple images of 1060 the same portion of the sky are merged and confronted with the static 1061 sky image. Phase 4 operates on the smallest data unit of the static 1062 sky, the sky cell, along with the associated pixels from a collection 1063 of image which have been processed through phases 1 - 3. For each sky 1064 cell, the corresponding pixels are extracted from the exposures being 1065 processed and mapped to the projection of the sky cell. The pixels 1066 from the multiple input processed images are combined into a single, 1067 cleaned image. This image is then confronted with the static sky cell 1068 data to produce a difference image. Residual objects in the 1069 difference image, above a threshold are detected and excised from the 1070 original cleaned image. The remaining pixels are added to the 1071 existing static sky image. Object detection must be performed of the 1072 difference and cleaned images. \tbd{when is static sky object 1073 detection \& classification performed?} Phase 4 naturally divides 1074 into several stages, each of which are discussed in detail below. 1075 1076 \subparagraph{Extract image pixels} 1077 1078 For the given sky cell, the corresponding set of image pixels must be 1079 determined and extracted from the input images. This process must use 1080 the astrometric information for each OTA and Cell to determine the 1081 overlaps. It must not miss any pixels, and it must read no more than 1082 20\% more pixels than necessary from the input images. 1083 1084 \subparagraph{Transform pixel coordinates} 1085 1086 Pixels which have been extracted from the input images must be mapped 1087 to the corresponding pixels in the sky image. The tranformation must 1088 be based on the measured astrometric solution for the input images 1089 relative to the reference catalog used to generate the static sky 1090 image. This warping must use a locally linear astrometric solution to 1091 minimize computational effort. The output image must maintain be 1092 photometric consistent with the input image to within 0.2\%. 1093 \tbd{interpolation method?} 1094 1095 \subparagraph{PSF matching} 1096 1097 The multiple input images must have their PSF mutually matched to 1098 allow for proper image subtraction. 1099 1100 \subparagraph{Flux matching} 1101 1102 The multiple input images must have their object fluxes mutually 1103 matched by intercomparison of the stars measured in Phase 2 in order 1104 to properly combine them photometrically. 1105 1106 \subparagraph{Image outlier pixel rejection} 1107 1108 Pixels from the group of images which are inconsistent with the 1109 ensemble of pixel values must be identified and flagged. The 1110 resulting collection of pixels must be used to construct a single 1111 output image, cleaned of the outliers. This outlier rejection must be 1112 performed optionally since moving objects will be rejected in images 1113 obtained over a wide range of times. 1114 1115 \subparagraph{Image Subtraction} 1116 1117 The static sky image must be subtracted from the merged, cleaned 1118 image. All objects in the difference image must be detected and the 1119 pixels flagged in the input image. Object detection at this stage is 1120 the same as that used for Phase 2. 1121 1122 \subparagraph{Cleaned Input Image} 1123 1124 The flagged pixels must be excluded from the input images and a new, 1125 cleaned image constructed. This image must have object detection 1126 applied to it. \tbd{parameters} 1127 1128 \subparagraph{Update static sky} 1129 1130 The final, cleaned input image must be added to the static sky so that 1131 an incrementally-deeper static sky image may be made. 1132 \tbd{parameters, weight map} 966 1133 967 1134 \subparagraph{Products} … … 977 1144 \end{enumerate} 978 1145 979 980 1146 \subparagraph{Timing} 981 1147 … … 1004 1170 \end{itemize} 1005 1171 1006 1007 1172 \subparagraph{Robustness} 1008 1173 … … 1012 1177 to an error upstream in the processing). 1013 1178 1014 \subsubsection{Calibration Stage 1} 1179 \paragraph{Calibration Stages} 1180 1181 The Calibration analysis stages may be performed on whatever 1182 timescales are appropriate and necessary to maintain the quality and 1183 relevance of the calibration images. We distinguish two major classes 1184 of calibration images which require significantly different techniques 1185 for their construction. We list the specific calibration images which 1186 must be constructed in the calibration analysis stages. The 1187 requirements for each of these stages are discussed in more detail 1188 below. 1189 1190 \paragraph{Basic Calibration Stages} 1015 1191 1016 1192 The IPP must generate basic calibration images using the raw … … 1026 1202 are consistent and valid. 1027 1203 1028 \paragraph{bias images} 1029 1030 \paragraph{dark images} 1031 1032 \paragraph{flat-field images} 1033 1034 \subsubsection{Calibration Stage 2} 1035 1036 \paragraph{mask images} 1037 1038 \paragraph{fringe frames} 1039 1040 \paragraph{low-k sky models} 1041 1042 \subsubsection{Calibration Stage 3} 1043 1044 Flat-field correction frame 1045 1046 \subsubsection{Astrometry Reference Creation} 1047 1048 \subsubsection{Photometry Reference Creation} 1204 \subparagraph{bias images} 1205 1206 Bias images may be needed to correct for structure in the bias. The 1207 IPP must have the capability of constructing a master bias image from 1208 a stack of raw bias frames. The input bias images, representing 1209 offsets from the overscan level, must have the overscan removed, 1210 including 1D structure if needed. The bias construction must 1211 incorporate outlier image and outlier pixel rejection. The statistic 1212 used to determine pixel values must optionally be derived from the 1213 sample mean, median, and mode, robust mean, median, and mode, and the 1214 clipped mean and median. Residual images, in which the master bias is 1215 applied to the input images must be constructed and their statistics 1216 used to exclude any significant outlier input images. 1217 1218 \subparagraph{dark images} 1219 1220 Dark images may be needed to correct for structure in the dark 1221 current. The IPP must have the capability of constructing a master 1222 dark image from a stack of raw dark frames. The input dark images 1223 must first be corrected for the bias using whatever method is 1224 appropriate for the science images. The master dark frame must be 1225 specified for a particular exposure time. As such, the input dark 1226 frames must have a limited range of exposure times. The dark frame 1227 construction must incorporate outlier image and outlier pixel 1228 rejection. The statistic used to determine pixel values must 1229 optionally be derived from the sample mean, median, and mode, robust 1230 mean, median, and mode, and the clipped mean and median. Residual 1231 images, in which the master dark image is applied to the input images 1232 must be constructed and their statistics used to exclude any 1233 significant outlier input images. \tbd{The dark frames must be 1234 examined to determine the non-linearity of the measured dark current 1235 -- by what component?}. 1236 1237 \subparagraph{flat-field images} 1238 1239 Master flat-field images must be constructed from a collection of 1240 input flat-field images. An appropriate set of input images must be 1241 selected on the basis of their flux levels, time of observations, and 1242 the observing conditions. The input flat-field images must be 1243 processed (bias and dark corrected if needed) and the resulting images 1244 stacked. The master flat-field construction must incorporate image 1245 and pixel outlier rejection. The statistic used to determine pixel 1246 values must optionally be derived from the sample mean, median, and 1247 mode, robust mean, median, and mode, and the clipped mean and median. 1248 Residual images, in which the master flat-field image is applied to 1249 the input images must be constructed and their statistics used to 1250 exclude any significant outlier input images. 1251 1252 \paragraph{Other Calibration Stages} 1253 1254 \subparagraph{mask images} 1255 1256 Initial bad-pixel mask images must be generated on the basis of 1257 comparison between raw flat-field images and a cleaned, stacked 1258 master. The mask creation analysis stage must accept a collection of 1259 flat-field images and identify pixels which are repeatedly 1260 inconsistent from image to image. If too many pixels are 1261 inconsistent, an error should be raised. 1262 1263 \subparagraph{fringe frames} 1264 1265 Fringe-correction frames must be generated to remove the fringe 1266 pattern caused by thin-film interference in the top layers of CCDs, 1267 particularly in the redder passbands. Fringe correction frames must 1268 be constructed on the basis of observations of the night-sky in the 1269 appropriate filters. The images must first be flattened to remove the 1270 pixel-to-pixel sensitivity variations of the detector. The 1271 combination of multiple input fringe frames may not be simply stacked 1272 since the amplitude of the fringe pattern varies independently of 1273 other variations in the image. The amplitude of the fringe frames 1274 must be measured and the images scaled to normalize the fringe 1275 amplitude to the range -1 to +1 before combining with one of the 1276 standard combination statistics (mean, median, mode, etc). 1277 1278 \subparagraph{low-k sky models} 1279 1280 Large-scale background structure in images which is not caused by 1281 thin-film interference must also be detected and corrected. Models of 1282 this background structure may be the necessary input to the correction 1283 proceedure. The IPP must have the capability of generating image 1284 models of the large-scale structure patterns observed with the 1285 telescope. \tbd{discuss principal components, SVD?} 1286 1287 \subparagraph{Flat-field correction frame} 1288 1289 Flat-field images, whether constructed from the dome, twilight, or 1290 night-sky images, rarely will perfectly correct the detector response 1291 in a consistent fashion across the full field of the camera. The IPP 1292 must have the capability of generating flat-field photometric 1293 correction frames on the basis of the measured photometry of objects 1294 which are placed at a variety of locations on the detector in a 1295 sequence of images. 1296 1297 \paragraph{Reference Catalog Creation} 1298 1299 For PS-1, one of the primary goals is the creation of photometric and astrometric 1300 reference catalogs for the general community and for the future 1301 Pan-STARRS requirements. The generation of these catalogs is 1302 inherently a research project, and will require human control and 1303 intervention. The IPP will be required to provide the data access, 1304 manipulation and visualization tools needed to construct these 1305 reference catalogs and to assess their quality. In this section, we 1306 list the requirements of the tools needed for this effort. 1307 1308 \paragraph{Astrometry Reference Creation} 1309 1310 The existing astrometric reference catalogs are known to have 1311 limitations at the level of \tbd{NN} milli-arcsec. The internal 1312 accuracy of the Pan-STARRS dataset can potentially be much higher than 1313 the external reference catalogs. The IPP must have the capability of 1314 generating an astrometric reference on the basis of the observations 1315 obtained by the PnA survey. The IPP must provide the analysis tools 1316 needed to generate the master astometric reference catalog. Much of 1317 the required functionality is covered by the PnA Database. 1318 1319 The necessary ingredients for the construction of the PS-1 Astrometric 1320 Reference Catalog are: the observed coordinates of stars and the 1321 existing astrometric reference catalogs. A variety of reference 1322 catalogs will be required, including: 1323 \begin{itemize} 1324 \item Hipparcos 1325 \item Tycho2 1326 \item UCAC 1327 \item YBx 1328 \item USNO-Bx 1329 \item 2MASS 1330 \end{itemize} 1331 These catalog must be available and accessible to the PnA Database. 1332 It is necessary to have the tools to convert the reference catalog 1333 object coordinates to all of the possible coordinate frame of 1334 relevance in the telescope and camera system, including: 1335 \begin{itemize} 1336 \item Catalog to mean positions 1337 \item Mean to apparent positions 1338 \item Apparent positions + pointing to focal plane coordinates 1339 \item focal plane to specific detector (OTA) 1340 \item specific detector to detector cell 1341 \end{itemize} 1342 1343 In addition to the reference catalogs, it will be necessary to 1344 determine and have available for the analysis system a variety of 1345 approximate calibration data, including the telescope and camera 1346 optical distortion models and the variation of the image PSF across 1347 the camera field, as a function of color. 1348 1349 The final ingredient in the astrometry solution is the observation of 1350 stars with the PS-1 telescope. The object detections are produced by 1351 several of the analysis stages discussed in the Science Analysis 1352 section. The likely measurement of relevance to the astrometric 1353 reference catalog is the object extraction for the individual, 1354 detrended images (section~\ref{foo}). \tbd{is it necessary to have 1355 multiple centroiding methods available?}. The detected objects must 1356 be matched against the reference catalogs, and it must be possible to 1357 determine fit coefficients as a function of simply position, or with 1358 combinations of magnitude or color. The fitting method must include 1359 robust outlier rejection. It is also necessary to have information 1360 about the objects which are detected in the catalog, but not the 1361 science image or vice-versa, as well as an assessment of the 1362 centroiding errors for each object. It must be possible to plot the 1363 fit residuals against a wide variety of parameters, including the 1364 object positions, magnitudes, colors, etc, and to make subset 1365 selections of the objects on the basis of these parameters. . 1366 1367 An alternative measurement of the stellar positions is derived from 1368 the guide stars, which are much brighter than the typical saturated 1369 stars. It must be possible to compare the coordinates of the guide 1370 stars with the coordinates of the other stars in the image. It must 1371 also be possible to perform the various fitting steps for the guide 1372 stars rather than for the normal image data. 1373 1374 \paragraph{Photometry Reference Creation} 1375 1376 The IPP must provide the analysis tools needed to generate a master 1377 photometric reference catalog. The tools needed for generation of the 1378 photometric reference catalogs are similar in essence to those used 1379 for the astrometric reference catalog. It is necessary to confront 1380 the observed objects against the existing reference catalogs to 1381 determine the necessary calibrations. Again, much of the required 1382 functionality is covered by the PnA Database. 1383 1384 The necessary ingredients for the construction of the PS-1 Photometric 1385 Reference Catalog are: the observed magnitudes of stars and the 1386 existing photometric reference catalogs. A variety of reference 1387 catalogs will be required, including: 1388 \begin{itemize} 1389 \item SDSS 1390 \item CFHT-LS standards 1391 \item Landolt 1392 \item etc 1393 \end{itemize} 1394 These catalog must be available and accessible to the PnA Database. 1395 1396 The final ingredient in the photometry solution is the observation of 1397 stars with the PS-1 telescope. The object detections are produced by 1398 several of the analysis stages discussed in the Science Analysis 1399 section. The likely measurement of relevance to the photometric 1400 reference catalog is the object extraction for the individual, 1401 detrended images (section~\ref{foo}). It is necessary to have the 1402 tools to convert between different photometric systems, including: 1403 \begin{itemize} 1404 \item instrumental to nominal detector magnitude 1405 \item nominal detector magnitude to average filter system 1406 \item average filter system to reference photometry system 1407 \end{itemize} 1408 These transformations are based on a set of measured coefficients for 1409 the color and airmass dependency of the measurement. In addition to 1410 these types of transformations, it is necessary to have the ability to 1411 measure and apply relative photometry corrections. 1412 1413 The detected objects must be matched against the reference catalogs, 1414 and it must be possible to determine fit coefficients as a function of 1415 airmass, magnitude, color and detector coordinates, or with 1416 combinations of the above. The fitting method must include robust 1417 outlier rejection. It is also necessary to perform exclusions on the 1418 basis of object locations, instrumental magnitudes, observed and 1419 reference errors, and in particular time of the observations. It must 1420 be possible to plot the fit residuals against a wide variety of 1421 parameters, including the object positions, magnitudes, colors, etc, 1422 and to make subset selections of the objects on the basis of these 1423 parameters. . 1424 1425 An alternative measurement of the stellar positions is derived from 1426 the guide stars, which are much brighter than the typical saturated 1427 stars. It must be possible to relate the magnitudes of the guide 1428 stars with the magnitudes of the other stars in the image. It must 1429 also be possible to perform the above fitting steps for the guide 1430 stars rather than for the normal image data. 1049 1431 1050 1432 \subsubsection{Modules} … … 1099 1481 1100 1482 \begin{itemize} 1483 \item Hipparcos 1484 \item Tycho2 1485 \item HST-GSC 1101 1486 \item USNO-A 1102 \item USNO-B 1103 \item HST-GSC 1104 \item Tycho 1487 \item UCAC 1105 1488 \item 2Mass 1489 \item USNO-Bx 1490 \item YBx 1106 1491 \end{itemize} 1107 1492
Note:
See TracChangeset
for help on using the changeset viewer.
