lair.air.sector_radians#

lair.air.sector_radians()[source]#

Radian values of the 16 direction sectors (radian_bin of bin_polar()).

Returns:

np.ndarray – N, NNE, …, NNW in radians clockwise from N.

Return type:

ndarray

See also

WIND_SECTORS

The same sectors in degrees.

bin_polar

Puts each wind in one of them.

Examples

>>> from lair.air import sector_radians
>>> sector_radians().round(3)[:4]
array([0.   , 0.393, 0.785, 1.178])