Convert from clockwise-from-north and up-from-horizontal to mathematical conventions.
(azimuth, elevation)
| 1184 | |
| 1185 | |
| 1186 | def _azimuth2math(azimuth, elevation): |
| 1187 | """ |
| 1188 | Convert from clockwise-from-north and up-from-horizontal to mathematical |
| 1189 | conventions. |
| 1190 | """ |
| 1191 | theta = np.radians((90 - azimuth) % 360) |
| 1192 | phi = np.radians(90 - elevation) |
| 1193 | return theta, phi |
| 1194 | |
| 1195 | |
| 1196 | def test_pandas_iterable(pd): |
no outgoing calls
no test coverage detected
searching dependent graphs…