summaryrefslogtreecommitdiff
path: root/src/demo_ra.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/demo_ra.py')
-rw-r--r--src/demo_ra.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/demo_ra.py b/src/demo_ra.py
new file mode 100644
index 0000000..3bab2dc
--- /dev/null
+++ b/src/demo_ra.py
@@ -0,0 +1,13 @@
+import numpy as np
+import matplotlib.pyplot as plt
+import crl, crl.tables, crl.data
+from shared import *
+
+spec = crl.data.load("lab/2 grudnia/E27/LED OSSO/Z korekcją.txt")
+spec = crl.Spectrum(spec[:, 0], spec[:, 1])
+
+plot_setup()
+plot_grid(minor=False)
+res = crl.cri_Ra(spec)
+plot_Ra(res)
+plot_export()