eelbrain.NDVar.get_data
- NDVar.get_data(dims=None, mask=None)
Retrieve the NDVar’s data with a specific axes order.
- Parameters
dims (
Union
[str
,Sequence
[str
],None
]) – Sequence of dimension names (or single dimension name). The array that is returned will have axes in this order. To insert a new axis with size 1 usenumpy.newaxis
/None
. The default is the order of dimensions in the NDVar.mask (
Optional
[float
]) – If data is a masked array, set masked values tomask
.
- Returns
A reference to, view on or copy of the data (conservative memory usage).
- Return type
data