Changeset 6365
- Timestamp:
- Feb 7, 2006, 4:25:03 PM (20 years ago)
- Location:
- branches/SDRS-18-FIXES/doc/pslib
- Files:
-
- 2 edited
-
ChangeLogSDRS.tex (modified) (2 diffs)
-
psLibSDRS.tex (modified) (5 diffs)
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:34jhoblitt Exp $1 %%% $Id: ChangeLogSDRS.tex,v 1.183.2.6 2006-02-08 02:25:03 jhoblitt Exp $ 2 2 3 3 \subsection{Changes from version 00 to version 01} … … 842 842 \item sync \code{psImage}'s definition with the implementation in psLib 843 843 \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:34jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.362.2.6 2006-02-08 02:25:03 jhoblitt Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 916 916 \begin{datatype} 917 917 typedef enum { 918 PS_TYPE_S8 ,///< Character919 PS_TYPE_S16 ,///< Short integer920 PS_TYPE_S32 ,///< Integer921 PS_TYPE_S64 ,///< Long integer922 PS_TYPE_U8 ,///< Unsigned character923 PS_TYPE_U16 ,///< Unsigned short integer924 PS_TYPE_U32 ,///< Unsigned integer925 PS_TYPE_U64 ,///< Unsigned long integer926 PS_TYPE_F32 ,///< Floating point927 PS_TYPE_F64 ,///< Double-precision floating point928 PS_TYPE_C32 ,///< Float complex929 PS_TYPE_C64 ,///< Double complex930 PS_TYPE_BOOL ///< Boolean value918 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 931 931 } psElemType; 932 932 \end{datatype} … … 939 939 \begin{datatype} 940 940 typedef 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 *) 946 951 PS_DATA_ARRAY, ///< psArray 947 952 PS_DATA_BITSET, ///< psBitSet … … 978 983 \end{datatype} 979 984 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}. 985 Here we have included every type of structure used in PSLib that we expect will 986 be frequently carried around in containers. If applicable, the value should 987 corespond to the same type as represented in \code{psElemType}. 985 988 986 989 The other values are offset from these ``primitive'' types so that … … 4014 4017 \begin{datatype} 4015 4018 typedef 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 4021 4024 } psFitsType; 4022 4025 \end{datatype}
Note:
See TracChangeset
for help on using the changeset viewer.
