cf.Data.sinh¶

Data.
sinh
(inplace=False)[source]¶ Take the hyperbolic sine of the data elementwise.
Units are accounted for in the calculation. If the units are not equivalent to radians (such as Kelvin) then they are treated as if they were radians. For example, the the hyperbolic sine of 90 degrees_north is 2.30129890, as is the hyperbolic sine of 1.57079632 radians.
The output units are changed to ‘1’ (nondimensional).
New in version 3.1.0.
 Parameters
 Returns
Examples
>>> d.Units <Units: degrees_north> >>> print(d.array) [[90 0 90 ]] >>> e = d.sinh() >>> e.Units <Units: 1> >>> print(e.array) [[2.3012989023072947 0.0 2.3012989023072947 ]]
>>> d.Units <Units: m s1> >>> print(d.array) [[1 2 3 ]] >>> d.sinh(inplace=True) >>> d.Units <Units: 1> >>> print(d.array) [[1.1752011936438014 3.626860407847019 10.017874927409903 ]]