kwave.data module#
- class FlexibleVector[source]#
Bases:
object- This class is very similar to Numpy.ndarray but there are differences:
It can have 3 elements at max
Its elements can be anything
- The elements do not have to be same type,
e.g. this is valid: Array([<scalar>, <List>, <Tuple of Tuples>])
WARNING: The class will be deprecated once we refactor the kWaveGrid class to use the Vector class instead!
- __init__(data)#
- Parameters:
data (list) –
- Return type:
None
- data: list#
- property x#
- property y#
- property z#
3rd dimension element. 0 if not defined
- Type:
return