cf.FieldAncillary.arctan¶

FieldAncillary.
arctan
(*args, **kwargs)[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
 Parameters
 Returns
FieldAncillary
orNone
The construct with the trigonometric inverse tangent of data values. If the operation was inplace then
None
is returned.
Examples:
>>> print(f.array) [[0.5 0.7] [0.9 1.1]] >>> g = f.arctan() >>> g.Units <Units: radians> >>> print(g.array) [[0.46364761 0.61072596] [0.7328151 0.83298127]]
>>> print(f.array) [1.2 1.0 0.8 0.6 ] >>> f.arctan(inplace=True) >>> print(f.array) [0.8760580505981934 0.7853981633974483 0.6747409422235527 0.5404195002705842 ]