cf.FieldList.cos

FieldList.cos(i=False)[source]

Take the trigonometric cosine of the data array for each field.

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

See cf.Field.cos for details.

Parameters :
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.copy

Next topic

cf.FieldList.cyclic

This Page