Module: vemomoto_core.npcollections.npextc#

Created on 05.07.2016

@author: Samuel

Classes:

FlexibleArray

classdocs

FlexibleArrayDict

FlexibleArrayDictColumnView

FlexibleArrayIterator(flexibleArray)

Functions:

add_alias

Adds an alias to the field with the name original to the array arr.

add_names

Adds a name to the data of an unstructured array.

fields_view

find_next_nonzero2d

get_chunks

get_common_element2d

pointer_prod

pointer_sum

pointer_sum3D

pointer_sum3DX

pointer_sum3DY

pointer_sum_chosen

pointer_sum_chosen_rows

pointer_sum_chosen_rows_fact

pointer_sum_row_prod

remove_fields

a must be a numpy structured array.

unique_tol

class FlexibleArray#

Bases: object

classdocs

Methods:

add

add_by_keywords

add_fields

add_tuple

cut

exists

expand

extend

get_array

get_array_indices

is_contiguous

make_contiguous

new

remove_fields

setitem

setitem_by_keywords

setitem_flexible

Attributes:

array

changeIndex

considered

isRecArray

isStructured

shape

size

space

add()#
add_by_keywords()#
add_fields()#
add_tuple()#
array#
changeIndex#
considered#
cut()#
exists()#
expand()#
extend()#
get_array()#
get_array_indices()#
isRecArray#
isStructured#
is_contiguous()#
make_contiguous()#
static new()#
remove_fields()#
setitem()#
setitem_by_keywords()#
setitem_flexible()#
shape#
size#
space#
class FlexibleArrayDict#

Bases: vemomoto_core.npcollections.npextc.FlexibleArray

Methods:

exists

extend

get

getColumnView

new

setitem

setitem_by_keywords

setitem_flexible

Attributes:

indexDict

exists()#
extend()#
get()#
getColumnView()#
indexDict#
static new()#
setitem()#
setitem_by_keywords()#
setitem_flexible()#
class FlexibleArrayDictColumnView#

Bases: vemomoto_core.npcollections.npextc.FlexibleArrayDict

Methods:

new(flexibleArray, column)

static new(flexibleArray, column)#
class FlexibleArrayIterator(flexibleArray)#

Bases: object

add_alias()#

Adds an alias to the field with the name original to the array arr. Only one alias per field is allowed.

add_names()#

Adds a name to the data of an unstructured array.

fields_view()#
find_next_nonzero2d()#
get_chunks()#
get_common_element2d()#
pointer_prod()#
pointer_sum()#
pointer_sum3D()#
pointer_sum3DX()#
pointer_sum3DY()#
pointer_sum_chosen()#
pointer_sum_chosen_rows()#
pointer_sum_chosen_rows_fact()#
pointer_sum_row_prod()#
remove_fields()#

a must be a numpy structured array. names is the collection of field names to remove.

Returns a view of the array a (not a copy).

unique_tol()#