cf.FieldList.setdata

FieldList.setdata(x, y, *arg, **kwargs)[source]

Set data array elements depending on a condition.

fl.setdata() is equivalent to for f in fl: f.setdata().

See cf.Field.setdata for details.

Parameters :
x, y :

Specify the assignment values. See cf.Field.setdata for details.

arg : optional

Define the condition which determines how to set the field data arrays. See cf.Field.setdata for details.

kwargs : optional

Define the condition which determines how to set the field data arrays by tests on the fields one dimensional coordinate values. See cf.Field.setdata for details.

Returns :

None

Previous topic

cf.FieldList.setattr

Next topic

cf.FieldList.setprop

This Page