cf.FieldList.unsqueeze

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

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

fl.unsqueeze(....) is equivalent to cf.FieldList(f.unsqueeze(....) for f in fl).

See cf.Field.unsqueeze for details.

Parameters :
args, kwargs : optional

See cf.Field.unsqueeze.

Returns :

out : cf.FieldList

Previous topic

cf.FieldList.transpose

Next topic

cf.FieldList.append

This Page