smash.SampleResult.to_numpy#
- SampleResult.to_numpy(axis=0)[source]#
Convert the
SampleResultobject to a numpy.ndarray.The attribute arrays are stacked along a user-specified axis of the resulting array.
- Parameters:
- axisint, default 0
The axis along which the generated samples of each Model parameter/state will be joined.
- Returns:
- resnumpy.ndarray
The
SampleResultobject as a numpy.ndarray.