Main Page
Namespaces
Classes
Files
File List
Namespaces
|
Functions
|
Variables
math_util.py File Reference
Go to the source code of this file.
Namespaces
namespace
math_util
Functions
def
math_util.ang_of_vec
def
math_util.approx_equal
def
math_util.approx_equalv
def
math_util.argmax2d
NUMPY HELPER FUNCTIONS.
def
math_util.avg_ang
def
math_util.best_turn_dir
def
math_util.blend
MISCELLANEOUS MATH HELPER FUNCTIONS.
def
math_util.blend_ang
def
math_util.bound
Bound the value of a number to be above lower, and lower than upper.
def
math_util.bound_mat
def
math_util.cart_of_pol
def
math_util.degrees
def
math_util.homo_to_point
def
math_util.list_mat_to_mat
def
math_util.list_of_mat
def
math_util.nearest
def
math_util.norm
def
math_util.point_to_homo
def
math_util.pol_of_cart
def
math_util.radians
def
math_util.renormalize
Changes the range of an numpy array to betwen [0, 255] from it's [min_value, max_value].
def
math_util.rnd
def
math_util.standard_rad
def
math_util.vec_of_ang
Angles related functions.
Variables
math_util.diff_vec
= mat-target
tuple
math_util.dist
= np.power(
np.sum
(np.power(diff_vec, pwr),
axis
=0),0.5)
tuple
math_util.indices
= np.concatenate((np.matrix(range(sort_order.shape[1])), sort_order), 0)
tuple
math_util.mat
=
ut.load_pickle
('
mat.pkl
')
tuple
math_util.pwr
= np.ones_like(mat[0])
tuple
math_util.sort_order
= dist.argsort(
axis
=1)
tuple
math_util.target
=
ut.load_pickle
('
target.pkl
')
rfid_datacapture
Author(s): Travis Deyle
autogenerated on Wed Nov 27 2013 12:11:16