cf.Domain.insert_axis

Domain.insert_axis(size, key=None, replace=True)[source]

Insert an axis into the domain in place.

This method has exactly the same interface, functionality and outputs as cf.Field.insert_axis. Therefore see cf.Field.insert_axis for the full documentation details.

Parameters :
size : int

See cf.Field.insert_axis.

key : str, optional

See cf.Field.insert_axis.

replace : bool, optional

See cf.Field.insert_axis.

Returns :
out :

The domain identifier of the new axis.

Examples

See cf.Field.insert_axis.

Previous topic

cf.Domain.insert_aux

Next topic

cf.Domain.insert_cm

This Page