diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-02-16 11:14:09 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-02-16 11:18:55 +0100 |
commit | 87eb67408f9230315494a8cf66fe264196a04ad0 (patch) | |
tree | 63ee9d8b92b7cffaa38d83b4222ffd1e391eb75b /src/demo_ra.py |
Diffstat (limited to 'src/demo_ra.py')
-rw-r--r-- | src/demo_ra.py | 13 |
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() |