IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34695 for trunk


Ignore:
Timestamp:
Nov 26, 2012, 11:47:14 AM (14 years ago)
Author:
Serge CHASTEL
Message:

ICD update. Not finished yet

Location:
trunk/ppTranslate/documentation/ICD
Files:
7 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppTranslate/documentation/ICD/PSDC-940-005.tex

    r34509 r34695  
    22\documentclass[panstarrs,spec]{panstarrs}
    33\usepackage{nonfloat}
    4 
    5 \newcommand{\sccomment}[1]{%
    6   \textcolor{green}{SC: #1}}
     4\usepackage{caption}
     5
    76\newcommand{\outformatversion}{%
    87  \texttt{PS1\_DV3}}
     
    1211\subtitle{Pan-STARRS IPP-MOPS ICD for PS-1}
    1312\shorttitle{IPP-MOPS ICD}
    14 \author{Eugene Magnier, Larry Denneau, Jr., Robert Jedicke}
     13\author{\parbox{3in}{Serge Chastel; Larry Denneau, Jr.; Denver Green; Robert Jedicke; Eugene Magnier}}
    1514\audience{Pan-STARRS PMO}
    1615\group{Pan-STARRS IPP \& MOPS}
     
    2625\RevisionsStart
    2726% version  Date            Description
    28 03 & 2012 Oct 04 & \texttt{PS1\_DV3}: Fitted trails, new parameters\\
    29 \hline
    30 02 & 2011 Apr 19 & Synchronization with "ICD Lite" wiki page \\
    31 \hline
    32 01 & 2010 Oct 27 & New CMF Parameters \\
    33 \hline
    34 00 & 2006 Mar 01 & Initial version \\ \hline
     2704 & 2012 Nov 20  & Answers to DG comments/questions \\
     28\hline
     2903 & 2012 Oct 04  & \texttt{PS1\_DV3}: Fitted trails, new parameters\\
     30\hline
     3102 & 2011 Apr 19  & Synchronization with "ICD Lite" wiki page \\
     32\hline
     3301 & 2010 Oct 27  & New CMF Parameters \\
     34\hline
     3500 & 2006 Mar 01  & Initial version \\ \hline
    3536\RevisionsEnd
    3637
     
    116117\DocumentsEnd
    117118
     119\subsection{Acronyms}
     120
     121\begin{table}
     122  \small
     123  \caption{Acronyms used in this document\label{table-acronyms}}
     124  \begin{tabular}{ll}
     125    \hline
     126    {\bf Acronym}            & {\bf Definition} \\
     127    \hline
     128    ADU & Analog to Digital Units (counts in an image) \\
     129    ICRS  & International Celestial Reference System \\
     130    IPP   & Pan-STARRS Image Processing Pipeline \\
     131    FPA   & Focal Plane Array \\
     132    MOPS  & Pan-STARRS Moving Object Processing System \\
     133    MPC   & Center for Astrophysics Minor Planet Center \\
     134    TTI   & Transient-Time Interval (about 60 minutes) \\
     135    \hline
     136  \end{tabular}
     137\end{table}
     138
    118139\section{Interface Overview}
    119140
     
    144165
    145166This document discusses the software interface between IPP and MOPS.
    146 IPP must send transient detection descriptions to the MOPS; MOPS
    147 must be able to query the IPP regarding whether a particular (RA,
    148 Dec) pair could have been detected in a particular focal plane array (FPA).  This document
    149 defines the data to be transferred between IPP and MOPS and the
    150 mechanisms to be used for that interchange.  These interfaces are
    151 identified as \#005 in Figure~\ref{fig:overview}.  The Interfaces
     167IPP must send transient detection descriptions to the MOPS; MOPS must
     168be able to query the IPP regarding whether a particular (RA, Dec) pair
     169could have been detected in a particular focal plane array (FPA).
     170This document defines the data to be transferred between IPP and MOPS
     171and the mechanisms to be used for that interchange.  These interfaces
     172are identified as \#005 in Figure~\ref{fig:overview}.  The Interfaces
    152173addressed by this document are marked in the table.
    153174
     
    235256Though efforts have been made to avoid this from occurring, where
    236257header keyword names are longer than the usual 8 character maximum,
    237 the HIERARCH convention will be used.
     258the HIERARCH convention will be used (see the NASA webpages:
     259\htmladdnormallink{Registered FITS
     260  Convention}{http://fits.gsfc.nasa.gov/registry/hierarch_keyword.html}
     261and \htmladdnormallink{4.12.4 HIERARCH Convention for Extended Keyword
     262  Names}{http://heasarc.nasa.gov/docs/software/fitsio/c/f_user/node28.html}).
    238263
    239264\subsection{IPP-MOPS Exchange}
     
    241266MOPS requires from the IPP a stream of transient detections and their
    242267FPA metadata obtained from processing of difference images acquired by
    243 the PS-1 camera.  IPP is additionally required by MOPS to be able to
    244 indicate whether a set of detections (with RA, Dec, flux, length,
    245 orientation, etc.) on a previously acquired FPA was detectable by the
    246 PS-1 telescope.
     268the PS-1 camera.
     269
     270IPP is additionally required by MOPS to be able to indicate whether a
     271set of detections (with RA, Dec, flux, length, orientation, etc.) on a
     272previously acquired FPA was detectable by the PS-1 telescope. This
     273functionality is provided through the detectability server.
    247274
    248275\subsubsection{Conventions}
     
    305332
    306333\begin{itemize}
    307 \item{EXTNAME} - Giving a unique name for the metadata table. Such a
    308   name shall contain only the characters a-z, and ``\_''.
    309 \item{CMFVERSION} - A string specifying the version of the table
    310   description file for this table.
     334\item{EXTNAME} - A \emph{string} giving a unique name for the metadata
     335  table. Such a name shall contain only the characters a-z, A-Z, and
     336  ``\_''.
     337\item{CMFVERSION} - A \emph{string} specifying the version of the
     338  table description file for this table.
    311339\end{itemize}
    312340
     
    389417exposure.
    390418
    391 In addition to the required BINTABLE extension header keywords
    392 described above, the FITS header shall include the keywords shown in
    393 table \ref{trans-keywords}.  The subsequent FITS table, with EXTNAME
    394 of \code{MOPS_TRANSIENT_DETECTIONS}, shall include columns whose
    395 definitions are listed in table \ref{trans-table}.
    396 
    397419{\centering%
    398   \tabcaption{IPP-MOPS Transient Detection Keywords\label{trans-keywords}}
    399   \begin{longtable}{|lcp{0.5in}p{3in}|}
    400     \hline \hline {\bf FITS Keyword}
    401     & \parbox{0.5in}{\textbf{Version}}
    402     & {\bf Precision} & {\bf Description}\\
    403     \hline \hline
    404     \multicolumn{4}{|l|}{\null\hspace{10mm}\textbf{Version Information}}\\
    405     \hline
    406     SWSOURCE & 1+ & string & source of software (e.g., "60eb6cdc-a59c-4636-a4e0-dba66a9721fd")\\
    407     \hline
    408     SWVERSN & 1+ & string & version of software (e.g., "trunk/ppMops@24658")\\
    409     \hline
    410     HIERARCH\_CMFVERSION & 2+ & char(7) & PS1\_DV1 or PS1\_DV2 or PS1\_DV3 \\
    411     \hline
    412     \multicolumn{4}{|l|}{\null\hspace{10mm}\textbf{Provenance Information}}\\
    413     \hline
    414     EXP\_NAME & 1+ & string & Exposure name (e.g., "o1234g5678")\\
    415     \hline
    416     EXP\_ID & 1+ & S64 & Exposure identifier \\
    417     \hline
    418     CHIP\_ID & 1+ & S64 & Chip stage identifier \\
    419     \hline
    420     CAM\_ID & 1+ & S64 & Camera stage identifier \\
    421     \hline
    422     FAKE\_ID & 1+ & S64 & Fake stage identifier \\
    423     \hline
    424     WARP\_ID  & 1+ & S64 & Warp stage identifier \\
    425     \hline
    426     DIFF\_ID & 1+ & S64 & Diff stage \\
    427     \hline
    428     DIFF\_POS & 1+ & boolean & Sense of subtraction; T for forward, F for backward\\
    429     \hline
    430     \multicolumn{4}{|l|}{\null\hspace{10mm}\textbf{Exposure Details}}\\
    431     \hline MJD-OBS & 0+
    432     & F64 & midpoint time of the exposure as a MJD and day fraction \\
    433     \hline
    434     RA & 0+
    435     & {\tiny HH:MM:SS.SSS} & field center RA at exposure midpoint, string \\
    436     \hline
    437     DEC & 0+ &
    438     {\tiny sDD:MM:SS}& (s is + or -) field center declination at exposure midpoint, string \\
    439     \hline
    440     EXPTIME & 0+
    441     & F64 & exposure time in seconds \\
    442     \hline
    443     ROTANGLE & 0+
    444     & F64 & image rotation of the y-axis in degrees, from local N toward E \\
    445     \hline
    446     FILTER & 0+ & char(3) & effective filter used for the exposure,
    447     one of g, r, i, z, y, B, V, w
    448     appended with '.00000'\\
    449     \hline
    450     AIRMASS & 0+ & F64
    451     & airmass at exposure midpoint \\
    452     \hline
    453     OBSCODE & 0+ & char(5) & MPC three-character observatory code \\
    454     \hline
    455     TEL\_ALT & 0+ & F64 & telescope altitude at exposure midpoint, in degrees \\
    456     \hline
    457     TEL\_AZ & 0+ & F64 & telescope azimuth at exposure midpoint, in degrees \\
    458     \hline
    459     SEEING & 1+ & F32 & Measured seeing at diff stage, arcsec \\
    460     \hline
    461     MAGZP & 1+ & F32 & Magnitude zero point \\
    462     \hline
    463     MAGZPERR & 1+ & F32 & Error in magnitude zero point \\
    464     \hline
    465     ASTRORMS & 1+ & F32 & RMS of astrometric fit, arcsec \\
    466     \hline
    467     COMMENT & 3+ & String & Comment associated to the exposure\\
    468     \hline
    469     OBS\_MODE & 3+ & String & Observation mode (e.g. MD, 3PI...)\\
    470     \hline
    471     DIFFTYPE & 3+ & String & Difference type: WW (Warp-Warp Difference), WS (Warp-Stack Difference)\\
    472     \hline
    473     SKY  & 3+ & F64 & Exposure average sky background \\
    474     \hline
    475     SHUTOUTC & 3+ & String & Camera exposure shutter open (UTC) \\
    476     \hline
     420  \tabcaption{IPP-MOPS Data Types Definition\label{table-datatypes}}
     421  \begin{longtable}{|cp{5in}|}
     422    \hline
     423    \textbf{Alias} & \textbf{Description} \\
     424    \texttt{bool} & (Not a FITS type) An enumerated type defining a Boolean
     425    value, either \texttt{true} or \texttt{false}\\
     426    \texttt{char($n$)} & (Not a FITS type) A sequence of exactly $n$ bytes that
     427    can be interpreted
     428    as a sequence of ASCII characters\\
     429    \texttt{HH:MM:SS.sss} & (Not a FITS type) a \texttt{char(12)} encoding
     430    a time or an angle: (1) the hours \texttt{HH} are encoded with two
     431    decimal figures; (2) a separator \texttt{:} between the hours and
     432    the minutes; (3) the minutes \texttt{MM} are encoded with two
     433    decimal figures; (4) a separator \texttt{:} between the minutes
     434    and the seconds; (5) the seconds \texttt{SS} are encoded with two
     435    decimal figures; (6) a separator \texttt{.} between the seconds
     436    and the milli(arc)seconds; (7)
     437    the milli(arc)seconds \texttt{ss} are encoded with three decimal figures; \\
     438    \texttt{sDD:MM:SS} & (Not a FITS type) a \texttt{char(9)} encoding an
     439    angle. (1) \texttt{s} is either the \texttt{+} or \texttt{-} sign;
     440    (2) \texttt{DD} is the number of degrees encoded with two decimal
     441    figures; (3) a separator \texttt{:} between the degrees and the
     442    minutes; (4) the minutes \texttt{MM} are encoded with two decimal
     443    figures; (5) a separator \texttt{:} between the minutes and the
     444    seconds; (6) the
     445    seconds \texttt{SS} are encoded with two decimal figures;\\
     446    \texttt{enum} & (Not a FITS type) a \texttt{string} having a fixed number of
     447    different values. The explicit set of values shall be expressed in
     448    this ICD.\\
     449    \texttt{F32} & (FITS type) IEEE 32-bit single precision floating point real numbers \\
     450    \texttt{F64} & (FITS type) IEEE 64-bit double precision floating point real numbers \\
     451    \texttt{S16} & (FITS type) 16-bit signed integer \\
     452    \texttt{S32} & (FITS type) 32-bit signed integer \\
     453    \texttt{S64} & (FITS type) 64-bit signed integer \\
     454    \texttt{string} & (Not a FITS type) Sequence of bytes of arbitrary length
     455    usually interpreted as a sequence of ASCII characters \\
     456    \texttt{U16} & (FITS type) 16-bit unsigned integer \\
     457    \texttt{U32} & (FITS type) 32-bit unsigned integer \\
    477458    \hline
    478459  \end{longtable}
    479460}
    480461
    481 {\centering
    482   \tabcaption{IPP-MOPS Transient Detection Table Columns\label{trans-table}}
    483   \begin{longtable}{|lclp{3.5in}|}
     462In addition to the required BINTABLE extension header keywords
     463described above (TODO: Where? What?), the FITS header shall include the
     464keywords shown in tables relative to versioning
     465\ref{table-keywords-versioning}, data provenance
     466\ref{table-keywords-provenance}, and exposure
     467\ref{table-keywords-exposure}. The subsequent FITS table, with EXTNAME
     468of \code{MOPS_TRANSIENT_DETECTIONS}, shall include columns whose
     469definitions are listed in table \ref{table-detections} and, when trail
     470fitting has been succesfully performed, \ref{table-detections-ext}.
     471
     472\begin{center}
     473  \begin{longtable}{|lcp{0.5in}p{3in}|}
     474    \caption{IPP-MOPS Transient Detection Keywords:\\ Version Information}\label{table-keywords-versioning}\\
     475    \hline\hline
     476    \multicolumn{4}{|l|}{\null\hspace*{1in}\textbf{Version Information}}\\
     477    \hline\hline
     478    {\bf FITS Keyword}
     479    & \parbox{0.5in}{\textbf{Version}}
     480    & {\bf Precision}
     481    & {\bf Description} \\
     482    \hline
     483    SWSOURCE & 1+ & \texttt{string} & source of software (e.g., "60eb6cdc-a59c-4636-a4e0-dba66a9721fd") \\
     484    \hline
     485    SWVERSN & 1+ & \texttt{string} & version of software (e.g., "trunk/ppMops@24658") \\
     486    \hline
     487    HIERARCH CMFVERSION & 2+ & \texttt{enum} & \texttt{PS1\_DV3} \\
     488    \hline\hline
     489  \end{longtable}
     490\end{center}
     491
     492\begin{center}
     493  \begin{longtable}{|lcp{0.5in}p{3in}|}
     494    \caption{IPP-MOPS Transient Detection Keywords:\\ Provenance Information}\label{table-keywords-provenance}\\
     495    \hline\hline
     496    \multicolumn{4}{|l|}{\null\hspace{10mm}\textbf{Provenance Information}}\\
    484497    \hline \hline
    485     {\bf Column} & \textbf{Version} & {\bf Precision} & {\bf Description} \\
    486     \hline
    487     RA & 1+ & F64 & detection center coordinates in degrees\\
    488     \hline
    489     RA\_ERR & 1+ & F64 & error in the detection center, in degrees \\
    490     \hline
    491     DEC & 1+  & F64 & detection center coordinates in degrees \\
    492     \hline
    493     DEC\_ERR & 1+ & F64 & error in the detection center, in degrees \\
    494     \hline
    495     MAG & 1+ & F32 & Magnitude \\
    496     \hline
    497     MAG\_ERR & 1+ & F32 & Magnitude error \\
    498     \hline
    499     PSF\_CHI2 & 1+ & F32 & $\chi^2$ of PSF fit \\
    500     \hline
    501     PSF\_DOF & 1+ & S32 & Degrees of freedom of PSF fit \\
    502     \hline
    503     CR\_SIGNIFICANCE & 1+ & F32 & Significance of Cosmic Ray \\
    504     \hline
    505     EXT\_SIGNIFICANCE & 1+ & F32 & Significance of extendedness \\
    506     \hline
    507     PSF\_MAJOR & 1+ & F32 & PSF major axis (pixels) \\
    508     \hline
    509     PSF\_MINOR & 1+ & F32 & PSF minor axis (pixels) \\
    510     \hline
    511     PSF\_THETA & 1+ & F32 & PSF position angle (deg on chip) \\
    512     \hline
    513     PSF\_QUALITY & 1+ & F32 & PSF quality factor \\
    514     \hline
    515     PSF\_NPIX & 1+ & S32 & Number of pixels in PSF \\
    516     \hline
    517     MOMENTS\_XX & 1+ & F32 & xx moment \\
    518     \hline
    519     MOMENTS\_XY & 1+ & F32 & xy moment \\
    520     \hline
    521     MOMENTS\_YY & 1+ & F32 & yy moment \\
    522     \hline
    523     N\_POS & 1+ & S32 & Number of positive pixels \\
    524     \hline
    525     F\_POS & 1+ & F32 & Fraction of positive pixels \\
    526     \hline
    527     RATIO\_BAD & 1+ & F32 & Ratio of positive pixels to negative \\
    528     \hline
    529     RATIO\_MASK & 1+ & F32 & Ratio of positive pixels to masked \\
    530     \hline
    531     RATIO\_ALL & 1+ & F32 & Ratio of positive pixels to all \\
    532     \hline
    533     FLAGS & 1+ & U32 & Detection bit flags\footnote{See \htmladdnormallink{http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PSPSFlags\#StackDetectionFull.infoFlagsFLAGS232FLAGS}{http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PSPSFlags\#StackDetectionFull.infoFlagsFLAGS232FLAGS} for the meaning of each bit}\\
    534     \hline
    535     DIFF\_SKYFILE\_ID & 1+ & S64 & Identifier for diff skyfile. A
    536     diff\_id (for Warp-Warp difference) or a stack\_id
    537     (for Warp-Stack difference) \\
    538     \hline
    539     IPP\_IDET & 2+ & U32 & IPP detection identifier index \\
    540     \hline
    541     PSF\_INST\_FLUX & 2+ & F32 & PSF fit instrumental magnitude \\
    542     \hline
    543     PSF\_INST\_FLUX\_SIG & 2+ & F32 & Sigma of PSF instrumental magnitude \\
    544     \hline
    545     AP\_MAG & 2+ & F32 & magnitude in standard aperture \\
    546     \hline
    547     AP\_MAG\_RAW & 2+ & F32 & magnitude in real aperture \\
    548     \hline
    549     AP\_MAG\_RADIUS & 2+ & F32 & radius used for aperture mags \\
    550     \hline
    551     AP\_FLUX & 2+ & F32 & instrumental flux in standard aperture \\
    552     \hline
    553     AP\_FLUX\_SIG & 2+ & F32 & aperture flux error \\
    554     \hline
    555     PEAK\_FLUX\_AS\_MAG & 2+ & F32 & Peak flux expressed as magnitude \\
    556     \hline
    557     CAL\_PSF\_MAG & 2+ & F32 & PSF Magnitude using supplied calibration \\
    558     \hline
    559     CAL\_PSF\_MAG\_SIG & 2+ & F32 & measured scatter of zero point calibration \\
    560     \hline
    561     SKY & 2+ & F32 & Sky level \\
    562     \hline
    563     SKY\_SIGMA & 2+ & F32 & Sigma of sky level \\
    564     \hline
    565     PSF\_QF\_PERFECT & 2+ & F32 & PSF coverage/quality factor (poor) \\
    566     \hline
    567     MOMENTS\_R1 & 2+ & F32 & first radial moment \\
    568     \hline
    569     MOMENTS\_RH & 2+ & F32 & half radial moment \\
    570     \hline
    571     KRON\_FLUX & 2+ & F32 & Kron Flux (in 2.5 R1) \\
    572     \hline
    573     KRON\_FLUX\_ERR & 2+ & F32 & Kron Flux Error \\
    574     \hline
    575     KRON\_FLUX\_INNER & 2+ & F32 & Kron Flux (in 1.0 R1) \\
    576     \hline
    577     KRON\_FLUX\_OUTER & 2+ & F32 & Kron Flux (in 4.0 R1) \\
    578     \hline
    579     DIFF\_R\_P & 2+ & F32 & distance to positive match source \\
    580     \hline
    581     DIFF\_SN\_P & 2+ & F32 & signal-to-noise of pos match src \\
    582     \hline
    583     DIFF\_R\_M & 2+ & F32 & distance to negative match source \\
    584     \hline
    585     DIFF\_SN\_M & 2+ & F32 & signal-to-noise of neg match src \\
     498    {\bf FITS Keyword}
     499    & \parbox{0.5in}{\textbf{Version}}
     500    & {\bf Precision}
     501    & {\bf Description} \\
     502    \hline
     503    EXP\_NAME & 1+ & \texttt{string} & Exposure name (e.g., "o1234g5678")\\
     504    \hline
     505    EXP\_ID & 1+ & \texttt{S64} & Exposure identifier \\
     506    \hline
     507    CHIP\_ID & 1+ & \texttt{S64} & Chip stage identifier \\
     508    \hline
     509    CAM\_ID & 1+ & \texttt{S64} & Camera stage identifier \\
     510    \hline
     511    FAKE\_ID & 1+ & \texttt{S64} & Fake stage identifier \\
     512    \hline
     513    WARP\_ID  & 1+ & \texttt{S64} & Warp stage identifier \\
     514    \hline
     515    DIFF\_ID & 1+ & \texttt{S64} & Diff stage \\
     516    \hline
     517    DIFF\_POS & 1+ & \texttt{bool} & Sense of subtraction; \texttt{true} for forward,
     518    \texttt{false} for backward\\
     519    \hline
     520  \end{longtable}
     521\end{center}
     522 
     523\begin{center}
     524  \begin{longtable}{|lcp{0.5in}p{3in}c|}
     525    \caption{IPP-MOPS Transient Detection Keywords:\\ Exposure Details}\label{table-keywords-exposure}\\
     526    \hline \hline
     527    \multicolumn{5}{|l|}{\null\hspace{10mm}\textbf{Exposure Details}}\\
     528    \hline \hline {\bf FITS Keyword}
     529    & \parbox{0.5in}{\textbf{Version}} & {\bf Precision} & {\bf
     530      Description}
     531    & \textbf{Units}\\
     532    \hline MJD-OBS & 0+ & \texttt{F64} & midpoint time of the exposure
     533    as a MJD and day fraction
     534    & N/A\\
     535    \hline RA & 0+ & {\tiny \texttt{HH:MM:SS.SSS}}
     536    & Field center RA at exposure midpoint & N/A \\
     537    \hline DEC & 0+ & {\tiny \texttt{sDD:MM:SS}} &
     538    (s is + or -) Field center declination at exposure midpoint & N/A \\
     539    \hline EXPTIME & 0+ & \texttt{F64}
     540    & Exposure time & seconds \\
     541    \hline ROTANGLE & 0+ & \texttt{F64}
     542    & Image rotation of the y-axis from local N toward E & degrees \\
     543    \hline FILTER & 0+ & \texttt{char(7)} & Effective filter used for
     544    the exposure, one of \texttt{g}, \texttt{r}, \texttt{i},
     545    \texttt{z}, \texttt{y}, \texttt{B},
     546    \texttt{V}, \texttt{w} appended with '.00000' & N/A \\
     547    \hline AIRMASS & 0+ & \texttt{F64}
     548    & Airmass at exposure midpoint & N/A\\
     549    \hline OBSCODE & 0+ & char(5) &
     550    MPC 3-character observatory code (F51 for PS1) & N/A \\
     551    \hline TEL\_ALT & 0+ & \texttt{F64} &
     552    Telescope altitude at exposure midpoint & degrees \\
     553    \hline TEL\_AZ & 0+ & \texttt{F64}
     554    & Telescope azimuth at exposure midpoint & degrees \\
     555    \hline SEEING & 1+ & \texttt{F32} &
     556    Measured seeing at diff stage & arcsec \\
     557    \hline MAGZP & 1+ & \texttt{F32} &
     558    Magnitude zero point & N/A \\
     559    \hline MAGZPERR & 1+ & \texttt{F32} &
     560    Error in magnitude zero point & N/A \\
     561    \hline ASTRORMS & 1+ & \texttt{F32} &
     562    RMS of astrometric fit & arcsec \\
     563    \hline CMMTOBS & 3+ & \texttt{string} &
     564    Comment associated to the exposure & N/A\\
     565    \hline OBS\_MODE & 3+ & \texttt{enum} & Observation modes list:
     566    3PI, CNP, ESS, M31, MD, MSS, OSS, PI, STD (Note: The exposures
     567    having the following PS1 observation modes are not used by MOPS:
     568    CAL, PR201108, SAS2, SS, STS, STS2A, STS2B) & N/A\\
     569    \hline DIFFTYPE & 3+ & \texttt{enum} &
     570    Difference type: \texttt{WW} (Warp-Warp Difference), \texttt{WS} (Warp-Stack Difference) & N/A\\
     571    \hline SKY & 3+ & \texttt{F64} &
     572    Exposure average sky background & counts/pixel \\
     573    \hline SHUTOUTC & 3+ & \texttt{string} &
     574    Camera exposure shutter open (UTC) & N/A \\
     575    \hline \hline
     576  \end{longtable}
     577\end{center}
     578
     579\begin{center}
     580  \begin{longtable}{|lclp{3.5in}c|}
     581    \caption{IPP-MOPS Transient Detection Table Columns:\\ Detection Details}\label{table-detections}\\
     582    \hline \hline
     583    \multicolumn{5}{|l|}{\null\hspace{10mm}\textbf{Detection Details}}\\
     584    \hline \hline
     585    {\bf Column} & \textbf{Version} & {\bf Precision} & {\bf Description} & \textbf{Units}\\
     586    \hline
     587    RA & 1+ & F64 & Detection center coordinates & degrees\\
     588    \hline
     589    RA\_ERR & 1+ & F64 & Error in the detection center & degrees \\
     590    \hline
     591    DEC & 1+ & F64 & Detection center coordinates & degrees \\
     592    \hline
     593    DEC\_ERR & 1+ & F64 & Error in the detection center & degrees \\
     594    \hline
     595    MAG & 1+ & F32 & Filter magnitude & N/A \\
     596    \hline
     597    MAG\_ERR & 1+ & F32 & Filter magnitude error & N/A  \\
     598    \hline
     599    PSF\_CHI2 & 1+ & F32 & $\chi^2$ of PSF fit & N/A \\
     600    \hline
     601    PSF\_DOF & 1+ & S32 & Degrees of freedom of PSF fit & N/A  \\
     602    \hline
     603    CR\_SIGNIFICANCE & 1+ & F32 & Significance of cosmic ray (source: \emph{src/psphot/psphotSourceSize.c}) & N/A  \\
     604    \hline
     605    EXT\_SIGNIFICANCE & 1+ & F32 & Significance of extendedness (source: \emph{src/psphot/psphotSourceSize.c}) & N/A  \\
     606    \hline
     607    PSF\_MAJOR & 1+ & F32 & PSF major axis & pixels \\
     608    \hline
     609    PSF\_MINOR & 1+ & F32 & PSF minor axis & pixels \\
     610    \hline
     611    PSF\_THETA & 1+ & F32 & PSF position angle on chip & degrees \\
     612    \hline
     613    PSF\_QUALITY & 1+ & F32 & PSF quality factor & N/A \\
     614    \hline
     615    PSF\_NPIX & 1+ & S32 & Number of pixels in PSF & N/A \\
     616    \hline
     617    MOMENTS\_XX & 1+ & F32 & xx moment & N/A \\
     618    \hline
     619    MOMENTS\_XY & 1+ & F32 & xy moment & N/A \\
     620    \hline
     621    MOMENTS\_YY & 1+ & F32 & yy moment & N/A \\
     622    \hline
     623    N\_POS & 1+ & S32 & Number of positive pixels & N/A \\
     624    \hline
     625    F\_POS & 1+ & F32 & Fraction of positive pixels & N/A \\
     626    \hline
     627    RATIO\_BAD & 1+ & F32 & Ratio of positive pixels to negative & N/A \\
     628    \hline
     629    RATIO\_MASK & 1+ & F32 & Ratio of positive pixels to masked & N/A \\
     630    \hline
     631    RATIO\_ALL & 1+ & F32 & Ratio of positive pixels to all & N/A \\
     632    \hline
     633    FLAGS & 1+ & U32 & Detection bit flags\footnote{See \htmladdnormallink{http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PSPSFlags\#StackDetectionFull.infoFlagsFLAGS232FLAGS}{http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PSPSFlags\#StackDetectionFull.infoFlagsFLAGS232FLAGS} for the meaning of each bit}. The PM\_SOURCE\_MODE\_EXTENDED\_FIT flag (at position 0x00800000) is set when the Trail Fitting is attempted. It does not mean that the Trail Fitting is successful. \\
     634    \hline DIFF\_SKYFILE\_ID & 1+ & S64 & Identifier for diff
     635    skyfile. Either a diff\_id (for Warp-Warp difference) or a
     636    stack\_id
     637    (for Warp-Stack difference) & N/A \\
     638    \hline
     639    IPP\_IDET & 2+ & U32 & IPP detection identifier index & N/A \\
     640    \hline
     641    PSF\_INST\_FLUX & 2+ & F32 & PSF fit instrumental magnitude & N/A \\
     642    \hline
     643    PSF\_INST\_FLUX\_SIG & 2+ & F32 & Sigma of PSF instrumental magnitude & N/A \\
     644    \hline
     645    AP\_MAG & 2+ & F32 & magnitude in standard aperture (i.e. 25 pixels radius) & N/A \\
     646    \hline
     647    AP\_MAG\_RAW & 2+ & F32 & magnitude in real aperture & N/A \\
     648    \hline
     649    AP\_MAG\_RADIUS & 2+ & F32 & radius used for aperture mags & pixels \\
     650    \hline
     651    AP\_FLUX & 2+ & F32 & instrumental flux in standard aperture & ADU \\
     652    \hline
     653    AP\_FLUX\_SIG & 2+ & F32 & aperture flux error & N/A \\
     654    \hline
     655    PEAK\_FLUX\_AS\_MAG & 2+ & F32 & Peak flux expressed as magnitude & N/A \\
     656    \hline
     657    CAL\_PSF\_MAG & 2+ & F32 & PSF Magnitude using supplied calibration & N/A \\
     658    \hline
     659    CAL\_PSF\_MAG\_SIG & 2+ & F32 & Measured standard-deviation of zero point calibration & N/A \\
     660    \hline
     661    SKY & 2+ & F32 & Sky level & counts/pixel \\
     662    \hline
     663    SKY\_SIGMA & 2+ & F32 & Sigma of sky level  & counts/pixel\\
     664    \hline PSF\_QF\_PERFECT & 2+ & F32 & PSF coverage/quality factor
     665    (poor): PSF value weighted by unmasked pixels
     666    (source: psmodules/src/objects/pmSourcePhotometry.c) & N/A \\
     667    \hline
     668    MOMENTS\_R1 & 2+ & F32 & first radial moment & N/A \\
     669    \hline
     670    MOMENTS\_RH & 2+ & F32 & half radial moment & N/A \\
     671    \hline
     672    KRON\_FLUX & 2+ & F32 & Kron Flux (that is, flux in 2.5 $\times$ first radial moment) & N/A \\
     673    \hline
     674    KRON\_FLUX\_ERR & 2+ & F32 & Kron Flux Error & N/A \\
     675    \hline
     676    KRON\_FLUX\_INNER & 2+ & F32 & Inner Kron Flux (that is, flux in 1.0 $\times$ first radial moment) & N/A \\
     677    \hline
     678    KRON\_FLUX\_OUTER & 2+ & F32 & Outer Kron Flux (that is, flux in 4.0 $\times$ first radial moment) & N/A \\
     679    \hline
     680    DIFF\_R\_P & 2+ & F32 & distance from detection to positive matching source & pixels \\
     681    \hline
     682    DIFF\_SN\_P & 2+ & F32 & signal-to-noise of pos match src & N/A \\
     683    \hline
     684    DIFF\_R\_M & 2+ & F32 & distance from detectionto negative match source & pixels \\
     685    \hline
     686    DIFF\_SN\_M & 2+ & F32 & signal-to-noise of neg match src & N/A \\
    586687    \hline
    587688    FLAGS2 & 2+ & U32 & psphot analysis flags (group 2)\footnote{See \htmladdnormallink{http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PSPSFlags\#StackDetectionFull.infoFlagsFLAGS232FLAGS}{http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PSPSFlags\#StackDetectionFull.infoFlagsFLAGS232FLAGS} for the meaning of each bit}\\
    588689    \hline
    589     N\_FRAMES & 2+ & U16 & Number of frames overlapping source center \\
     690    N\_FRAMES & 2+ & U16 & Number of exposures overlapping source center \\
    590691    \hline
    591692    PADDING & 2+ & S16 & padding \\
    592     \hline
    593     \multicolumn{4}{|c|}{\textbf{Extended (trail fitting) parameters}}\\
    594     \multicolumn{4}{|c|}{Values like \texttt{NaN} mean that the extended parameters are undefined for the detection}\\
    595     \hline
    596     X\_EXT & 2+ & F32 & Extended model X coordinate \\
    597     \hline
    598     Y\_EXT & 2+ & F32 & Extended model Y coordinate \\
    599     \hline
    600     X\_EXT\_SIG & 2+ & F32 & Sigma in extended model X coordinate \\
    601     \hline
    602     Y\_EXT\_SIG & 2+ & F32 & Sigma in extended model Y coordinate \\
    603     \hline
    604     EXT\_INST\_MAG & 2+ & F32 & Extended fit instrumental magnitude \\
    605     \hline
    606     EXT\_INST\_SIG\_MAG & 2+ & F32 & Sigma of extended fit instrumental magnitude \\
    607     \hline
    608     NPARAMS & 2+ & F32 & Number of model parameters \\
    609     \hline
    610     EXT\_WIDTH\_MAJ & 2+ & F32 & EXT width (major axis), length for trail \\
    611     \hline
    612     EXT\_WIDTH\_MIN & 2+ & F32 & EXT width (minor axis), sigma for trail \\
    613     \hline
    614     EXT\_THETA & 2+ & F32 & EXT orientation angle\\
    615     \hline
    616     EXT\_WIDTH\_MAJ\_ERR & 2+ & F32 & EXT width error (major axis)\\
    617     \hline
    618     EXT\_WIDTH\_MIN\_ERR & 2+ & F32 & EXT width error (minor axis)\\
    619     \hline
    620     EXT\_THETA\_ERR & 2+ & F32 & EXT orientation angle (error)\\
    621     \hline
    622     RA\_EXT & 3+ & F32 & Fitted centroid RA \\
    623     \hline
    624     RA\_EXT\_SIGMA & 3+ & F32 & Fitted RA sigma \\
    625     \hline
    626     DEC\_EXT & 3+ & F32 & Fitted centroid DEC \\
    627     \hline
    628     DEC\_EXT\_SIGMA & 3+ & F32 & Fitted DEC sigma \\
    629     \hline
    630     POSANG\_EXT & 3+ & F32 & Fitted position angle \\
    631     \hline
    632     PLTSCALE\_EXT & 3+ & F32 & Plate scale at centroid \\
    633     \hline
    634     EXT\_FLUX & 3+ & F32 & Fitted flux \\
    635     \hline
    636     EXT\_CAL\_MAG & 3+ & F32 & Calibrated magnitude \\
    637     \hline
    638     EXT\_MAG\_SIG & 3+ & F32 & Sigma of calibrated magnitude \\
    639     \hline
    640     EXT\_CHISQ & 3+ & F32 & $\chi^2$ of fit \\
    641     \hline
    642     EXT\_NDOF & 3+ & S32 & Fit degrees of freedom \\
    643     \hline
     693    \hline \hline
    644694  \end{longtable}
    645 }
     695\end{center}
     696
     697\begin{center}
     698  \begin{longtable}{|lclp{3.5in}c|}
     699    \caption{IPP-MOPS Transient Detection Table Columns:\\ Extended (Trail Fitting) Details}\label{table-detections-ext}\\
     700    \hline \hline
     701    \multicolumn{5}{|c|}{\textbf{Extended (trail fitting) parameters}}\\
     702    \multicolumn{5}{|c|}{Values like \texttt{NaN} mean that the extended parameters are undefined for the detection}\\
     703    \hline
     704    X\_EXT & 2+ & F32 &
     705    Extended model X coordinate & pixels\\
     706    \hline
     707    Y\_EXT & 2+ & F32 &
     708    Extended model Y coordinate & pixels \\
     709    \hline
     710    X\_EXT\_SIG & 2+ & F32 &
     711    Sigma in extended model X coordinate & pixels \\
     712    \hline
     713    Y\_EXT\_SIG & 2+ & F32 &
     714    Sigma in extended model Y coordinate & pixels \\
     715    \hline
     716    EXT\_INST\_MAG & 2+ & F32 &
     717    Extended fit instrumental magnitude & N/A \\
     718    \hline
     719    EXT\_INST\_SIG\_MAG & 2+ & F32 &
     720    Sigma of extended fit instrumental magnitude & N/A \\
     721    \hline
     722    NPARAMS & 2+ & S32 &
     723    Number of model parameters (TODO: Reference to PV paper for details) & N/A \\
     724    \hline
     725    EXT\_WIDTH\_MAJ & 2+ & F32 & % The name is weird but it's because of normalization
     726    Length of trail & pixels \\  % in the IPP: Check if MOPS want to change it
     727    \hline
     728    EXT\_WIDTH\_MIN & 2+ & F32 &  % The name is weird but it's because of normalization
     729    Sigma of trail & pixels \\    % in the IPP: Check if MOPS want to change it
     730    \hline
     731    EXT\_THETA & 2+ & F32 & EXT orientation angle & radians \\
     732    \hline
     733    EXT\_WIDTH\_MAJ\_ERR & 2+ & F32 & EXT width error (major axis) & pixels \\
     734    \hline
     735    EXT\_WIDTH\_MIN\_ERR & 2+ & F32 & EXT width error (minor axis) & pixels \\
     736    \hline
     737    EXT\_THETA\_ERR & 2+ & F32 & EXT orientation angle (error) & radians \\
     738    \hline
     739    RA\_EXT & 3+ & F32 & Fitted centroid RA & degrees \\
     740    \hline
     741    RA\_EXT\_SIGMA & 3+ & F32 & Fitted RA sigma & degrees? \\
     742    \hline
     743    DEC\_EXT & 3+ & F32 & Fitted centroid DEC & degrees \\
     744    \hline
     745    DEC\_EXT\_SIGMA & 3+ & F32 & Fitted DEC sigma & degrees? \\
     746    \hline
     747    POSANG\_EXT & 3+ & F32 & Fitted position angle & degrees \\
     748    \hline
     749    PLTSCALE\_EXT & 3+ & F32 & Plate scale at centroid & arcsec/pixel \\
     750    \hline
     751    EXT\_FLUX & 3+ & F32 & Fitted flux & ADU \\
     752    \hline
     753    EXT\_CAL\_MAG & 3+ & F32 & Calibrated magnitude & N/A \\
     754    \hline
     755    EXT\_MAG\_SIG & 3+ & F32 & Sigma of calibrated magnitude & N/A \\
     756    \hline
     757    EXT\_CHISQ & 3+ & F32 & $\chi^2$ of fit & N/A \\
     758    \hline
     759    EXT\_NDOF & 3+ & S32 & Fit degrees of freedom & N/A \\
     760    \hline
     761  \end{longtable}
     762\end{center}
    646763
    647764\subsection{MOPS Detectability Query}
     
    764881
    765882\pagebreak
     883
     884\section{Changes}
     885
     886\subsection{Changes in PS1\_DV3 from PS1\_DV2}
     887
     888\subsubsection{New Keywords}
     889
     890\paragraph{Per Exposure (in FITS header)}
     891\begin{itemize}
     892\item CMMTOBS
     893\item OBS\_MODE
     894\item DIFFTYPE
     895\item SKY
     896\item SHUTOUTC
     897\end{itemize}
     898
     899\paragraph{Per Detection (in FITS extension)}
     900\begin{itemize}
     901\item RA\_EXT
     902\item RA\_EXT\_SIGMA
     903\item DEC\_EXT
     904\item DEC\_EXT\_SIGMA
     905\item POSANG\_EXT
     906\item PLTSCALE\_EXT
     907\item EXT\_FLUX
     908\item EXT\_CAL\_MAG
     909\item EXT\_MAG\_SIG
     910\item EXT\_CHISQ
     911\item EXT\_NDOF
     912\end{itemize}
     913
     914\subsubsection{Removed Keywords}
     915
     916None
     917
     918\subsubsection{Datatypes}
     919\begin{itemize}
     920\item NPARAMS is now a S32 and no more a F32.
     921\end{itemize}
     922
     923\subsubsection{Known Bugs and Associated Fix}
     924
     925\begin{itemize}
     926\item None
     927\end{itemize}
     928
     929\newpage
     930
    766931\appendix
    767932
    768 \section{Appendix}
     933\section{The IPP Data Workflow}
     934
     935The objective of this section is to provide some details about the IPP
     936Workflow. It is intentionnally MOPS oriented in the sense that some
     937details have been voluntarily omitted.
     938
     939\begin{minipage}{0.65\linewidth}
     940  The IPP receives "exposures" from the telescope. An "exposure" is an
     941  image of 60 OTAs (see figure~\ref{fig-exposure-otas}) taken by the
     942  GPC1 camera and its associated metadata. All science exposures
     943  (which are interesting MOPS) are processed in the IPP according to
     944  the following stages.
     945
     946  The first stage is the CHIP stage. Detrending and objects detections
     947  are performed on each OTA at this stage.
     948
     949  The second stage is the CAMERA stage. Calibration and astrometry are
     950  performed on the exposure at this stage.
     951
     952  The third stage is the WARP stage\footnote{For simplicity and since
     953    nothing is performed in this stage, the FAKE stage has been
     954    ommitted.}. The image pixels are warped to fit a predefined sky
     955  tessellation (it is actually a covering). Cells of the tessellation
     956  are called \emph{skycells} and each pixel in a skycell has a size of
     957  $0.25" \times 0.25"$. The skycell is oriented so that increasing X
     958  (wrt Y) pixel coordinate corresponds to a move toward the West (wrt
     959  North).
     960
     961  The fourth stage is the DIFF stage. The difference between two
     962  skycells having the same spatial coordinates but being distant in
     963  time (by less than the TTI) is computed. To avoid deconvolution,
     964  the image difference can be performed in bothways When the newer
     965  image is diffed with the older image, the difference image is called
     966  the \emph{positive} image. When the older image is diffed with the
     967  newer image, the difference image is called the \emph{negative}
     968  image.
     969
     970  Another stage is executed in parallel of the fourth stage: the STACK
     971  stage. Its products (the stacks, that is, "average" observations in
     972  a skycell) can be used in the DIFF stage to compute WARP-STACK
     973  differences (e.g for MD observations). STACK-WARP are not computed
     974  (so far).
     975
     976  The fifth and last stage is the PPMOPS stage. The exposure is
     977  rebuilt from the differences obtained in each skycell of the DIFF
     978  stage. For detections falling in areas covered by two or more
     979  skycells, the data of the detection being the nearest to a skycell
     980  center are taken.
     981\end{minipage}\hfill\begin{minipage}{0.3\linewidth}
     982  \begin{center}
     983    \includegraphics[width=\linewidth]{figures/ipp_workflow.eps}
     984    \captionof{figure}{Caption for figure}
     985    \label{fig-ipp-workflow}
     986  \end{center}
     987\end{minipage}
     988
     989\begin{center}
     990  \includegraphics[width=4in]{figures/exposure_ota.eps}
     991  \captionof{figure}{Exposure / OTA TODO + Move somewhere else}
     992  \label{fig-exposure-otas}
     993\end{center}
     994
     995\newpage
     996\section{Obsolete Stuff?}
     997
     998TODO (SC): The following stuff seems obsolete. Tell me if I can remove it.
    769999
    7701000\subsection{IPP to MOPS}
     
    7971027\hline
    7981028Detectability Query         & \code{MOPS_DETECTABILITY_QUERY} & table of detectability query tuples (RA, Dec, FPA) \\
    799 \end{tabular}
    800 \end{center}
    801 \end{table}
    802 
    803 \subsection{Acronyms}
    804 
    805 \begin{table}[htbp]
    806 \begin{center}
    807 \small
    808 \caption{Acronyms used in this document\label{table-acronyms}}
    809 \begin{tabular}{ll}
    810 \hline
    811 \hline
    812 {\bf Acronym}            & {\bf Definition} \\
    813 \hline
    814 MOPS     & Pan-STARRS Moving Object Processing System \\
    815 IPP      & Pan-STARRS Image Processing Pipeline \\
    816 FPA      & Focal plane array \\
    817 MPC      & Center for Astrophysics Minor Planet Center \\
    818 \hline
    8191029\end{tabular}
    8201030\end{center}
     
    8411051\end{itemize}
    8421052
    843 \subsection{Example}
    844 \label{sec-example}
    845 
    846 \begin{verbatim}
    847 XTENSION= 'BINTABLE'           / binary table extension
    848 BITPIX  =                    8 / 8-bit bytes
    849 NAXIS   =                    2 / 2-dimensional binary table
    850 NAXIS1  =                  120 / width of table in bytes
    851 NAXIS2  =                42032 / number of rows in table
    852 PCOUNT  =                    0 / size of special data area
    853 GCOUNT  =                    1 / one data group (required keyword)
    854 TFIELDS =                   25 / number of fields in each row
    855 TTYPE1  = 'RA      '           / label for field   1
    856 TFORM1  = '1D      '           / data format of field: 8-byte DOUBLE
    857 TTYPE2  = 'RA_ERR  '           / label for field   2
    858 TFORM2  = '1D      '           / data format of field: 8-byte DOUBLE
    859 TTYPE3  = 'DEC     '           / label for field   3
    860 TFORM3  = '1D      '           / data format of field: 8-byte DOUBLE
    861 TTYPE4  = 'DEC_ERR '           / label for field   4
    862 TFORM4  = '1D      '           / data format of field: 8-byte DOUBLE
    863 TTYPE5  = 'MAG     '           / label for field   5
    864 TFORM5  = '1E      '           / data format of field: 4-byte REAL
    865 TTYPE6  = 'MAG_ERR '           / label for field   6
    866 TFORM6  = '1E      '           / data format of field: 4-byte REAL
    867 TTYPE7  = 'PSF_CHI2'           / label for field   7
    868 TFORM7  = '1E      '           / data format of field: 4-byte REAL
    869 TTYPE8  = 'PSF_DOF '           / label for field   8
    870 TFORM8  = '1J      '           / data format of field: 4-byte INTEGER
    871 TTYPE9  = 'CR_SIGNIFICANCE'    / label for field   9
    872 TFORM9  = '1E      '           / data format of field: 4-byte REAL
    873 TTYPE10 = 'EXT_SIGNIFICANCE'   / label for field  10
    874 TFORM10 = '1E      '           / data format of field: 4-byte REAL
    875 TTYPE11 = 'PSF_MAJOR'          / label for field  11
    876 TFORM11 = '1E      '           / data format of field: 4-byte REAL
    877 TTYPE12 = 'PSF_MINOR'          / label for field  12
    878 TFORM12 = '1E      '           / data format of field: 4-byte REAL
    879 TTYPE13 = 'PSF_THETA'          / label for field  13
    880 TFORM13 = '1E      '           / data format of field: 4-byte REAL
    881 TTYPE14 = 'PSF_QUALITY'        / label for field  14
    882 TFORM14 = '1E      '           / data format of field: 4-byte REAL
    883 TTYPE15 = 'PSF_NPIX'           / label for field  15
    884 TFORM15 = '1J      '           / data format of field: 4-byte INTEGER
    885 TTYPE16 = 'MOMENTS_XX'         / label for field  16
    886 TFORM16 = '1E      '           / data format of field: 4-byte REAL
    887 TTYPE17 = 'MOMENTS_XY'         / label for field  17
    888 TFORM17 = '1E      '           / data format of field: 4-byte REAL
    889 TTYPE18 = 'MOMENTS_YY'         / label for field  18
    890 TFORM18 = '1E      '           / data format of field: 4-byte REAL
    891 TTYPE19 = 'N_POS   '           / label for field  19
    892 TFORM19 = '1J      '           / data format of field: 4-byte INTEGER
    893 TTYPE20 = 'F_POS   '           / label for field  20
    894 TFORM20 = '1E      '           / data format of field: 4-byte REAL
    895 TTYPE21 = 'RATIO_BAD'          / label for field  21
    896 TFORM21 = '1E      '           / data format of field: 4-byte REAL
    897 TTYPE22 = 'RATIO_MASK'         / label for field  22
    898 TFORM22 = '1E      '           / data format of field: 4-byte REAL
    899 TTYPE23 = 'RATIO_ALL'          / label for field  23
    900 TFORM23 = '1E      '           / data format of field: 4-byte REAL
    901 TTYPE24 = 'FLAGS   '           / label for field  24
    902 TFORM24 = '1J      '           / data format of field: 4-byte INTEGER
    903 TZERO24 =           2147483648 / offset for unsigned integers
    904 TSCAL24 =                    1 / data are not scaled
    905 TTYPE25 = 'DIFF_SKYFILE_ID'    / label for field  25
    906 TFORM25 = '1K      '           / data format of field: 8-byte INTEGER
    907 SWSOURCE= '60eb6cdc-a59c-4636-a4e0-dba66a9721fd' / Software source
    908 SWVERSN = 'branches/pap_mops/ppMops@25227' / Software version
    909 HISTORY ppMops at 2009-09-02T03:48:46.695783
    910 HISTORY psLib version: branches/pap_mops/psLib@25227
    911 HISTORY psLib source: 60eb6cdc-a59c-4636-a4e0-dba66a9721fd
    912 HISTORY ppMops version: branches/pap_mops/ppMops@25227
    913 HISTORY ppMops source: 60eb6cdc-a59c-4636-a4e0-dba66a9721fd
    914 EXP_NAME= 'o4995g0129o'        / Exposure name
    915 EXP_ID  =                77164 / Exposure identifier
    916 CHIP_ID =                24019 / Chip stage identifier
    917 CAM_ID  =                17726 / Cam stage identifier
    918 FAKE_ID =                10227 / Fake stage identifier
    919 WARP_ID =                 8842 / Warp stage identifier
    920 DIFF_ID =                19219 / Diff stage identifier
    921 DIFF_POS=                    F / Positive subtraction?
    922 MJD-OBS =     54995.4740598313 / MJD of exposure midpoint
    923 RA      = '18:25:01.988'       / Right Ascension of boresight
    924 DEC     = '-17:20:40.069'      / Declination of boresight
    925 TEL_ALT =            51.951873 / Telescope altitude
    926 TEL_AZ  =           179.483883 / Telescope azimuth
    927 EXPTIME =                  38. / Exposure time (sec)
    928 ROTANGLE=             333.1039 / Rotator position angle
    929 FILTER  = 'r.00000 '           / Filter name
    930 AIRMASS =                1.269 / Airmass of exposure
    931 OBSCODE = 'F51     '           / IAU Observatory code
    932 SEEING  =             1.678401 / Mean seeing
    933 MAGZP   =             28.65226 / Magnitude zero point
    934 MAGZPERR=             0.353063 / Error in magnitude zero point
    935 ASTRORMS=            0.3111496 / RMS of astrometric fit
    936 EXTNAME = 'MOPS_TRANSIENT_DETECTIONS'
    937 \end{verbatim}
    938 
    939 
    9401053\end{document}
    9411054
Note: See TracChangeset for help on using the changeset viewer.