cf.CellMeasure.expand_dims

CellMeasure.expand_dims(axis, dim, direction)[source]
Parameters :
axis : int

Position (amongst axes) where new axis is to be inserted. By default, insert at position 0.

dim : str

direction : bool

Returns :

None

Raises :
ValueError :

If the given dimension identity is already in use.

Examples

>>> v.expand_dims(0, None, False)

Previous topic

cf.CellMeasure.equals

Next topic

cf.CellMeasure.flip

This Page