cf.FieldList.tan

FieldList.tan(i=False)[source]

Take the trigonometric tangent of the data array.

Units are accounted for in the calculation, so that the the tangent of 180 degrees_east is 0.0, as is the sine of 3.141592653589793 radians. If the units are not equivalent to radians (such as Kelvin) then they are treated as if they were radians.

The Units are changed to ‘1’ (nondimensionsal).

Parameters:
i : bool, optional

If True then update the field list in place. By default a new field list is created. In either case, a field list is returned.

Returns:
out : cf.FieldList

For each field, the field list with the tangent of data array values.

Examples:

Previous topic

cf.FieldList.sin

Next topic

cf.FieldList.exp

This Page