Package SpecClient :: Module SpecArray
[hide private]
[frames] | no frames]

Module SpecArray

source code

Classes [hide private]
  SpecArrayError
  SpecArrayData
Functions [hide private]
 
IS_ARRAY(data) source code
 
isArrayType(datatype) source code
 
SpecArray(data, datatype=11, rows=0, cols=0) source code
Variables [hide private]
  Numeric = None
  NUM_TO_SPEC = {<type 'float'>: 6, <type 'numpy.int8'>: 11, <ty...
  SPEC_TO_NUM = {5: <type 'numpy.float64'>, 6: <type 'numpy.floa...
  ARRAY_CHAR = 11
  ARRAY_DOUBLE = 5
  ARRAY_FLOAT = 6
  ARRAY_LONG = 7
  ARRAY_MAX = 13
  ARRAY_MIN = 5
  ARRAY_NUMERIC = 14
  ARRAY_SHORT = 9
  ARRAY_STRING = 13
  ARRAY_UCHAR = 12
  ARRAY_ULONG = 8
  ARRAY_USHORT = 10
  __package__ = 'SpecClient'
Variables Details [hide private]

NUM_TO_SPEC

Value:
{<type 'float'>: 6,
 <type 'numpy.int8'>: 11,
 <type 'numpy.int16'>: 9,
 <type 'numpy.int32'>: 7,
 <type 'numpy.uint8'>: 11,
 <type 'numpy.uint16'>: 10,
 <type 'numpy.uint32'>: 8,
 <type 'numpy.uint64'>: 8,
...

SPEC_TO_NUM

Value:
{5: <type 'numpy.float64'>,
 6: <type 'numpy.float32'>,
 7: <type 'numpy.int32'>,
 8: <type 'numpy.uint32'>,
 9: <type 'numpy.int16'>,
 10: <type 'numpy.uint16'>,
 11: <type 'numpy.int8'>,
 12: <type 'numpy.uint8'>}