cf.FieldList.shape

FieldList.shape

The shape attribute for each field.

fl.shape is equivalent to cf.List(f.shape for f in fl).

See cf.Field.shape for details.

Returns :
out : cf.List of tuples

The data array shape for each field.

Examples

>>> fl.ndim
[2, 0, 4]
>>> fl.shape
[(73, 96), (), (12, 19, 96, 73)]

Previous topic

cf.FieldList.subspace

Next topic

cf.FieldList.size

This Page