aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-01-11 23:27:37 +0100
committerAdrian Kummerlaender2020-01-11 23:27:37 +0100
commit6baf0efe03f30e8d2baa9e9cf64eb919864a1081 (patch)
treec49c43d507c594c7a4e56326b3fc6bb8ec285335
parent0ff3c30621589f9e6d1d05d146adf5952382db34 (diff)
downloadfirmament-6baf0efe03f30e8d2baa9e9cf64eb919864a1081.tar
firmament-6baf0efe03f30e8d2baa9e9cf64eb919864a1081.tar.gz
firmament-6baf0efe03f30e8d2baa9e9cf64eb919864a1081.tar.bz2
firmament-6baf0efe03f30e8d2baa9e9cf64eb919864a1081.tar.lz
firmament-6baf0efe03f30e8d2baa9e9cf64eb919864a1081.tar.xz
firmament-6baf0efe03f30e8d2baa9e9cf64eb919864a1081.tar.zst
firmament-6baf0efe03f30e8d2baa9e9cf64eb919864a1081.zip
Add time to fancy plot output
-rw-r--r--fancy_local_sunrise.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/fancy_local_sunrise.py b/fancy_local_sunrise.py
index f9247c0..39cb292 100644
--- a/fancy_local_sunrise.py
+++ b/fancy_local_sunrise.py
@@ -19,7 +19,7 @@ config = {
'ray_samples' : 16,
'light_samples': 8,
- 'exposure': 2.0,
+ 'exposure': 3.0,
'zoom': 1.0, # only for pinhole view
'eye_pos': np.array([0, 0, 1.0001]),
@@ -33,7 +33,7 @@ config = {
'longitude': 8.40444
}
-time_range = (6, 20, 0.5)
+time_range = (6, 20, 1)
cl_platform = cl.get_platforms()[0]
cl_context = cl.Context(properties=[(cl.context_properties.PLATFORM, cl_platform)])
@@ -72,6 +72,7 @@ for time in np.arange(*time_range):
ax_image = fig.add_axes([0.0, 0.0, 1.0, 1.0], label='Sky')
ax_image.imshow(np_picture, origin='lower')
ax_image.axis('off')
+ ax_image.text(-50, -50, pit)
ax_polar = fig.add_axes([0.0, 0.0, 1.0, 1.0], projection='polar', label='Overlay')
ax_polar.patch.set_alpha(0)