| |
- arange(...)
- arange(start, stop=None, step=1, typecode=None)
Just like range() except it returns an array whose type can be
specified by the keyword argument typecode.
- array(...)
- array(sequence, typecode=None, copy=1, savespace=0) will return a new array formed from the given (potentially nested) sequence with type given by typecode. If no typecode is given, then the type will be determined as the minimum type required to hold the objects in sequence. If copy is zero and sequence is already an array, a reference will be returned. If savespace is nonzero, the new array will maintain its precision in operations.
- arrayrange = arange(...)
- arange(start, stop=None, step=1, typecode=None)
Just like range() except it returns an array whose type can be
specified by the keyword argument typecode.
- choose(...)
- choose(a, (b1,b2,...))
- cross_correlate(...)
- cross_correlate(a,v, mode=0)
- ct0()
- ct0() - rainbow color map
- ct1()
- ct1() - rainbow + white color map
- ct2()
- ct1() - rainbow + black color map
- fromstring(...)
- fromstring(string, typecode='l', count=-1) returns a new 1d array initialized from
-
the new binary data in string. If count is positive, the new array will have
-
count elements, otherwise it's size is determined by the size of string.
- message(root, text=None, nm=None, title=None)
- message(root,text=None,nm=None) - display message info
title - specify message window title
text - specify message infomation
nm - specify function name where error occurs
- minmax(y)
- minmax(y) - return minimum, maximum of 2D array y
- parsefloat(ll)
- parsefloat(ll) - parse string ll and return a float list
- parseint(ll)
- parseint(ll) - parse string ll and return a int list
- printPicture(fn, ptr='', size=None)
- printPicture(fn,ptr='',size=None) - send PNG or JPEF picture file to pilprint.py
ptr - specify desired printer to override the default printer
size - (W,H) specifies the resize width and height of new print image
- reshape(...)
- reshape(a, (d1, d2, ..., dn)). Change the shape of a to be an n-dimensions array
-
with dimensions given by d1...dn. Note: the size specified to new array must be
-
exactly equal to the size of the old one.
- searchsorted = binarysearch(...)
- binarysearch(a,v)
- take(...)
- take(a, indices, axis=0). Selects the elements in indices from array a along the given axis.
- zeros(...)
- zeros((d1,...,dn),typecode='l',savespace=0) will return a new array
-
of shape (d1,...,dn) and type typecode with all it's entries initialized
-
to zero. If savespace is nonzero the array will be a spacesaver array.
|