cf.Field.arctan

Field.arctan(inplace=False)[source]

Take the trigonometric inverse tangent of the data element-wise.

Units are ignored in the calculation. The result has units of radians.

The “standard_name” and “long_name” properties are removed from the result.

New in version 3.0.7.

See also

tan

Parameters
inplace: bool, optional

If True then do the operation in-place and return None.

Returns

The construct with the trigonometric inverse tangent of data values. If the operation was in-place then None is returned.

Examples:

>>> print(f.array)
[[0  1 2]
 [3 -- 5]]
>>> g = f.arctan()
>>> g
<CF Data(2, 3): [[0.0, ..., 1.373400766945016]] radians>
>>> print(g.array)
[[0.0                0.7853981633974483 1.1071487177940904]
 [1.2490457723982544                 -- 1.373400766945016 ]]