Changeset 6366 for trunk/doc/pslib/psLibSDRS.tex
- Timestamp:
- Feb 7, 2006, 4:28:20 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/doc/pslib/psLibSDRS.tex (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/pslib/psLibSDRS.tex
r6356 r6366 1 %%% $Id: psLibSDRS.tex,v 1.38 0 2006-02-08 01:06:40 jhoblitt Exp $1 %%% $Id: psLibSDRS.tex,v 1.381 2006-02-08 02:28:20 jhoblitt Exp $ 2 2 \documentclass[panstarrs,spec]{panstarrs} 3 3 … … 927 927 \begin{datatype} 928 928 typedef enum { 929 PS_TYPE_S8 ,///< Character930 PS_TYPE_S16 ,///< Short integer931 PS_TYPE_S32 ,///< Integer932 PS_TYPE_S64 ,///< Long integer933 PS_TYPE_U8 ,///< Unsigned character934 PS_TYPE_U16 ,///< Unsigned short integer935 PS_TYPE_U32 ,///< Unsigned integer936 PS_TYPE_U64 ,///< Unsigned long integer937 PS_TYPE_F32 ,///< Floating point938 PS_TYPE_F64 ,///< Double-precision floating point939 PS_TYPE_C32 ,///< Float complex940 PS_TYPE_C64 ,///< Double complex941 PS_TYPE_BOOL ///< Boolean value929 PS_TYPE_S8 = 0x0101, ///< Character 930 PS_TYPE_S16 = 0x0102, ///< Short integer 931 PS_TYPE_S32 = 0x0104, ///< Integer 932 PS_TYPE_S64 = 0x0108, ///< Long integer 933 PS_TYPE_U8 = 0x0301, ///< Unsigned character 934 PS_TYPE_U16 = 0x0302, ///< Unsigned short integer 935 PS_TYPE_U32 = 0x0304, ///< Unsigned integer 936 PS_TYPE_U64 = 0x0308, ///< Unsigned long integer 937 PS_TYPE_F32 = 0x0404, ///< Floating point 938 PS_TYPE_F64 = 0x0408, ///< Double-precision floating point 939 PS_TYPE_C32 = 0x0808, ///< Float complex 940 PS_TYPE_C64 = 0x0810, ///< Double complex 941 PS_TYPE_BOOL = 0x1301 ///< Boolean value 942 942 } psElemType; 943 943 \end{datatype} … … 950 950 \begin{datatype} 951 951 typedef enum { ///< type of item.data is: 952 PS_ TYPE_S8 = PS_TYPE_S8,///< psS8953 PS_ TYPE_S16 = PS_TYPE_S16,///< psS16954 PS_DATA_S32 = PS_TYPE_S32,///< psS32955 PS_ TYPE_U8 = PS_TYPE_U8,///< psU8956 PS_ TYPE_U16 = PS_TYPE_U16,///< psU16957 PS_ TYPE_U32 = PS_TYPE_U32,///< psU32958 PS_DATA_F32 = PS_TYPE_F32,///< psF32959 PS_DATA_F64 = PS_TYPE_F64,///< psF64960 PS_DATA_BOOL = PS_TYPE_BOOL,///< psBool961 PS_DATA_STRING = 0x10000,///< String (char *)952 PS_DATA_S8 = PS_TYPE_S8, ///< psS8 953 PS_DATA_S16 = PS_TYPE_S16, ///< psS16 954 PS_DATA_S32 = PS_TYPE_S32, ///< psS32 955 PS_DATA_U8 = PS_TYPE_U8, ///< psU8 956 PS_DATA_U16 = PS_TYPE_U16, ///< psU16 957 PS_DATA_U32 = PS_TYPE_U32, ///< psU32 958 PS_DATA_F32 = PS_TYPE_F32, ///< psF32 959 PS_DATA_F64 = PS_TYPE_F64, ///< psF64 960 PS_DATA_BOOL = PS_TYPE_BOOL, ///< psBool 961 PS_DATA_STRING = 0x10000, ///< String (char *) 962 962 PS_DATA_ARRAY, ///< psArray 963 963 PS_DATA_BITSET, ///< psBitSet … … 994 994 \end{datatype} 995 995 996 Here we have not included every type of structure used in PSLib, but 997 only those we expect will be frequently carried around in containers. 998 We include \code{PS_DATA_S32, PS_DATA_F32, PS_DATA_F64} and 999 \code{PS_DATA_BOOL} since the metadata use these, and we set them to 1000 the same values as in \code{psElemType}. 996 Here we have included every type of structure used in PSLib that we expect will 997 be frequently carried around in containers. If applicable, the value should 998 corespond to the same type as represented in \code{psElemType}. 1001 999 1002 1000 The other values are offset from these ``primitive'' types so that … … 4062 4060 \begin{datatype} 4063 4061 typedef enum { 4064 PS_FITS_TYPE_NONE ,4065 PS_FITS_TYPE_IMAGE ,4066 PS_FITS_TYPE_BINARY_TABLE ,4067 PS_FITS_TYPE_ASCII_TABLE ,4068 PS_FITS_TYPE_ANY 4062 PS_FITS_TYPE_NONE = -1, 4063 PS_FITS_TYPE_IMAGE = IMAGE_HDU, 4064 PS_FITS_TYPE_BINARY_TABLE = BINARY_TBL, 4065 PS_FITS_TYPE_ASCII_TABLE = ASCII_TBL, 4066 PS_FITS_TYPE_ANY = ANY_HDU 4069 4067 } psFitsType; 4070 4068 \end{datatype}
Note:
See TracChangeset
for help on using the changeset viewer.
