simetrix.VectorData¶
- class simetrix.VectorData¶
Bases:
objectBasic object to access
GroupVectordata. Vector objects store x or y data for a single division.Supports iteration, indexing and the len() function.
Examples
Iteration example:
# div in the following line is a Vector object. value is a scalar float or complex div = vector.x[4] for value in div: print(value)
Indexing example:
# div in the following line is a Vector object. value is a scalar float or complex div = vector.x[4] value = div[2]
Alternatively:
# value is a scalar float or complex value = vector.x[4][2]
Methods
- name() str¶
Name of vector.
- physicalType() PhysicalType¶
Physical type of vector.
- type() SimetrixDataType¶
Data type of vector.