Create a plane whose normal vector is at an angle from the given azimuth and elevation.
(azimuth, elevation, angle, x, y)
| 1149 | return z |
| 1150 | |
| 1151 | def angled_plane(azimuth, elevation, angle, x, y): |
| 1152 | """ |
| 1153 | Create a plane whose normal vector is at an angle from the given |
| 1154 | azimuth and elevation. |
| 1155 | """ |
| 1156 | elevation = elevation + angle |
| 1157 | if elevation > 90: |
| 1158 | azimuth = (azimuth + 180) % 360 |
| 1159 | elevation = (90 - elevation) % 90 |
| 1160 | return plane(azimuth, elevation, x, y) |
| 1161 | |
| 1162 | y, x = np.mgrid[5:0:-1, :5] |
| 1163 | for az, elev in itertools.product(range(0, 390, 30), range(0, 105, 15)): |
no test coverage detected
searching dependent graphs…