cf.FieldList.squeeze

FieldList.squeeze(axes=None, i=False, **kwargs)[source]

Insert size 1 axes into the data array of each field.

Parameters :
axes, kwargs : optional

Select the axes to be squeezed. See cf.Field.squeeze.

i : bool, optional

If True then update the field list and its fields in place. By default a new field list containing new fields is created.

Returns :

out : cf.FieldList

Previous topic

cf.FieldList.sin

Next topic

cf.FieldList.subspace

This Page