read

ansXpl.read(recordname)

Read a given record and fill a Python array.

Returns
numpy.ndarray

The array of values.

Examples

>>> vec = xpl.read('MASS')
>>> vec.asarray()
array([ 4,  7, 10, 13, 16, 19, 22, 25, 28, 31, 34, 37, 40, 43,
       46, 49, 52, 55, 58,  1], dtype=int32)