cf.FieldList.squeeze

FieldList.squeeze(*args, **kwargs)[source]

Remove size 1 axes from the data array of each field in place.

fl.squeeze(*args, **kwargs) is equivalent to for f in fl: f.squeeze(*args, **kwargs).

See cf.Field.squeeze for details.

Parameters :
args, kwargs : optional

See cf.Field.squeeze.

Returns :

None

Previous topic

cf.FieldList.sin

Next topic

cf.FieldList.subspace

This Page