$search

hand_planes Namespace Reference

Functions

def dex
def floatify
def offset_dict
def offset_tuple
def scale_dict
def scale_tuple
def unbox_dict
def unbox_tuple
def unflip_dict
def unflip_tuple_rows

Variables

tuple lcs = dex(lower_coordinates)
list lower_coordinates
list meters = [scale_dict(D, SCALE) for D in offsets]
dictionary names
tuple names_rev = dict([(names[k], k) for k in names])
int OFFSET = 1500
list offsets = [offset_dict(D, -OFFSET) for D in unboxeds]
float SCALE = 35.0
tuple ucs = dex(upper_coordinates)
list unboxeds = [unbox_dict(unflipped[i], lcs[i]) for i in range(4)]
list unflipped = [unflip_dict(unscaled[i], lcs[i], ucs[i]) for i in range(4)]
list unscaled = [floatify(x) for x in voxels]
list upper_coordinates
list voxels = [{}, {}, {}, {}]

Function Documentation

def hand_planes::dex (   s  ) 
dex for 'de-x'; convert my string format into (float, float, float).

Definition at line 334 of file hand_planes.py.

def hand_planes::floatify (   D  ) 
Turn a dictionary in my string format into a dictionary of (float, float,
float) triples.

Definition at line 359 of file hand_planes.py.

def hand_planes::offset_dict (   D,
  o 
)

Definition at line 400 of file hand_planes.py.

def hand_planes::offset_tuple (   t,
  o 
)

Definition at line 397 of file hand_planes.py.

def hand_planes::scale_dict (   D,
  s 
)
Divide D by s.

Definition at line 411 of file hand_planes.py.

def hand_planes::scale_tuple (   t,
  s 
)
Divide t by s.

Definition at line 407 of file hand_planes.py.

def hand_planes::unbox_dict (   D,
  lc 
)

Definition at line 390 of file hand_planes.py.

def hand_planes::unbox_tuple (   t,
  lc 
)

Definition at line 387 of file hand_planes.py.

def hand_planes::unflip_dict (   D,
  lc,
  uc 
)
As above, but for a dictionary.

Definition at line 380 of file hand_planes.py.

def hand_planes::unflip_tuple_rows (   t,
  lc,
  uc 
)
Unflip a tuple around rows, given the appropriate bounding box.

Definition at line 376 of file hand_planes.py.


Variable Documentation

Definition at line 352 of file hand_planes.py.

Initial value:
['1550x1790x1474', 
                     '1536x1778x1486',
                     '1532x1772x1484',
                     '1542x1740x1488']

Definition at line 341 of file hand_planes.py.

list hand_planes::meters = [scale_dict(D, SCALE) for D in offsets]

Definition at line 415 of file hand_planes.py.

dictionary hand_planes::names
Initial value:
{'2011-08-04-12-16-23' : 0,
         '2011-08-11-01-31-15' : 1,
         '2011-08-16-20-59-00' : 2,
         '2011-08-25-09-31-05' : 3}

Definition at line 9 of file hand_planes.py.

tuple hand_planes::names_rev = dict([(names[k], k) for k in names])

Definition at line 14 of file hand_planes.py.

int hand_planes::OFFSET = 1500

Definition at line 396 of file hand_planes.py.

list hand_planes::offsets = [offset_dict(D, -OFFSET) for D in unboxeds]

Definition at line 403 of file hand_planes.py.

float hand_planes::SCALE = 35.0

Definition at line 406 of file hand_planes.py.

Definition at line 353 of file hand_planes.py.

list hand_planes::unboxeds = [unbox_dict(unflipped[i], lcs[i]) for i in range(4)]

Definition at line 393 of file hand_planes.py.

list hand_planes::unflipped = [unflip_dict(unscaled[i], lcs[i], ucs[i]) for i in range(4)]

Definition at line 384 of file hand_planes.py.

list hand_planes::unscaled = [floatify(x) for x in voxels]

Definition at line 366 of file hand_planes.py.

Initial value:
['3085x3573x1603',
                     '3081x3569x1609',
                     '3071x3573x1621',
                     '3071x3573x1605']

Definition at line 346 of file hand_planes.py.

list hand_planes::voxels = [{}, {}, {}, {}]

Definition at line 18 of file hand_planes.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


semanticmodel
Author(s): Julian ("Mac") Mason
autogenerated on Tue Mar 5 12:38:43 2013