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