IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6365


Ignore:
Timestamp:
Feb 7, 2006, 4:25:03 PM (20 years ago)
Author:
jhoblitt
Message:

sync psElemType, psDataType, & psFitsType with the implementation in pslib

Location:
branches/SDRS-18-FIXES/doc/pslib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SDRS-18-FIXES/doc/pslib/ChangeLogSDRS.tex

    r6353 r6365  
    1 %%% $Id: ChangeLogSDRS.tex,v 1.183.2.5 2006-02-08 01:00:34 jhoblitt Exp $
     1%%% $Id: ChangeLogSDRS.tex,v 1.183.2.6 2006-02-08 02:25:03 jhoblitt Exp $
    22
    33\subsection{Changes from version 00 to version 01}
     
    842842\item sync \code{psImage}'s definition with the implementation in psLib
    843843\item add \code{*out} param to \code{psFitsReadHeaderSet()}
    844 \end{itemize}
     844\item sync \code{psElemType}, \code{psDataType}, & \code{psFitsType} with the implementation in pslib
     845\end{itemize}
  • branches/SDRS-18-FIXES/doc/pslib/psLibSDRS.tex

    r6353 r6365  
    1 %%% $Id: psLibSDRS.tex,v 1.362.2.5 2006-02-08 01:00:34 jhoblitt Exp $
     1%%% $Id: psLibSDRS.tex,v 1.362.2.6 2006-02-08 02:25:03 jhoblitt Exp $
    22\documentclass[panstarrs,spec]{panstarrs}
    33
     
    916916\begin{datatype}
    917917typedef enum {
    918     PS_TYPE_S8,                        ///< Character
    919     PS_TYPE_S16,                       ///< Short integer
    920     PS_TYPE_S32,                       ///< Integer
    921     PS_TYPE_S64,                       ///< Long integer
    922     PS_TYPE_U8,                        ///< Unsigned character
    923     PS_TYPE_U16,                       ///< Unsigned short integer
    924     PS_TYPE_U32,                       ///< Unsigned integer
    925     PS_TYPE_U64,                       ///< Unsigned long integer
    926     PS_TYPE_F32,                       ///< Floating point
    927     PS_TYPE_F64,                       ///< Double-precision floating point
    928     PS_TYPE_C32,                       ///< Float complex
    929     PS_TYPE_C64,                       ///< Double complex
    930     PS_TYPE_BOOL                       ///< Boolean value
     918    PS_TYPE_S8      = 0x0101,           ///< Character
     919    PS_TYPE_S16     = 0x0102,           ///< Short integer
     920    PS_TYPE_S32     = 0x0104,           ///< Integer
     921    PS_TYPE_S64     = 0x0108,           ///< Long integer
     922    PS_TYPE_U8      = 0x0301,           ///< Unsigned character
     923    PS_TYPE_U16     = 0x0302,           ///< Unsigned short integer
     924    PS_TYPE_U32     = 0x0304,           ///< Unsigned integer
     925    PS_TYPE_U64     = 0x0308,           ///< Unsigned long integer
     926    PS_TYPE_F32     = 0x0404,           ///< Floating point
     927    PS_TYPE_F64     = 0x0408,           ///< Double-precision floating point
     928    PS_TYPE_C32     = 0x0808,           ///< Float complex
     929    PS_TYPE_C64     = 0x0810,           ///< Double complex
     930    PS_TYPE_BOOL    = 0x1301            ///< Boolean value
    931931} psElemType;
    932932\end{datatype}
     
    939939\begin{datatype}
    940940typedef enum {                         ///< type of item.data is:
    941     PS_DATA_S32  = PS_TYPE_S32,        ///< psS32
    942     PS_DATA_F32  = PS_TYPE_F32,        ///< psF32
    943     PS_DATA_F64  = PS_TYPE_F64,        ///< psF64
    944     PS_DATA_BOOL = PS_TYPE_BOOL,       ///< psBool
    945     PS_DATA_STRING = 0x10000,          ///< String (char *)
     941    PS_DATA_S8      = PS_TYPE_S8,      ///< psS8
     942    PS_DATA_S16     = PS_TYPE_S16,     ///< psS16
     943    PS_DATA_S32     = PS_TYPE_S32,     ///< psS32
     944    PS_DATA_U8      = PS_TYPE_U8,      ///< psU8
     945    PS_DATA_U16     = PS_TYPE_U16,     ///< psU16
     946    PS_DATA_U32     = PS_TYPE_U32,     ///< psU32
     947    PS_DATA_F32     = PS_TYPE_F32,     ///< psF32
     948    PS_DATA_F64     = PS_TYPE_F64,     ///< psF64
     949    PS_DATA_BOOL    = PS_TYPE_BOOL,    ///< psBool
     950    PS_DATA_STRING  = 0x10000,         ///< String (char *)
    946951    PS_DATA_ARRAY,                     ///< psArray
    947952    PS_DATA_BITSET,                    ///< psBitSet
     
    978983\end{datatype}
    979984
    980 Here we have not included every type of structure used in PSLib, but
    981 only those we expect will be frequently carried around in containers.
    982 We include \code{PS_DATA_S32, PS_DATA_F32, PS_DATA_F64} and
    983 \code{PS_DATA_BOOL} since the metadata use these, and we set them to
    984 the same values as in \code{psElemType}.
     985Here we have included every type of structure used in PSLib that we expect will
     986be frequently carried around in containers.  If applicable, the value should
     987corespond to the same type as represented in \code{psElemType}.
    985988
    986989The other values are offset from these ``primitive'' types so that
     
    40144017\begin{datatype}
    40154018typedef enum {
    4016     PS_FITS_TYPE_NONE,
    4017     PS_FITS_TYPE_IMAGE,
    4018     PS_FITS_TYPE_BINARY_TABLE,
    4019     PS_FITS_TYPE_ASCII_TABLE,
    4020     PS_FITS_TYPE_ANY
     4019    PS_FITS_TYPE_NONE           = -1,
     4020    PS_FITS_TYPE_IMAGE          = IMAGE_HDU,
     4021    PS_FITS_TYPE_BINARY_TABLE   = BINARY_TBL,
     4022    PS_FITS_TYPE_ASCII_TABLE    = ASCII_TBL,
     4023    PS_FITS_TYPE_ANY            = ANY_HDU
    40214024} psFitsType;
    40224025\end{datatype}
Note: See TracChangeset for help on using the changeset viewer.