|
|
|
|
|
|
|
|
|
|
|
shuffleArray(inArray,
shuffleAxis=-1,
seed=None)
Takes a (flat) num array, list or string and returns a shuffled
version as a num array with the same shape. |
source code
|
|
|
|
extendArr(inArray,
newSize)
Takes a numpy array and returns it padded with zeros to the necessary size |
source code
|
|
|
|
ratioRange(start,
nSteps=None,
stop=None,
stepRatio=None,
stepdB=None,
stepLogUnits=None)
Creates a array where each step is a constant ratio
rather than a constant addition. |
source code
|
|
|
|
|
|
|
|
|
|
array2image(a)
Takes an array and returns an image object (PIL) |
source code
|
|
|
|
float_uint8(inarray)
Converts arrays, lists, tuples and floats ranging -1:1
into an array of Uint8s ranging 0:255 |
source code
|
|
|
|
uint8_float(inarray)
Converts arrays, lists, tuples and UINTs ranging 0:255
into an array of floats ranging -1:1 |
source code
|
|
|
|
float_uint16(inarray)
Converts arrays, lists, tuples and floats ranging -1:1
into an array of Uint16s ranging 0:2^16 |
source code
|
|
|
|
|
|
|
pix2deg(pixels,
monitor)
Convert size in pixels to size in degrees for a given Monitor object |
source code
|
|
|
|
deg2pix(degrees,
monitor)
Convert size in degrees to size in pixels for a given Monitor object |
source code
|
|
|
|
deg2cm(degrees,
monitor)
Convert size in degrees to size in pixels for a given Monitor object |
source code
|
|
|
|
cm2deg(cm,
monitor)
Convert size in cm to size in degrees for a given Monitor object |
source code
|
|
|
|
pix2cm(pixels,
monitor)
Convert size in pixels to size in cm for a given Monitor object |
source code
|
|
|
|
cm2pix(cm,
monitor)
Convert size in degrees to size in pixels for a given Monitor object |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|