Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monte Carlo module addition + PHO network #13

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
GJ1214_b/*
output/*
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@ VULCAN requires the following python packages:
- matplotlib
- PIL/Pillow (optional: for interactive plotting)
and the embeded [FastChem](https://github.com/exoclime/FastChem) requires a standard C++ compiler, like g++ or Clang.
- numba (optional: for Monte Carlo RT module)

If any of the python packages are missing, you can install the full SciPy Stack via Pip, e.g.
```bash
@@ -87,6 +88,7 @@ for a weaker vertical mixing (K<sub>zz</sub>) and carbon rich (C/O=1) run. Set u
│ ├── op.py
│ ├── phy_const.py
│ ├── store.py
│ ├── gCMCRT.py
│ ├── vulcan.py
│ ├── vulcan_cfg.py
```
@@ -104,7 +106,8 @@ for a weaker vertical mixing (K<sub>zz</sub>) and carbon rich (C/O=1) run. Set u
`NCHO_photo_netowrk.txt`: the default N-C-H-O photochemical kinetics network
`op.py`: all the modules for the numerical operations, e.g. computing reaction rates, ODE solvers etc.
`make_chem_funs.py`: the routine that runs first to produce the required `chem_funs.py` based on the assigned chemical network
`phy_const.py`: physical constants
`phy_const.py`: physical constants
`gCMCRT.py`: 1D Monte Carlo radiative-transfer module
`store.py`: modules to store all the variables
`vulcan.py`: the top-level main script of VULCAN
`vulcan_cfg.py`: the configuration file for VULCAN
@@ -157,6 +160,11 @@ will read vulcan output (.vul files) can plot the species profiles. Species shou
The script of ```plot_vulcan.py``` should also serve as a good example of how to access to output files. The first step is to use "pickle.load" to unpack the binary files. The main variables are stored in three basic classes: data['variable'], data['atm'], and data['parameter'].
You can also find all the names of variables and the class structure in ```store.py```.

### Using the Monte Carlo radiative-transfer (MCRT) module ###
To enable the MCRT module edit the use_gCMCRT variable to True in vulcan_cfg.py. The number of photon packets is given by the variable Nph in the same file.
The MCRT will run slow at first past as it compiles and caches, but then will run a lot faster. We suggest lowering the number of packets if runtimes are too slow, but no smaller than 1000 packets. Alternativly, lower the number of wavelength bins for the photochemistry.
We include timing output of the MCRT module step to aid this determination.

### Troubleshooting ###
- `xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun`

Binary file added __pycache__/build_atm.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/chem_funs.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/gCMCRT.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/gCMCRT.gCMCRT_main-272.py310.1.nbc
Binary file not shown.
Binary file added __pycache__/gCMCRT.gCMCRT_main-272.py310.nbi
Binary file not shown.
Binary file added __pycache__/gCMCRT.inc_stellar-120.py310.1.nbc
Binary file not shown.
Binary file added __pycache__/gCMCRT.inc_stellar-120.py310.nbi
Binary file not shown.
Binary file added __pycache__/gCMCRT.scatter-131.py310.1.nbc
Binary file not shown.
Binary file added __pycache__/gCMCRT.scatter-131.py310.nbi
Binary file not shown.
Binary file not shown.
Binary file added __pycache__/gCMCRT.scatter_surf-261.py310.nbi
Binary file not shown.
Binary file added __pycache__/gCMCRT.tauint_1D_pp-54.py310.1.nbc
Binary file not shown.
Binary file added __pycache__/gCMCRT.tauint_1D_pp-54.py310.2.nbc
Binary file not shown.
Binary file added __pycache__/gCMCRT.tauint_1D_pp-54.py310.nbi
Binary file not shown.
Binary file added __pycache__/mie.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/op.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/phy_const.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/store.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/vulcan_cfg.cpython-310.pyc
Binary file not shown.
118 changes: 118 additions & 0 deletions atm/atm_GJ1214b_Kzz.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
#(dyne/cm2) (K) (cm2/s)
Pressure Temp Kzz
896151000.0 1258.19 270418.62518778135
719686000.0 1214.18 301755.83042297367
577969000.0 1179.72 336724.6613278543
464159000.0 1154.42 375745.5184963396
372759000.0 1135.97 419288.6712632056
299358000.0 1122.3 467877.07161151076
240410000.0 1112.59 522096.68192223064
193070000.0 1105.98 582599.0861696698
155052000.0 1101.44 650112.4919445151
124520000.0 1098.49 725450.2611340531
100000000.0 1096.84 809519.2813847678
80308600.0 1095.92 903329.4514514874
64494700.0 1095.26 1008010.7968839619
51794700.0 1094.79 1124823.9021855702
41595600.0 1094.46 1255172.7462258216
33404800.0 1094.23 1400627.8559314867
26827000.0 1094.06 1562935.8132243967
21544300.0 1093.94 1744058.320403745
17302000.0 1093.85 1946162.2468942143
13895000.0 1093.79 2171690.4513717936
11158800.0 1093.75 2423362.8756560283
8961510.0 1093.72 2704186.251877813
7196860.0 1093.69 3017558.3042297373
5779690.0 1093.68 3367246.613278543
4641590.0 1093.66 3757455.1849633963
3727590.0 1093.63 4192886.7126320554
2993580.0 1093.43 4678770.716115107
2404100.0 1092.62 5220966.819222306
1930700.0 1090.38 5825990.861696697
1550520.0 1085.72 6501124.919445151
1245200.0 1077.63 7254502.611340532
1000000.0 1065.27 8095192.813847679
803086.0 1047.75 9033294.514514875
644947.0 1023.91 10080107.968839617
517947.0 993.02 11248239.021855703
415956.0 956.145 12551727.462258214
334048.0 915.988 14006278.559314867
268270.0 875.857 15629358.132243967
215443.0 838.701 17440583.20403745
173020.0 805.452 19461622.468942147
138950.0 775.858 21716904.513717934
111588.0 750.461 24233628.756560277
89615.1 729.133 27041862.518778134
71968.6 710.102 30175583.04229737
57796.9 693.34 33672466.13278543
46415.9 678.918 37574551.849633954
37275.9 666.26 41928867.12632056
29935.8 655.391 46787707.161151074
24041.0 646.555 52209668.19222306
19307.0 639.154 58259908.61696697
15505.2 632.522 65011249.1944515
12452.0 627.217 72545026.1134053
10000.0 623.304 80951928.13847679
8030.86 619.473 90332945.14514875
6449.47 616.11 100801079.68839617
5179.47 613.423 112482390.21855702
4159.56 611.153 125517274.62258212
3340.48 609.111 140062785.59314868
2682.7 607.555 156293581.3224397
2154.43 606.438 174405832.04037452
1730.2 605.179 194616224.68942145
1389.5 604.089 217169045.13717937
1115.88 603.265 242336287.56560278
896.151 602.356 270418625.1877813
719.686 601.221 301755830.4229737
577.969 600.14 336724661.32785434
464.159 599.055 375745518.49633956
372.759 597.823 419288671.26320565
299.358 596.504 467877071.6115107
240.41 595.079 522096681.9222306
193.07 593.436 582599086.1696696
155.052 591.557 650112491.9445151
124.52 589.537 725450261.1340531
100.0 587.409 809519281.3847679
80.3086 585.174 903329451.4514874
64.4947 582.978 1008010796.8839619
51.7947 580.848 1124823902.1855702
41.5956 578.767 1255172746.2258215
33.4048 576.686 1400627855.9314866
26.827 574.507 1562935813.2243967
21.5443 572.13 1744058320.403745
17.302 569.465 1946162246.8942142
13.895 566.5 2171690451.3717937
11.1588 563.245 2423362875.656028
8.96151 559.674 2704186251.8778133
7.19686 555.864 3017558304.2297363
5.77969 551.937 3367246613.278543
4.64159 547.976 3757455184.9633965
3.72759 544.164 4192886712.632056
2.99358 540.619 4678770716.115108
2.4041 537.335 5220966819.222305
1.9307 534.306 5825990861.696697
1.55052 531.511 6501124919.445151
1.2452 528.951 7254502611.34053
1.0 526.637 8095192813.847678
0.803086 524.583 9033294514.514875
0.644947 522.677 10080107968.839619
0.517947 520.932 11248239021.855701
0.415956 519.343 12551727462.258215
0.334048 517.911 14006278559.314867
0.26827 516.629 15629358132.243967
0.215443 515.487 17440583204.037453
0.17302 514.475 19461622468.942142
0.13895 513.582 21716904513.717937
0.111588 512.801 24233628756.56028
0.0896151 512.115 27041862518.77813
0.0719686 511.519 30175583042.29737
0.0577969 511.0 33672466132.78543
0.0464159 510.543 37574551849.63395
0.0372759 510.145 41928867126.320564
0.0299358 509.797 46787707161.15108
0.024041 509.495 52209668192.22305
0.019307 509.235 58259908616.966965
0.0155052 509.011 65011249194.451515
0.012452 508.818 72545026113.4053
0.01 508.66 80951928138.47678
118 changes: 118 additions & 0 deletions atm/atm_GJ1214b_Kzz_aer.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
#(dyne/cm2) (K) (cm2/s) (cm-3) (um) (cm2)
Pressure Temp Kzz nd rm sig2
896151000.0 1258.19 270418.62518778135 0.0 0.0 0.0
719686000.0 1214.18 301755.83042297367 0.0 0.0 0.0
577969000.0 1179.72 336724.6613278543 0.0 0.0 0.0
464159000.0 1154.42 375745.5184963396 0.0 0.0 0.0
372759000.0 1135.97 419288.6712632056 0.0 0.0 0.0
299358000.0 1122.3 467877.07161151076 0.0 0.0 0.0
240410000.0 1112.59 522096.68192223064 0.0 0.0 0.0
193070000.0 1105.98 582599.0861696698 0.0 0.0 0.0
155052000.0 1101.44 650112.4919445151 0.0 0.0 0.0
124520000.0 1098.49 725450.2611340531 0.0 0.0 0.0
100000000.0 1096.84 809519.2813847678 0.0 0.0 0.0
80308600.0 1095.92 903329.4514514874 0.0 0.0 0.0
64494700.0 1095.26 1008010.7968839619 0.0 0.0 0.0
51794700.0 1094.79 1124823.9021855702 0.0 0.0 0.0
41595600.0 1094.46 1255172.7462258216 0.0 0.0 0.0
33404800.0 1094.23 1400627.8559314867 0.0 0.0 0.0
26827000.0 1094.06 1562935.8132243967 0.0 0.0 0.0
21544300.0 1093.94 1744058.320403745 0.0 0.0 0.0
17302000.0 1093.85 1946162.2468942143 0.0 0.0 0.0
13895000.0 1093.79 2171690.4513717936 0.0 0.0 0.0
11158800.0 1093.75 2423362.8756560283 0.0 0.0 0.0
8961510.0 1093.72 2704186.251877813 0.0 0.0 0.0
7196860.0 1093.69 3017558.3042297373 0.0 0.0 0.0
5779690.0 1093.68 3367246.613278543 0.0 0.0 0.0
4641590.0 1093.66 3757455.1849633963 0.0 0.0 0.0
3727590.0 1093.63 4192886.7126320554 0.0 0.0 0.0
2993580.0 1093.43 4678770.716115107 0.0 0.0 0.0
2404100.0 1092.62 5220966.819222306 0.0 0.0 0.0
1930700.0 1090.38 5825990.861696697 0.0 0.0 0.0
1550520.0 1085.72 6501124.919445151 0.0 0.0 0.0
1245200.0 1077.63 7254502.611340532 0.0 0.0 0.0
1000000.0 1065.27 8095192.813847679 0.0 0.0 0.0
803086.0 1047.75 9033294.514514875 0.0 0.0 0.0
644947.0 1023.91 10080107.968839617 0.0 0.0 0.0
517947.0 993.02 11248239.021855703 0.0 0.0 0.0
415956.0 956.145 12551727.462258214 0.0 0.0 0.0
334048.0 915.988 14006278.559314867 0.0 0.0 0.0
268270.0 875.857 15629358.132243967 0.0 0.0 0.0
215443.0 838.701 17440583.20403745 0.0 0.0 0.0
173020.0 805.452 19461622.468942147 0.0 0.0 0.0
138950.0 775.858 21716904.513717934 0.0 0.0 0.0
111588.0 750.461 24233628.756560277 0.0 0.0 0.0
89615.1 729.133 27041862.518778134 1000000.0 1.0 1.0
71968.6 710.102 30175583.04229737 1000000.0 1.0 1.0
57796.9 693.34 33672466.13278543 1000000.0 1.0 1.0
46415.9 678.918 37574551.849633954 1000000.0 1.0 1.0
37275.9 666.26 41928867.12632056 1000000.0 1.0 1.0
29935.8 655.391 46787707.161151074 1000000.0 1.0 1.0
24041.0 646.555 52209668.19222306 1000000.0 1.0 1.0
19307.0 639.154 58259908.61696697 1000000.0 1.0 1.0
15505.2 632.522 65011249.1944515 1000000.0 1.0 1.0
12452.0 627.217 72545026.1134053 1000000.0 1.0 1.0
10000.0 623.304 80951928.13847679 1000000.0 1.0 1.0
8030.86 619.473 90332945.14514875 1000000.0 1.0 1.0
6449.47 616.11 100801079.68839617 1000000.0 1.0 1.0
5179.47 613.423 112482390.21855702 1000000.0 1.0 1.0
4159.56 611.153 125517274.62258212 1000000.0 1.0 1.0
3340.48 609.111 140062785.59314868 1000000.0 1.0 1.0
2682.7 607.555 156293581.3224397 1000000.0 1.0 1.0
2154.43 606.438 174405832.04037452 1000000.0 1.0 1.0
1730.2 605.179 194616224.68942145 1000000.0 1.0 1.0
1389.5 604.089 217169045.13717937 1000000.0 1.0 1.0
1115.88 603.265 242336287.56560278 1000000.0 1.0 1.0
896.151 602.356 270418625.1877813 1000000.0 1.0 1.0
719.686 601.221 301755830.4229737 1000000.0 1.0 1.0
577.969 600.14 336724661.32785434 1000000.0 1.0 1.0
464.159 599.055 375745518.49633956 1000000.0 1.0 1.0
372.759 597.823 419288671.26320565 1000000.0 1.0 1.0
299.358 596.504 467877071.6115107 1000000.0 1.0 1.0
240.41 595.079 522096681.9222306 1000000.0 1.0 1.0
193.07 593.436 582599086.1696696 1000000.0 1.0 1.0
155.052 591.557 650112491.9445151 1000000.0 1.0 1.0
124.52 589.537 725450261.1340531 1000000.0 1.0 1.0
100.0 587.409 809519281.3847679 1000000.0 1.0 1.0
80.3086 585.174 903329451.4514874 1000000.0 1.0 1.0
64.4947 582.978 1008010796.8839619 1000000.0 1.0 1.0
51.7947 580.848 1124823902.1855702 1000000.0 1.0 1.0
41.5956 578.767 1255172746.2258215 1000000.0 1.0 1.0
33.4048 576.686 1400627855.9314866 1000000.0 1.0 1.0
26.827 574.507 1562935813.2243967 1000000.0 1.0 1.0
21.5443 572.13 1744058320.403745 1000000.0 1.0 1.0
17.302 569.465 1946162246.8942142 1000000.0 1.0 1.0
13.895 566.5 2171690451.3717937 1000000.0 1.0 1.0
11.1588 563.245 2423362875.656028 1000000.0 1.0 1.0
8.96151 559.674 2704186251.8778133 1000000.0 1.0 1.0
7.19686 555.864 3017558304.2297363 1000000.0 1.0 1.0
5.77969 551.937 3367246613.278543 1000000.0 1.0 1.0
4.64159 547.976 3757455184.9633965 1000000.0 1.0 1.0
3.72759 544.164 4192886712.632056 1000000.0 1.0 1.0
2.99358 540.619 4678770716.115108 1000000.0 1.0 1.0
2.4041 537.335 5220966819.222305 1000000.0 1.0 1.0
1.9307 534.306 5825990861.696697 1000000.0 1.0 1.0
1.55052 531.511 6501124919.445151 1000000.0 1.0 1.0
1.2452 528.951 7254502611.34053 1000000.0 1.0 1.0
1.0 526.637 8095192813.847678 1000000.0 1.0 1.0
0.803086 524.583 9033294514.514875 1000000.0 1.0 1.0
0.644947 522.677 10080107968.839619 1000000.0 1.0 1.0
0.517947 520.932 11248239021.855701 1000000.0 1.0 1.0
0.415956 519.343 12551727462.258215 1000000.0 1.0 1.0
0.334048 517.911 14006278559.314867 1000000.0 1.0 1.0
0.26827 516.629 15629358132.243967 1000000.0 1.0 1.0
0.215443 515.487 17440583204.037453 1000000.0 1.0 1.0
0.17302 514.475 19461622468.942142 1000000.0 1.0 1.0
0.13895 513.582 21716904513.717937 1000000.0 1.0 1.0
0.111588 512.801 24233628756.56028 1000000.0 1.0 1.0
0.0896151 512.115 27041862518.77813 1000000.0 1.0 1.0
0.0719686 511.519 30175583042.29737 1000000.0 1.0 1.0
0.0577969 511.0 33672466132.78543 1000000.0 1.0 1.0
0.0464159 510.543 37574551849.63395 1000000.0 1.0 1.0
0.0372759 510.145 41928867126.320564 1000000.0 1.0 1.0
0.0299358 509.797 46787707161.15108 1000000.0 1.0 1.0
0.024041 509.495 52209668192.22305 1000000.0 1.0 1.0
0.019307 509.235 58259908616.966965 1000000.0 1.0 1.0
0.0155052 509.011 65011249194.451515 1000000.0 1.0 1.0
0.012452 508.818 72545026113.4053 1000000.0 1.0 1.0
0.01 508.66 80951928138.47678 1000000.0 1.0 1.0
39 changes: 39 additions & 0 deletions atm/make_atm_Kzz_cld.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import numpy as np

line_1 = '#(dyne/cm2) (K) (cm2/s) (cm-3) (um) (cm2)'
line_2 = 'Pressure Temp Kzz nd rm sig2'

fname = 'atm_GJ1214b_Kzz.txt'


data = np.loadtxt(fname,skiprows=2)

p = data[:,0]
T = data[:,1]
Kzz = data[:,2]

nz = len(p)

# Set up aerosol component

nd = np.zeros(nz)
rm = np.zeros(nz)
sig2 = np.zeros(nz)


for i in range(nz):
if (p[i]/1e6 < 1e-1):
nd[i] = 1e6
rm[i] = 1e0
sig2[i] = 1.0

fout = 'atm_GJ1214b_Kzz_aer.txt'
f = open(fout, 'w')

f.write(line_1 + '\n')
f.write(line_2 + '\n')
for i in range(nz):
f.write(str(p[i]) + ' ' + str(T[i]) + ' ' + str(Kzz[i]) + ' ' + str(nd[i]) + ' ' + str(rm[i]) + ' ' + str(sig2[i]) + '\n')



29 changes: 29 additions & 0 deletions build_atm.py
Original file line number Diff line number Diff line change
@@ -337,6 +337,9 @@ def load_TPK(self, data_atm):
if self.Kzz_prof == 'file':
atm_table = np.genfromtxt(vulcan_cfg.atm_file, names=True, dtype=None, skip_header=1)
p_file, T_file, Kzz_file = atm_table['Pressure'], atm_table['Temp'], atm_table['Kzz']

if (vulcan_cfg.use_aer == True):
nd_file, rm_file, sig2_file = atm_table['nd'], atm_table['rm'], atm_table['sig2']

else:
atm_table = np.genfromtxt(vulcan_cfg.atm_file, names=True, dtype=None, skip_header=1)
@@ -370,6 +373,32 @@ def load_TPK(self, data_atm):

elif self.Kzz_prof == 'const': data_atm.Kzz = np.repeat(self.const_Kzz,nz-1)

if (vulcan_cfg.use_aer == True):
PTK_fun['pnd'] = interpolate.interp1d(p_file, nd_file, assume_sorted = False, bounds_error=False, fill_value=(nd_file[np.argmin(p_file)], nd_file[np.argmax(p_file)]) )
# store aerosol data in data_atm
try:
data_atm.nd = PTK_fun['pnd'](data_atm.pco)
# for SciPy earlier than v0.18.0
except ValueError:
PTK_fun['pnd'] = interpolate.interp1d(p_file, nd_file, assume_sorted = False, bounds_error=False, fill_value=nd_file[np.argmin(p_file)] )
data_atm.nd = PTK_fun['pnd'](data_atm.pco)
PTK_fun['prm'] = interpolate.interp1d(p_file, rm_file, assume_sorted = False, bounds_error=False, fill_value=(rm_file[np.argmin(p_file)], rm_file[np.argmax(p_file)]) )
# store aerosol data in data_atm
try:
data_atm.rm = PTK_fun['prm'](data_atm.pco)
# for SciPy earlier than v0.18.0
except ValueError:
PTK_fun['prm'] = interpolate.interp1d(p_file, rm_file, assume_sorted = False, bounds_error=False, fill_value=rm_file[np.argmin(p_file)] )
data_atm.rm = PTK_fun['prm'](data_atm.pco)
PTK_fun['psig2'] = interpolate.interp1d(p_file, sig2_file, assume_sorted = False, bounds_error=False, fill_value=(sig2_file[np.argmin(p_file)], sig2_file[np.argmax(p_file)]) )
# store aerosol data in data_atm
try:
data_atm.sig2 = PTK_fun['psig2'](data_atm.pco)
# for SciPy earlier than v0.18.0
except ValueError:
PTK_fun['psig2'] = interpolate.interp1d(p_file, sig2_file, assume_sorted = False, bounds_error=False, fill_value=sig2_file[np.argmin(p_file)] )
data_atm.sig2 = PTK_fun['psig2'](data_atm.pco)

elif self.type == 'vulcan_ini':
print ("Initializing PT from the prvious run " + vulcan_cfg.vul_ini)
with open(vulcan_cfg.vul_ini, 'rb') as handle:
8,786 changes: 5,050 additions & 3,736 deletions chem_funs.py

Large diffs are not rendered by default.

Binary file added fastchem_vulcan/fastchem
Binary file not shown.
32 changes: 16 additions & 16 deletions fastchem_vulcan/input/element_abundances_vulcan.dat
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#The solar chemical composition K.Lodders 2009:
C 8.4434
C 8.4600
H 12.00
He 10.9864
N 7.9130
O 8.6819
P 5.5058
S 7.12
Si 7.5867
Ti 4.9794
V 4.0437
Cl 5.3002
K 5.1619
Na 6.3479
Mg 7.5995
F 4.49196
Ca 6.3677
Fe 7.5151
He 10.9864
N 7.8300
O 8.6900
P 5.5058
S 7.1200
Si 7.5867
Ti 4.9794
V 4.0437
Cl 5.3002
K 5.1619
Na 6.3479
Mg 7.5995
F 4.4920
Ca 6.3677
Fe 7.5151
e- 0
90 changes: 84 additions & 6 deletions fastchem_vulcan/input/nasa9_logK_SNCHOTi.dat

Large diffs are not rendered by default.

270 changes: 150 additions & 120 deletions fastchem_vulcan/input/vulcan_TP/vulcan_TP.dat
Original file line number Diff line number Diff line change
@@ -1,121 +1,151 @@
#p (bar) T (K)
1.000e+03 2286.5
8.083e+02 2167.0
6.533e+02 2052.2
5.281e+02 1942.1
4.268e+02 1839.5
3.450e+02 1754.2
2.789e+02 1692.7
2.254e+02 1636.7
1.822e+02 1586.0
1.473e+02 1561.8
1.190e+02 1554.0
9.620e+01 1542.1
7.776e+01 1531.6
6.285e+01 1525.8
5.080e+01 1518.9
4.106e+01 1517.8
3.319e+01 1524.8
2.683e+01 1526.9
2.168e+01 1527.9
1.753e+01 1543.6
1.417e+01 1564.0
1.145e+01 1575.5
9.255e+00 1577.2
7.481e+00 1574.2
6.047e+00 1573.0
4.887e+00 1570.7
3.950e+00 1564.9
3.193e+00 1555.0
2.581e+00 1543.3
2.086e+00 1528.5
1.686e+00 1511.9
1.363e+00 1494.9
1.102e+00 1477.0
8.904e-01 1458.9
7.197e-01 1440.4
5.817e-01 1419.2
4.702e-01 1396.4
3.800e-01 1372.5
3.072e-01 1348.1
2.483e-01 1322.7
2.007e-01 1297.3
1.622e-01 1271.8
1.311e-01 1246.3
1.060e-01 1221.2
8.566e-02 1198.3
6.924e-02 1177.1
5.596e-02 1157.3
4.523e-02 1140.2
3.656e-02 1127.3
2.955e-02 1116.7
2.389e-02 1107.0
1.931e-02 1096.9
1.561e-02 1086.5
1.261e-02 1076.4
1.020e-02 1066.9
8.241e-03 1059.2
6.661e-03 1053.0
5.384e-03 1048.1
4.352e-03 1044.3
3.517e-03 1041.7
2.843e-03 1039.6
2.298e-03 1037.7
1.857e-03 1035.0
1.501e-03 1032.5
1.213e-03 1030.1
9.808e-04 1027.4
7.928e-04 1024.8
6.408e-04 1022.4
5.179e-04 1019.7
4.186e-04 1016.8
3.384e-04 1013.0
2.735e-04 1007.6
2.211e-04 1002.0
1.787e-04 995.0
1.444e-04 987.9
1.167e-04 981.3
9.436e-05 972.9
7.627e-05 964.5
6.165e-05 955.9
4.983e-05 946.0
4.028e-05 936.7
3.255e-05 927.1
2.631e-05 917.7
2.127e-05 909.3
1.719e-05 900.6
1.389e-05 892.8
1.123e-05 885.9
9.078e-06 879.7
7.337e-06 874.6
5.931e-06 870.2
4.794e-06 866.8
3.875e-06 864.2
3.132e-06 862.3
2.531e-06 861.1
2.046e-06 860.5
1.654e-06 860.6
1.337e-06 861.4
1.080e-06 862.7
8.733e-07 864.6
7.059e-07 867.3
5.706e-07 870.4
4.612e-07 874.2
3.728e-07 879.9
3.013e-07 886.8
2.435e-07 894.8
1.968e-07 906.5
1.591e-07 922.2
1.286e-07 941.6
1.039e-07 965.5
8.402e-08 1003.8
6.791e-08 1054.7
5.489e-08 1121.4
4.437e-08 1216.7
3.586e-08 1389.0
2.899e-08 1689.7
2.343e-08 2339.5
1.894e-08 3484.2
1.531e-08 4734.2
1.237e-08 5744.6
1.000e-08 6000.0
1.000e+02 1096.8
8.437e+01 1096.1
7.118e+01 1095.5
6.005e+01 1095.1
5.066e+01 1094.8
4.274e+01 1094.5
3.606e+01 1094.3
3.042e+01 1094.2
2.567e+01 1094.0
2.166e+01 1093.9
1.827e+01 1093.9
1.541e+01 1093.8
1.300e+01 1093.8
1.097e+01 1093.7
9.256e+00 1093.7
7.809e+00 1093.7
6.589e+00 1093.7
5.559e+00 1093.7
4.690e+00 1093.7
3.957e+00 1093.6
3.338e+00 1093.5
2.816e+00 1093.2
2.376e+00 1092.5
2.005e+00 1090.7
1.691e+00 1087.4
1.427e+00 1082.4
1.204e+00 1075.5
1.016e+00 1066.1
8.568e-01 1052.5
7.229e-01 1035.7
6.099e-01 1015.4
5.145e-01 991.8
4.341e-01 962.7
3.662e-01 931.8
3.090e-01 900.7
2.607e-01 870.5
2.199e-01 841.9
1.855e-01 815.3
1.565e-01 791.1
1.321e-01 769.5
1.114e-01 750.3
9.401e-02 733.4
7.931e-02 718.0
6.691e-02 704.1
5.645e-02 691.6
4.763e-02 680.5
4.018e-02 670.3
3.390e-02 661.3
2.860e-02 653.4
2.413e-02 646.7
2.036e-02 640.8
1.718e-02 635.4
1.449e-02 630.8
1.222e-02 626.9
1.031e-02 623.8
8.702e-03 620.8
7.341e-03 618.0
6.194e-03 615.6
5.225e-03 613.5
4.409e-03 611.7
3.719e-03 610.1
3.138e-03 608.6
2.647e-03 607.5
2.234e-03 606.6
1.884e-03 605.6
1.590e-03 604.7
1.341e-03 603.9
1.132e-03 603.3
9.547e-04 602.6
8.055e-04 601.8
6.795e-04 600.9
5.733e-04 600.1
4.837e-04 599.2
4.081e-04 598.3
3.443e-04 597.3
2.905e-04 596.3
2.451e-04 595.2
2.067e-04 593.9
1.744e-04 592.5
1.472e-04 591.0
1.242e-04 589.5
1.047e-04 587.8
8.837e-05 586.1
7.456e-05 584.4
6.290e-05 582.7
5.307e-05 581.1
4.477e-05 579.4
3.777e-05 577.8
3.187e-05 576.2
2.689e-05 574.5
2.268e-05 572.6
1.914e-05 570.6
1.615e-05 568.5
1.362e-05 566.2
1.149e-05 563.6
9.696e-06 560.9
8.180e-06 558.0
6.901e-06 555.0
5.822e-06 552.1
4.912e-06 548.9
4.144e-06 545.9
3.496e-06 543.0
2.950e-06 540.4
2.489e-06 537.8
2.100e-06 535.4
1.771e-06 533.1
1.495e-06 531.0
1.261e-06 529.1
1.064e-06 527.2
8.975e-07 525.6
7.572e-07 524.0
6.388e-07 522.6
5.389e-07 521.2
4.547e-07 519.9
3.836e-07 518.8
3.236e-07 517.7
2.730e-07 516.7
2.304e-07 515.8
1.944e-07 515.0
1.640e-07 514.2
1.383e-07 513.6
1.167e-07 512.9
9.847e-08 512.4
8.307e-08 511.9
7.009e-08 511.5
5.913e-08 511.0
4.989e-08 510.7
4.209e-08 510.4
3.551e-08 510.1
2.996e-08 509.8
2.527e-08 509.6
2.132e-08 509.3
1.799e-08 509.2
1.518e-08 509.0
1.281e-08 508.8
1.080e-08 508.7
9.114e-09 508.7
7.690e-09 508.7
6.488e-09 508.7
5.473e-09 508.7
4.618e-09 508.7
3.896e-09 508.7
3.287e-09 508.7
2.773e-09 508.7
2.340e-09 508.7
1.974e-09 508.7
1.665e-09 508.7
1.405e-09 508.7
1.185e-09 508.7
1.000e-09 508.7
3 changes: 3 additions & 0 deletions fastchem_vulcan/obj/calc_densities.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
../obj/calc_densities.o: calc_densities.cpp fastchem.h \
fastchem_constants.h species_struct.h input_output_struct.h options.h \
solver.h
Binary file added fastchem_vulcan/obj/calc_densities.o
Binary file not shown.
3 changes: 3 additions & 0 deletions fastchem_vulcan/obj/calc_electron_densities.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
../obj/calc_electron_densities.o: calc_electron_densities.cpp fastchem.h \
fastchem_constants.h species_struct.h input_output_struct.h options.h \
solver.h
Binary file added fastchem_vulcan/obj/calc_electron_densities.o
Binary file not shown.
3 changes: 3 additions & 0 deletions fastchem_vulcan/obj/calc_mean_mol_weight.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
../obj/calc_mean_mol_weight.o: calc_mean_mol_weight.cpp fastchem.h \
fastchem_constants.h species_struct.h input_output_struct.h options.h \
solver.h
Binary file added fastchem_vulcan/obj/calc_mean_mol_weight.o
Binary file not shown.
3 changes: 3 additions & 0 deletions fastchem_vulcan/obj/calc_species_densities.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
../obj/calc_species_densities.o: calc_species_densities.cpp fastchem.h \
fastchem_constants.h species_struct.h input_output_struct.h options.h \
solver.h
Binary file added fastchem_vulcan/obj/calc_species_densities.o
Binary file not shown.
1 change: 1 addition & 0 deletions fastchem_vulcan/obj/check.d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../obj/check.o: check.cpp species_struct.h
Binary file added fastchem_vulcan/obj/check.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/fastchem.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/fastchem.o: fastchem.cpp fastchem.h fastchem_constants.h \
species_struct.h input_output_struct.h options.h solver.h
Binary file added fastchem_vulcan/obj/fastchem.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/get.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/get.o: get.cpp fastchem.h fastchem_constants.h species_struct.h \
input_output_struct.h options.h solver.h
Binary file added fastchem_vulcan/obj/get.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/init.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/init.o: init.cpp fastchem.h fastchem_constants.h species_struct.h \
input_output_struct.h options.h solver.h
Binary file added fastchem_vulcan/obj/init.o
Binary file not shown.
3 changes: 3 additions & 0 deletions fastchem_vulcan/obj/init_add_species.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
../obj/init_add_species.o: init_add_species.cpp fastchem.h \
fastchem_constants.h species_struct.h input_output_struct.h options.h \
solver.h
Binary file added fastchem_vulcan/obj/init_add_species.o
Binary file not shown.
3 changes: 3 additions & 0 deletions fastchem_vulcan/obj/init_read_files.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
../obj/init_read_files.o: init_read_files.cpp fastchem.h \
fastchem_constants.h species_struct.h input_output_struct.h options.h \
solver.h
Binary file added fastchem_vulcan/obj/init_read_files.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/init_solver.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/init_solver.o: init_solver.cpp fastchem.h fastchem_constants.h \
species_struct.h input_output_struct.h options.h solver.h
Binary file added fastchem_vulcan/obj/init_solver.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/mass_action_constant.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/mass_action_constant.o: mass_action_constant.cpp \
fastchem_constants.h species_struct.h
Binary file added fastchem_vulcan/obj/mass_action_constant.o
Binary file not shown.
4 changes: 4 additions & 0 deletions fastchem_vulcan/obj/model_main.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
../obj/model_main.o: model_main.cpp ../fastchem_src/fastchem.h \
../fastchem_src/fastchem_constants.h ../fastchem_src/species_struct.h \
../fastchem_src/input_output_struct.h ../fastchem_src/options.h \
../fastchem_src/solver.h ../fastchem_src/input_output_struct.h
Binary file added fastchem_vulcan/obj/model_main.o
Binary file not shown.
1 change: 1 addition & 0 deletions fastchem_vulcan/obj/options_read_files.d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../obj/options_read_files.o: options_read_files.cpp options.h
Binary file added fastchem_vulcan/obj/options_read_files.o
Binary file not shown.
1 change: 1 addition & 0 deletions fastchem_vulcan/obj/read_config.d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../obj/read_config.o: read_config.cpp
Binary file added fastchem_vulcan/obj/read_config.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/set.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/set.o: set.cpp fastchem.h fastchem_constants.h species_struct.h \
input_output_struct.h options.h solver.h
Binary file added fastchem_vulcan/obj/set.o
Binary file not shown.
3 changes: 3 additions & 0 deletions fastchem_vulcan/obj/solve_fastchem.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
../obj/solve_fastchem.o: solve_fastchem.cpp fastchem.h \
fastchem_constants.h species_struct.h input_output_struct.h options.h \
solver.h
Binary file added fastchem_vulcan/obj/solve_fastchem.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/solver.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/solver.o: solver.cpp solver.h fastchem_constants.h \
species_struct.h options.h
Binary file added fastchem_vulcan/obj/solver.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/solver_bisection.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/solver_bisection.o: solver_bisection.cpp solver.h \
fastchem_constants.h species_struct.h options.h
Binary file added fastchem_vulcan/obj/solver_bisection.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/solver_coeff.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/solver_coeff.o: solver_coeff.cpp solver.h fastchem_constants.h \
species_struct.h options.h
Binary file added fastchem_vulcan/obj/solver_coeff.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/solver_linsol_quadsol.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/solver_linsol_quadsol.o: solver_linsol_quadsol.cpp solver.h \
fastchem_constants.h species_struct.h options.h
Binary file added fastchem_vulcan/obj/solver_linsol_quadsol.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/solver_nelder_mead_electron.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/solver_nelder_mead_electron.o: solver_nelder_mead_electron.cpp \
solver.h fastchem_constants.h species_struct.h options.h
Binary file added fastchem_vulcan/obj/solver_nelder_mead_electron.o
Binary file not shown.
2 changes: 2 additions & 0 deletions fastchem_vulcan/obj/solver_newtsol.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
../obj/solver_newtsol.o: solver_newtsol.cpp solver.h fastchem_constants.h \
species_struct.h options.h
Binary file added fastchem_vulcan/obj/solver_newtsol.o
Binary file not shown.
1 change: 1 addition & 0 deletions fastchem_vulcan/obj/species_struct.d
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
../obj/species_struct.o: species_struct.cpp species_struct.h
Binary file added fastchem_vulcan/obj/species_struct.o
Binary file not shown.
162 changes: 105 additions & 57 deletions fastchem_vulcan/output/chem_species.dat
Original file line number Diff line number Diff line change
@@ -84,65 +84,113 @@ CH2NH2_i=88;
H2CN_i=89;
C3H2_i=90;
C3H4_i=91;
CH2CCH2_i=92;
C3H5_i=93;
C3H7_i=94;
C3H8_i=95;
C4H_i=96;
C4H2_i=97;
C4H3_i=98;
C4H4_i=99;
C4H5_i=100;
C4H6_i=101;
C4H8_i=102;
C4H9_i=103;
C4H10_i=104;
CH2CN_i=105;
CH3CN_i=106;
CH3NO_i=107;
C3H3_i=108;
C3H6_i=109;
C2H3O_i=110;
CH3CHO_i=111;
C2H4OH_i=112;
CH2CO_i=113;
CH2CHO_i=114;
H2O2_i=115;
HC3N_i=116;
C3H5_i=92;
C3H7_i=93;
C3H8_i=94;
C4H_i=95;
C4H2_i=96;
C4H3_i=97;
C4H4_i=98;
C4H5_i=99;
C4H6_i=100;
C4H8_i=101;
C4H9_i=102;
C4H10_i=103;
CH2CN_i=104;
CH3CN_i=105;
CH3NO_i=106;
C3H3_i=107;
C3H6_i=108;
C2H3O_i=109;
CH3CHO_i=110;
C2H4OH_i=111;
CH2CO_i=112;
CH2CHO_i=113;
H2O2_i=114;
HC3N_i=115;
HC2N_i=116;
C2H2CN_i=117;
C2H3CN_i=118;
H2NN_i=119;
CH3O2_i=120;
CH3OOH_i=121;
TiO_i=122;
TiO2_i=123;
VO_i=124;
Cl2_i=125;
HCl_i=126;
HOCl_i=127;
CCl_i=128;
CHCl_i=129;
CH2Cl_i=130;
CH3Cl_i=131;
KH_i=132;
HF_i=133;
MgH_i=134;
PH3_i=135;
S2_i=136;
HS_i=137;
H2S_i=138;
SO_i=139;
SO2_i=140;
COS_i=141;
CS_i=142;
HCS_i=143;
HS2_i=144;
SiO_i=145;
SiH_i=146;
NaH_i=147;
FeO_i=148;
O_1_i=149;
CH2_1_i=150;
N_2D_i=151;
HSO_i=152;
HSO3_i=153;
C6H6_i=122;
C6H5_i=123;
CH3C2H_i=124;
TiO_i=125;
TiO2_i=126;
VO_i=127;
TiH_i=128;
TiC2_i=129;
TiN_i=130;
VC2_i=131;
VN_i=132;
TiC_i=133;
Cl2_i=134;
HCl_i=135;
HOCl_i=136;
CCl_i=137;
CHCl_i=138;
CH2Cl_i=139;
CH3Cl_i=140;
KH_i=141;
HF_i=142;
MgH_i=143;
S2_i=144;
H2S_i=145;
SO_i=146;
SO2_i=147;
S2O_i=148;
SO3_i=149;
COS_i=150;
CS_i=151;
HCS_i=152;
SH_i=153;
HS2_i=154;
SiO_i=155;
SiH_i=156;
NaH_i=157;
FeO_i=158;
FeO2_i=159;
Fe(OH)2_i=160;
O_1_i=161;
CH2_1_i=162;
N_2D_i=163;
CS2_i=164;
NS_i=165;
S3_i=166;
S4_i=167;
S8_i=168;
HSO_i=169;
HSO2_i=170;
HSO3_i=171;
H2SO4_i=172;
CH3S_i=173;
CH3SH_i=174;
P_i=175;
PH3_i=176;
P2O_i=177;
P2O2_i=178;
P2O3_i=179;
PH_i=180;
PH2_i=181;
PO_i=182;
PO2_i=183;
PO3_i=184;
H2POH_i=185;
H3PO4_i=186;
HOPO_i=187;
HOPO2_i=188;
HPO_i=189;
HPOH_i=190;
P2_i=191;
P4_i=192;
P2H2_i=193;
P2H4_i=194;
P2H3_i=195;
P4O6_i=196;
P2H_i=197;
H3PO3_i=198;
HPO2_i=199;
P2O4_i=200;
P2O5_i=201;
270 changes: 150 additions & 120 deletions fastchem_vulcan/output/monitor_output.dat

Large diffs are not rendered by default.

416 changes: 416 additions & 0 deletions gCMCRT.py

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions make_chem_funs.py
Original file line number Diff line number Diff line change
@@ -722,15 +722,16 @@ def check_conserv():
compo = np.genfromtxt(vulcan_cfg.com_file,names=True,dtype=None)
compo_row = list(compo['species'])
# Convert bytes to strings
compo_row = [sp.decode("utf-8") for sp in compo_row]
#print (compo_row)
compo_row = [str(sp,'utf-8') for sp in compo_row]
#print(compo_row)
num_atoms = len(compo.dtype.names) - 2 # dtype.names returns the column names and -2 is for 'species' and 'mass'
#print(num_atoms)

for re in range(1,nr+1,2):

reac_atoms, prod_atoms = np.zeros(num_atoms), np.zeros(num_atoms)

for sp in re_dict[re][0]:
for sp in re_dict[re][0]:
# 1:7 for all the atoms (H O C He N S)
reac_atoms += np.array(list(compo[compo_row.index(sp)])[1:num_atoms+1])

@@ -740,7 +741,6 @@ def check_conserv():
if not np.all(reac_atoms == prod_atoms):
print ('Re ' + str(re) + ' not conserving element!')
conserv_check = False

if conserv_check == True:
print ('Elements conserved in the network.')
else:
@@ -811,4 +811,4 @@ def check_duplicate(nr, photo_re_indx):
check_conserv()
check_duplicate(nr, photo_re_indx)



96 changes: 96 additions & 0 deletions mie.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
'''
Aerosol opacity module for VULCAN (Elspeth K.H. Lee October 2024)
See:
YY
for details
Uses the miepython package as the Mie theory calculator.
Follows similar layout to gCMCRT method to calculate the aerosol opacity.
'''

import numpy as np
import matplotlib.pylab as plt
import miepython.miepython as miepython

import vulcan_cfg

def read_nk(sp,wl_nm):

# Number of wavelengths
nwl = len(wl_nm)

# Convert to um from nm
wl = np.zeros(nwl)
wl[:] = wl_nm[:] * 1e-3

# Read nk file
nk_data = np.loadtxt('./nk/'+sp+'.txt',skiprows=5)
wl_file = nk_data[:,0]
n_file = nk_data[:,1]
k_file = nk_data[:,2]

# Allocate space for n and k
n = np.zeros(nwl)
k = np.zeros(nwl)

# Linearly interpolate to VULCAN wavelength grid
# assume constant values outside interpolation range
n = np.interp(wl,wl_file,n_file)
k = np.interp(wl,wl_file,k_file)

return n, k

def calc_mie(nz,wl_nm,n,k,nd,rm,sig2):

# Number of wavelengths
nwl = len(wl_nm)

# Convert to cm from nm
wl_cm = np.zeros(nwl)
wl_cm[:] = wl_nm[:] * 1e-7

aer_abs = np.zeros((nz,nwl))
aer_scat = np.zeros((nz,nwl))
aer_g = np.zeros((nz,nwl))

for i in range(nz):

if ((rm[i] < 1.0e-4) or (nd[i] < 1e-10)):
aer_abs[i,:] = 0.0
aer_scat[i,:] = 0.0
aer_g[i,:] = 0.0
continue

if (vulcan_cfg.idist == 1):
# Single particle size calculation

r_cm = rm[i] * 1e-4
xsec = np.pi * r_cm**2

x = (2.0*np.pi * r_cm)/wl_cm
m = np.empty(nwl,dtype=np.complex128)
m.real = n
m.imag = -k

qext, qsca, qback, g = miepython.mie(m,x)


aer_abs[i,:] = (qext[:] - qsca[:]) * xsec
aer_scat[i,:] = qsca[:] * xsec
aer_g[i,:] = g[:]

return aer_abs, aer_scat, aer_g

# N=500
# m=1.5
# x = np.linspace(0.1,20,N) # also in microns

# qext, qsca, qback, g = miepython_jit.mie(m,x)

# plt.figure(figsize=(8,4.5))
# plt.plot(x,g)
# plt.show()
205 changes: 205 additions & 0 deletions nk/Al2O3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
200 .False. #Number of lines, conducting flag
#Refractive index of amorphous Al2O3[s]; Begemann et al. (1997) ApJ; Vol 476:1; Koike et al. (1995) Icarus, Vol 114:1; Database of Optical Constants for Cosmic Dust, Laboratory Astrophysics Group of the AIU Jena
#
#
#Wavelength (micron) n k
2.000000e-01 1.530000e+00 1.630000e-02
2.080200e-01 1.530870e+00 2.022790e-02
2.163616e-01 1.532045e+00 2.472661e-02
2.250377e-01 1.533497e+00 2.972666e-02
2.340617e-01 1.535199e+00 3.509236e-02
2.434475e-01 1.537125e+00 4.061451e-02
2.532098e-01 1.539247e+00 4.601180e-02
2.633635e-01 1.541539e+00 5.094408e-02
2.739243e-01 1.543974e+00 5.503918e-02
2.849087e-01 1.546524e+00 5.793236e-02
2.963335e-01 1.549161e+00 5.931419e-02
3.082165e-01 1.552256e+00 5.906114e-02
3.205759e-01 1.556712e+00 5.754611e-02
3.334310e-01 1.562020e+00 5.519682e-02
3.468016e-01 1.567571e+00 5.242486e-02
3.607083e-01 1.572752e+00 4.959373e-02
3.751727e-01 1.576938e+00 4.700281e-02
3.902171e-01 1.579501e+00 4.489207e-02
4.058648e-01 1.580000e+00 4.340842e-02
4.221399e-01 1.580000e+00 4.212596e-02
4.390677e-01 1.580000e+00 4.094309e-02
4.566743e-01 1.580000e+00 3.989806e-02
4.749869e-01 1.580000e+00 3.902549e-02
4.940339e-01 1.580000e+00 3.835800e-02
5.138446e-01 1.580000e+00 3.789196e-02
5.344498e-01 1.580000e+00 3.752385e-02
5.558812e-01 1.580000e+00 3.721844e-02
5.781720e-01 1.580000e+00 3.694772e-02
6.013566e-01 1.580006e+00 3.668474e-02
6.254710e-01 1.581785e+00 3.643981e-02
6.505524e-01 1.585363e+00 3.621920e-02
6.766395e-01 1.588756e+00 3.600155e-02
7.037727e-01 1.590000e+00 3.576642e-02
7.319939e-01 1.590000e+00 3.552232e-02
7.613469e-01 1.590000e+00 3.526698e-02
7.918768e-01 1.590000e+00 3.498136e-02
8.236311e-01 1.590000e+00 3.465152e-02
8.566586e-01 1.590000e+00 3.427143e-02
8.910106e-01 1.590000e+00 3.382598e-02
9.267401e-01 1.591883e+00 3.327736e-02
9.639023e-01 1.597191e+00 3.259709e-02
1.002555e+00 1.600000e+00 3.185075e-02
1.042757e+00 1.599951e+00 3.106306e-02
1.084572e+00 1.599817e+00 3.023000e-02
1.128063e+00 1.599604e+00 2.936356e-02
1.173298e+00 1.599315e+00 2.847496e-02
1.220347e+00 1.598953e+00 2.757457e-02
1.269283e+00 1.598525e+00 2.667182e-02
1.320181e+00 1.598032e+00 2.577522e-02
1.373121e+00 1.597480e+00 2.489231e-02
1.428183e+00 1.596873e+00 2.402970e-02
1.485453e+00 1.596214e+00 2.319312e-02
1.545019e+00 1.595509e+00 2.238746e-02
1.606975e+00 1.594760e+00 2.161687e-02
1.671414e+00 1.593973e+00 2.088479e-02
1.738438e+00 1.593151e+00 2.019409e-02
1.808149e+00 1.592298e+00 1.954711e-02
1.880656e+00 1.591419e+00 1.894577e-02
1.956070e+00 1.590518e+00 1.839164e-02
2.034508e+00 1.589580e+00 1.787671e-02
2.116092e+00 1.588472e+00 1.733718e-02
2.200947e+00 1.587165e+00 1.678138e-02
2.289205e+00 1.585659e+00 1.623212e-02
2.381002e+00 1.583955e+00 1.570948e-02
2.476480e+00 1.582055e+00 1.523098e-02
2.575787e+00 1.579959e+00 1.481198e-02
2.679076e+00 1.577668e+00 1.446633e-02
2.786506e+00 1.575184e+00 1.420706e-02
2.898245e+00 1.572507e+00 1.404722e-02
3.014465e+00 1.569634e+00 1.400009e-02
3.135345e+00 1.566164e+00 1.400730e-02
3.261072e+00 1.561899e+00 1.402594e-02
3.391841e+00 1.556919e+00 1.405581e-02
3.527853e+00 1.551302e+00 1.409674e-02
3.669320e+00 1.545127e+00 1.414858e-02
3.816459e+00 1.538472e+00 1.421120e-02
3.969499e+00 1.531414e+00 1.428450e-02
4.128676e+00 1.523342e+00 1.445992e-02
4.294236e+00 1.513327e+00 1.489720e-02
4.466434e+00 1.502106e+00 1.555936e-02
4.645538e+00 1.490444e+00 1.640460e-02
4.831824e+00 1.479081e+00 1.738455e-02
5.025580e+00 1.468733e+00 1.844144e-02
5.227105e+00 1.459334e+00 1.973793e-02
5.436712e+00 1.450333e+00 2.140280e-02
5.654724e+00 1.441387e+00 2.343915e-02
5.881478e+00 1.432163e+00 2.584375e-02
6.117325e+00 1.422522e+00 2.864071e-02
6.362629e+00 1.413070e+00 3.210256e-02
6.617771e+00 1.403096e+00 3.637097e-02
6.883143e+00 1.391688e+00 4.156317e-02
7.159157e+00 1.378154e+00 4.784555e-02
7.446238e+00 1.362257e+00 5.566388e-02
7.744832e+00 1.342734e+00 6.558697e-02
8.055400e+00 1.318122e+00 7.843307e-02
8.378421e+00 1.281447e+00 9.636047e-02
8.714395e+00 1.234576e+00 1.203445e-01
9.063842e+00 1.183179e+00 1.495391e-01
9.427301e+00 1.118778e+00 1.861450e-01
9.805336e+00 1.039800e+00 2.409637e-01
1.019853e+01 9.443604e-01 3.335453e-01
1.060749e+01 8.617954e-01 5.078398e-01
1.103285e+01 8.916695e-01 7.263215e-01
1.147527e+01 9.986113e-01 8.826678e-01
1.193542e+01 1.124345e+00 9.621637e-01
1.241403e+01 1.210588e+00 1.008295e+00
1.291184e+01 1.282412e+00 1.051716e+00
1.342960e+01 1.346923e+00 1.092647e+00
1.396813e+01 1.404811e+00 1.132540e+00
1.452825e+01 1.457730e+00 1.178600e+00
1.511083e+01 1.517684e+00 1.238448e+00
1.571677e+01 1.596804e+00 1.298130e+00
1.634701e+01 1.691020e+00 1.346546e+00
1.700253e+01 1.795410e+00 1.382100e+00
1.768433e+01 1.908240e+00 1.400179e+00
1.839347e+01 2.027132e+00 1.394993e+00
1.913105e+01 2.135716e+00 1.361307e+00
1.989820e+01 2.226867e+00 1.305922e+00
2.069612e+01 2.285092e+00 1.241683e+00
2.152603e+01 2.311331e+00 1.186764e+00
2.238922e+01 2.320246e+00 1.152948e+00
2.328703e+01 2.324974e+00 1.143657e+00
2.422084e+01 2.335446e+00 1.152109e+00
2.519209e+01 2.361633e+00 1.175824e+00
2.620230e+01 2.410756e+00 1.201744e+00
2.725301e+01 2.475668e+00 1.219275e+00
2.834585e+01 2.552296e+00 1.221481e+00
2.948252e+01 2.630797e+00 1.205430e+00
3.066477e+01 2.703350e+00 1.173931e+00
3.189442e+01 2.767341e+00 1.131717e+00
3.317339e+01 2.817843e+00 1.083120e+00
3.450364e+01 2.857819e+00 1.032075e+00
3.588723e+01 2.888971e+00 9.818405e-01
3.732631e+01 2.910892e+00 9.351544e-01
3.882309e+01 2.928161e+00 8.915466e-01
4.037989e+01 2.940072e+00 8.520482e-01
4.199913e+01 2.948016e+00 8.167641e-01
4.368329e+01 2.953536e+00 7.848063e-01
4.543499e+01 2.954899e+00 7.562240e-01
4.725693e+01 2.952929e+00 7.289802e-01
4.915193e+01 2.950025e+00 7.062750e-01
5.112292e+01 2.947813e+00 6.908529e-01
5.317294e+01 2.945526e+00 6.771123e-01
5.530518e+01 2.943354e+00 6.654832e-01
5.752291e+01 2.941709e+00 6.573376e-01
5.982958e+01 2.941004e+00 6.540164e-01
6.222874e+01 2.941463e+00 6.554974e-01
6.472411e+01 2.942897e+00 6.597600e-01
6.731954e+01 2.945139e+00 6.656614e-01
7.001905e+01 2.948022e+00 6.720432e-01
7.282681e+01 2.954808e+00 6.800322e-01
7.574717e+01 2.966866e+00 6.901738e-01
7.878462e+01 2.981336e+00 7.004333e-01
8.194388e+01 2.996541e+00 7.093071e-01
8.522983e+01 3.014897e+00 7.178026e-01
8.864754e+01 3.035106e+00 7.254409e-01
9.220230e+01 3.055874e+00 7.318108e-01
9.589961e+01 3.078039e+00 7.374414e-01
9.974518e+01 3.101446e+00 7.417795e-01
1.037450e+02 3.126044e+00 7.451152e-01
1.079051e+02 3.151874e+00 7.483011e-01
1.122321e+02 3.178625e+00 7.511115e-01
1.167326e+02 3.205974e+00 7.533139e-01
1.214136e+02 3.233587e+00 7.546736e-01
1.262823e+02 3.261144e+00 7.549681e-01
1.313462e+02 3.288889e+00 7.542845e-01
1.366132e+02 3.316973e+00 7.528162e-01
1.420913e+02 3.345379e+00 7.507040e-01
1.477892e+02 3.374085e+00 7.480892e-01
1.537155e+02 3.403161e+00 7.442097e-01
1.598795e+02 3.432779e+00 7.364779e-01
1.662907e+02 3.462604e+00 7.262528e-01
1.729589e+02 3.492248e+00 7.152132e-01
1.798946e+02 3.522067e+00 7.041321e-01
1.871083e+02 3.552704e+00 6.916337e-01
1.946114e+02 3.581543e+00 6.779748e-01
2.024153e+02 3.605939e+00 6.641803e-01
2.105321e+02 3.627427e+00 6.518220e-01
2.189744e+02 3.647214e+00 6.396936e-01
2.277553e+02 3.665572e+00 6.277909e-01
2.368883e+02 3.682777e+00 6.161097e-01
2.463875e+02 3.699114e+00 6.046458e-01
2.562676e+02 3.714741e+00 5.933952e-01
2.665439e+02 3.729402e+00 5.823540e-01
2.772323e+02 3.743210e+00 5.715182e-01
2.883493e+02 3.756325e+00 5.608840e-01
2.999121e+02 3.768908e+00 5.504477e-01
3.119386e+02 3.781017e+00 5.402056e-01
3.244473e+02 3.792652e+00 5.301541e-01
3.374576e+02 3.803893e+00 5.202896e-01
3.509897e+02 3.814823e+00 5.106086e-01
3.650643e+02 3.825526e+00 5.011078e-01
3.797034e+02 3.836086e+00 4.917837e-01
3.949295e+02 3.846590e+00 4.826331e-01
4.107661e+02 3.857067e+00 4.736528e-01
4.272378e+02 3.867386e+00 4.648396e-01
4.443700e+02 3.877537e+00 4.561904e-01
4.621893e+02 3.887522e+00 4.477021e-01
4.807230e+02 3.897342e+00 4.393718e-01
5.000000e+02 3.907000e+00 4.311965e-01
387 changes: 387 additions & 0 deletions nk/C.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,387 @@
381 .True.
#Refractive index of C[s]; Draine (2003), AJ., 598:1026
#
#
#Wavelength (micron) n k
1.239840e-04 9.999955e-01 7.450581e-09
1.549800e-04 9.999930e-01 1.053671e-08
2.066400e-04 9.999876e-01 3.799066e-08
2.479680e-04 9.999821e-01 7.989858e-08
3.099600e-04 9.999719e-01 1.988063e-07
4.132800e-04 9.999497e-01 6.369702e-07
4.959360e-04 9.999273e-01 1.321990e-06
6.199200e-04 9.998855e-01 3.214017e-06
6.525474e-04 9.998727e-01 3.937003e-06
6.888000e-04 9.998580e-01 4.871996e-06
7.293177e-04 9.998405e-01 6.100975e-06
7.749000e-04 9.998195e-01 7.735895e-06
8.265600e-04 9.997940e-01 9.957051e-06
8.856000e-04 9.997627e-01 1.302009e-05
9.537231e-04 9.997240e-01 1.734995e-05
1.033200e-03 9.996748e-01 2.364019e-05
1.127127e-03 9.996115e-01 3.300999e-05
1.239840e-03 9.995283e-01 4.748006e-05
1.305095e-03 9.994765e-01 5.768019e-05
1.377600e-03 9.994158e-01 7.074133e-05
1.458635e-03 9.993441e-01 8.770920e-05
1.549800e-03 9.992593e-01 1.100015e-04
1.653120e-03 9.991575e-01 1.398995e-04
1.771200e-03 9.990342e-01 1.805010e-04
1.907446e-03 9.988833e-01 2.368011e-04
2.066400e-03 9.986983e-01 3.167991e-04
2.254255e-03 9.984679e-01 4.331987e-04
2.479680e-03 9.981829e-01 6.076041e-04
2.755200e-03 9.978285e-01 8.779063e-04
3.099600e-03 9.974265e-01 1.313998e-03
3.262737e-03 9.972582e-01 1.561013e-03
3.444000e-03 9.971035e-01 1.866991e-03
3.646588e-03 9.969951e-01 2.250997e-03
3.757091e-03 9.969208e-01 2.445330e-03
3.874500e-03 9.967028e-01 2.718681e-03
3.936000e-03 9.965488e-01 3.291008e-03
3.999484e-03 9.969447e-01 4.079648e-03
4.012427e-03 9.971497e-01 4.245016e-03
4.025455e-03 9.974931e-01 4.359997e-03
4.038567e-03 9.978414e-01 4.220995e-03
4.051765e-03 9.979727e-01 3.979651e-03
4.065049e-03 9.979947e-01 3.891003e-03
4.078421e-03 9.980964e-01 3.853001e-03
4.091881e-03 9.982504e-01 3.712011e-03
4.105431e-03 9.982207e-01 3.414659e-03
4.119070e-03 9.980450e-01 3.323998e-03
4.132800e-03 9.978187e-01 3.285016e-03
4.146622e-03 9.976547e-01 3.506992e-03
4.160537e-03 9.976377e-01 3.678005e-03
4.174545e-03 9.975001e-01 3.849991e-03
4.188649e-03 9.976224e-01 4.446004e-03
4.202847e-03 9.980597e-01 4.672683e-03
4.217143e-03 9.984787e-01 4.847992e-03
4.231536e-03 9.990918e-01 4.969680e-03
4.244574e-03 9.996081e-01 4.661994e-03
4.246028e-03 9.997509e-01 4.877682e-03
4.250394e-03 1.000581e+00 5.092206e-03
4.251852e-03 1.000867e+00 4.719009e-03
4.253311e-03 1.001063e+00 4.184650e-03
4.259155e-03 1.000611e+00 2.745005e-03
4.260619e-03 1.000367e+00 2.585984e-03
4.275310e-03 9.990297e-01 2.763682e-03
4.290104e-03 9.986087e-01 3.263007e-03
4.305000e-03 9.984690e-01 3.601998e-03
4.320000e-03 9.979580e-01 3.999667e-03
4.327539e-03 9.974153e-01 4.829666e-03
4.335105e-03 9.966577e-01 6.486681e-03
4.338139e-03 9.972443e-01 8.954676e-03
4.339657e-03 9.977997e-01 9.821611e-03
4.341177e-03 9.988297e-01 1.045006e-02
4.342697e-03 1.000132e+00 1.084990e-02
4.344219e-03 1.001357e+00 1.111658e-02
4.345742e-03 1.002525e+00 1.082998e-02
4.347265e-03 1.003648e+00 1.024994e-02
4.348790e-03 1.004671e+00 9.604965e-03
4.350316e-03 1.005473e+00 8.906758e-03
4.351843e-03 1.006087e+00 8.070705e-03
4.354900e-03 1.006949e+00 6.350701e-03
4.357961e-03 1.007283e+00 4.546669e-03
4.361027e-03 1.007024e+00 2.780008e-03
4.364097e-03 1.006095e+00 1.006996e-03
4.365634e-03 1.005564e+00 5.707907e-04
4.373333e-03 1.003398e+00 2.996020e-04
4.381060e-03 1.002426e+00 2.461678e-04
4.396596e-03 1.001346e+00 1.937009e-04
4.428000e-03 1.000254e+00 1.987679e-04
4.508509e-03 9.990339e-01 2.117679e-04
4.592000e-03 9.983630e-01 2.257980e-04
4.768616e-03 9.974663e-01 2.573654e-04
5.166000e-03 9.961249e-01 3.389669e-04
5.635636e-03 9.948024e-01 4.562682e-04
6.199200e-03 9.932533e-01 6.302689e-04
6.525474e-03 9.923282e-01 7.487274e-04
6.888000e-03 9.912669e-01 8.973365e-04
7.084800e-03 9.906711e-01 9.856954e-04
7.293177e-03 9.900235e-01 1.085984e-03
7.749000e-03 9.885625e-01 1.327652e-03
8.265601e-03 9.868156e-01 1.642995e-03
8.856000e-03 9.846886e-01 2.060685e-03
9.537231e-03 9.820750e-01 2.623680e-03
1.033200e-02 9.788014e-01 3.402358e-03
1.127127e-02 9.746047e-01 4.503347e-03
1.239840e-02 9.691575e-01 6.108570e-03
1.305095e-02 9.657737e-01 7.196476e-03
1.377600e-02 9.618335e-01 8.545658e-03
1.458635e-02 9.572196e-01 1.023659e-02
1.549800e-02 9.517558e-01 1.239656e-02
1.653120e-02 9.452112e-01 1.519343e-02
1.771200e-02 9.373647e-01 1.886335e-02
1.907446e-02 9.277494e-01 2.378354e-02
2.066400e-02 9.160146e-01 3.054045e-02
2.156243e-02 9.090450e-01 3.487359e-02
2.214000e-02 9.044968e-01 3.787373e-02
2.296000e-02 8.979565e-01 4.241724e-02
2.361600e-02 8.926560e-01 4.631067e-02
2.479680e-02 8.829549e-01 5.390725e-02
2.583000e-02 8.744900e-01 6.117851e-02
2.695304e-02 8.652193e-01 6.986475e-02
2.817818e-02 8.553862e-01 8.013924e-02
2.952000e-02 8.449902e-01 9.254743e-02
3.099600e-02 8.346657e-01 1.073943e-01
3.179077e-02 8.299408e-01 1.159239e-01
3.262737e-02 8.259628e-01 1.251449e-01
3.350919e-02 8.231751e-01 1.352183e-01
3.444000e-02 8.327525e-01 1.441064e-01
3.542400e-02 8.243008e-01 1.251869e-01
3.646588e-02 8.014056e-01 1.332076e-01
3.757091e-02 7.856637e-01 1.430065e-01
3.874500e-02 7.684268e-01 1.541309e-01
3.999484e-02 7.500223e-01 1.688394e-01
4.132800e-02 7.304786e-01 1.854697e-01
4.275310e-02 7.033426e-01 2.061087e-01
4.428000e-02 6.812670e-01 2.424967e-01
4.592000e-02 6.603041e-01 2.772031e-01
4.768616e-02 6.431674e-01 3.242442e-01
4.959360e-02 6.307050e-01 3.730534e-01
5.166000e-02 6.223439e-01 4.287019e-01
5.390609e-02 6.191414e-01 4.898531e-01
5.635637e-02 6.299753e-01 5.531566e-01
5.904000e-02 6.338080e-01 6.066322e-01
6.199200e-02 6.196326e-01 6.778775e-01
6.525474e-02 6.100886e-01 7.894564e-01
6.888000e-02 6.514508e-01 9.545617e-01
7.293177e-02 7.780168e-01 1.101261e+00
7.749000e-02 9.032452e-01 1.202996e+00
8.265600e-02 1.088195e+00 1.297469e+00
8.856000e-02 1.279883e+00 1.356687e+00
9.116471e-02 1.376269e+00 1.391480e+00
9.322105e-02 1.466603e+00 1.414345e+00
9.537231e-02 1.574156e+00 1.419808e+00
9.762520e-02 1.701324e+00 1.409804e+00
9.999516e-02 1.838019e+00 1.348363e+00
1.024661e-01 1.936183e+00 1.265755e+00
1.050000e-01 1.998737e+00 1.170022e+00
1.078122e-01 2.072194e+00 1.131466e+00
1.109973e-01 2.316839e+00 9.731435e-01
1.148000e-01 2.241079e+00 6.661078e-01
1.180013e-01 2.170101e+00 5.323255e-01
1.215529e-01 2.085453e+00 4.172714e-01
1.249965e-01 1.994978e+00 3.410314e-01
1.278186e-01 1.924159e+00 2.994797e-01
1.305095e-01 1.860429e+00 2.732435e-01
1.333161e-01 1.801173e+00 2.551264e-01
1.362461e-01 1.744217e+00 2.432304e-01
1.389955e-01 1.696416e+00 2.358522e-01
1.408909e-01 1.663886e+00 2.316395e-01
1.425104e-01 1.636685e+00 2.294435e-01
1.441674e-01 1.608826e+00 2.284316e-01
1.458635e-01 1.580581e+00 2.288462e-01
1.490013e-01 1.530680e+00 2.343109e-01
1.549800e-01 1.442596e+00 2.553487e-01
1.600000e-01 1.375953e+00 2.815152e-01
1.653120e-01 1.311511e+00 3.151734e-01
1.700041e-01 1.258350e+00 3.477994e-01
1.800000e-01 1.148450e+00 4.256332e-01
1.899847e-01 1.026171e+00 5.338176e-01
2.000065e-01 9.206912e-01 7.018350e-01
2.100000e-01 8.587024e-01 9.074156e-01
2.137655e-01 8.488947e-01 9.918781e-01
2.175158e-01 8.452614e-01 1.082328e+00
2.190143e-01 8.478228e-01 1.119436e+00
2.214000e-01 8.556016e-01 1.178001e+00
2.254255e-01 8.782387e-01 1.273173e+00
2.299833e-01 9.089906e-01 1.380047e+00
2.339321e-01 9.467024e-01 1.473571e+00
2.384308e-01 1.005065e+00 1.583148e+00
2.400000e-01 1.031270e+00 1.618297e+00
2.500181e-01 1.232198e+00 1.808354e+00
2.583000e-01 1.425334e+00 1.909575e+00
2.739978e-01 1.831966e+00 1.962600e+00
2.850207e-01 2.048182e+00 1.864784e+00
2.917271e-01 2.135013e+00 1.799825e+00
3.099600e-01 2.297111e+00 1.646365e+00
3.262737e-01 2.370539e+00 1.524048e+00
3.440177e-01 2.407242e+00 1.430773e+00
3.649809e-01 2.431162e+00 1.367254e+00
3.814892e-01 2.455681e+00 1.333418e+00
3.999484e-01 2.481926e+00 1.301624e+00
4.339657e-01 2.521984e+00 1.247959e+00
4.399716e-01 2.526469e+00 1.239939e+00
4.860212e-01 2.549730e+00 1.198467e+00
5.500621e-01 2.567108e+00 1.188841e+00
6.563473e-01 2.606855e+00 1.234852e+00
7.000791e-01 2.629962e+00 1.264385e+00
7.998968e-01 2.694819e+00 1.335634e+00
8.997388e-01 2.766966e+00 1.404647e+00
9.998710e-01 2.842716e+00 1.465992e+00
1.127127e+00 2.935451e+00 1.533548e+00
1.249965e+00 3.011960e+00 1.592568e+00
1.305095e+00 3.045802e+00 1.621433e+00
1.377600e+00 3.089287e+00 1.655755e+00
1.458635e+00 3.135937e+00 1.691104e+00
1.549800e+00 3.182687e+00 1.728872e+00
1.650040e+00 3.230612e+00 1.775497e+00
1.771200e+00 3.289976e+00 1.830049e+00
1.907446e+00 3.353243e+00 1.887397e+00
2.066400e+00 3.420748e+00 1.953906e+00
2.121924e+00 3.443649e+00 1.977672e+00
2.199858e+00 3.476079e+00 2.010090e+00
2.254255e+00 3.498126e+00 2.032294e+00
2.423930e+00 3.563054e+00 2.098870e+00
2.479680e+00 3.581977e+00 2.120187e+00
2.755200e+00 3.681382e+00 2.234191e+00
3.099600e+00 3.800965e+00 2.363662e+00
3.262737e+00 3.852459e+00 2.425286e+00
3.401482e+00 3.896688e+00 2.475906e+00
3.646588e+00 3.971779e+00 2.562829e+00
3.874500e+00 4.036277e+00 2.638875e+00
4.132800e+00 4.103887e+00 2.729327e+00
4.428000e+00 4.181100e+00 2.829681e+00
4.768616e+00 4.265318e+00 2.940834e+00
4.999355e+00 4.314542e+00 3.017240e+00
5.166000e+00 4.352631e+00 3.074551e+00
5.510400e+00 4.433537e+00 3.188769e+00
5.635636e+00 4.461538e+00 3.228987e+00
5.904000e+00 4.521174e+00 3.313318e+00
6.199200e+00 4.579236e+00 3.405589e+00
6.358154e+00 4.624252e+00 3.446061e+00
6.525474e+00 4.650225e+00 3.499742e+00
6.701838e+00 4.683241e+00 3.553686e+00
6.911037e+00 4.723562e+00 3.616624e+00
7.084800e+00 4.755043e+00 3.667456e+00
7.293177e+00 4.792836e+00 3.728111e+00
7.514182e+00 4.830246e+00 3.791720e+00
7.749001e+00 4.866416e+00 3.859047e+00
7.998968e+00 4.902985e+00 3.937529e+00
8.265600e+00 4.947235e+00 4.020638e+00
8.377297e+00 4.965956e+00 4.054748e+00
8.492055e+00 4.985271e+00 4.089791e+00
8.610001e+00 5.005490e+00 4.124823e+00
8.731268e+00 5.025552e+00 4.160903e+00
8.856000e+00 5.046316e+00 4.197901e+00
8.984348e+00 5.067766e+00 4.235015e+00
9.116470e+00 5.089104e+00 4.273096e+00
9.252538e+00 5.111137e+00 4.311324e+00
9.392728e+00 5.132944e+00 4.350591e+00
9.537231e+00 5.155549e+00 4.390795e+00
9.663602e+00 5.174585e+00 4.425577e+00
9.686250e+00 5.177980e+00 4.431964e+00
9.840000e+00 5.200272e+00 4.473357e+00
9.998710e+00 5.222408e+00 4.516582e+00
1.016262e+01 5.244329e+00 4.561739e+00
1.033200e+01 5.266164e+00 4.608696e+00
1.050712e+01 5.289391e+00 4.657581e+00
1.068828e+01 5.312436e+00 4.708349e+00
1.087579e+01 5.336052e+00 4.760310e+00
1.107000e+01 5.359389e+00 4.814262e+00
1.127127e+01 5.382815e+00 4.869821e+00
1.135385e+01 5.392019e+00 4.893277e+00
1.139559e+01 5.396329e+00 4.905540e+00
1.141658e+01 5.398218e+00 4.911996e+00
1.142710e+01 5.399139e+00 4.915277e+00
1.143764e+01 5.399930e+00 4.918711e+00
1.144820e+01 5.400601e+00 4.922306e+00
1.145878e+01 5.401172e+00 4.926079e+00
1.146938e+01 5.401469e+00 4.930264e+00
1.148000e+01 5.401378e+00 4.935135e+00
1.149064e+01 5.400676e+00 4.941382e+00
1.150130e+01 5.398982e+00 4.951127e+00
1.151198e+01 5.398167e+00 4.973122e+00
1.151733e+01 5.408961e+00 4.998638e+00
1.152268e+01 5.465810e+00 5.010980e+00
1.152375e+01 5.478786e+00 5.000900e+00
1.152482e+01 5.487087e+00 4.987190e+00
1.153340e+01 5.459386e+00 4.931099e+00
1.154413e+01 5.437980e+00 4.932761e+00
1.155489e+01 5.431376e+00 4.937974e+00
1.156567e+01 5.428732e+00 4.942686e+00
1.157647e+01 5.427740e+00 4.946831e+00
1.158729e+01 5.427478e+00 4.950687e+00
1.159813e+01 5.427688e+00 4.954292e+00
1.160899e+01 5.428176e+00 4.957743e+00
1.161987e+01 5.428765e+00 4.961159e+00
1.163077e+01 5.429523e+00 4.964459e+00
1.165263e+01 5.431145e+00 4.971036e+00
1.169660e+01 5.435128e+00 4.983688e+00
1.192154e+01 5.457252e+00 5.046494e+00
1.215529e+01 5.478479e+00 5.112305e+00
1.227564e+01 5.488605e+00 5.145369e+00
1.239840e+01 5.497167e+00 5.181793e+00
1.265143e+01 5.521755e+00 5.262922e+00
1.291500e+01 5.550076e+00 5.344455e+00
1.318979e+01 5.580634e+00 5.428874e+00
1.347652e+01 5.613252e+00 5.516327e+00
1.377600e+01 5.648024e+00 5.605929e+00
1.408909e+01 5.683980e+00 5.698689e+00
1.441674e+01 5.721206e+00 5.794526e+00
1.476000e+01 5.760676e+00 5.895336e+00
1.499928e+01 5.785744e+00 5.963598e+00
1.512000e+01 5.797627e+00 5.997614e+00
1.549800e+01 5.835148e+00 6.104355e+00
1.589538e+01 5.871437e+00 6.217926e+00
1.631368e+01 5.908109e+00 6.339935e+00
1.675459e+01 5.943808e+00 6.473932e+00
1.722000e+01 5.984172e+00 6.617443e+00
1.771200e+01 6.023778e+00 6.767201e+00
1.823294e+01 6.064520e+00 6.929236e+00
1.878546e+01 6.104255e+00 7.102997e+00
1.937250e+01 6.139846e+00 7.295346e+00
2.000065e+01 6.177560e+00 7.532765e+00
2.032525e+01 6.211371e+00 7.656461e+00
2.066400e+01 6.248238e+00 7.780956e+00
2.101424e+01 6.291244e+00 7.911179e+00
2.137655e+01 6.336670e+00 8.042949e+00
2.175158e+01 6.383149e+00 8.176794e+00
2.214000e+01 6.433601e+00 8.314538e+00
2.254255e+01 6.483892e+00 8.455575e+00
2.296000e+01 6.536479e+00 8.602229e+00
2.339321e+01 6.587920e+00 8.753730e+00
2.384308e+01 6.639521e+00 8.911313e+00
2.431059e+01 6.688477e+00 9.087612e+00
2.499677e+01 6.752459e+00 9.379894e+00
2.755200e+01 7.265853e+00 1.040748e+01
2.999855e+01 7.848164e+00 1.132759e+01
3.350919e+01 8.836810e+00 1.255433e+01
3.757091e+01 1.014838e+01 1.376691e+01
4.132800e+01 1.147264e+01 1.474306e+01
4.508509e+01 1.299885e+01 1.559809e+01
4.999355e+01 1.534840e+01 1.605717e+01
5.166000e+01 1.607693e+01 1.599701e+01
5.390609e+01 1.696015e+01 1.584856e+01
5.635637e+01 1.784999e+01 1.560846e+01
5.904000e+01 1.869940e+01 1.524804e+01
6.199200e+01 1.950794e+01 1.480908e+01
6.358154e+01 1.988652e+01 1.453738e+01
6.525474e+01 2.024811e+01 1.424483e+01
6.701838e+01 2.057516e+01 1.393350e+01
6.888000e+01 2.089055e+01 1.359281e+01
7.000790e+01 2.105173e+01 1.338575e+01
7.084800e+01 2.117695e+01 1.323324e+01
7.293176e+01 2.143085e+01 1.283836e+01
7.514182e+01 2.165097e+01 1.241701e+01
7.749000e+01 2.183521e+01 1.196983e+01
7.998968e+01 2.195851e+01 1.146505e+01
8.265601e+01 2.198483e+01 1.093385e+01
8.550621e+01 2.191216e+01 1.040696e+01
8.856000e+01 2.171798e+01 9.905174e+00
9.184000e+01 2.148410e+01 9.468299e+00
9.537231e+01 2.118396e+01 9.033083e+00
9.998710e+01 2.071959e+01 8.463977e+00
1.033200e+02 2.022798e+01 8.072721e+00
1.127127e+02 1.827001e+01 7.429041e+00
1.180800e+02 1.697256e+01 7.524439e+00
1.239840e+02 1.550518e+01 7.956802e+00
1.350000e+02 1.297363e+01 9.749379e+00
1.499927e+02 1.084356e+01 1.348057e+01
1.749951e+02 1.023224e+01 1.966038e+01
2.000065e+02 1.107744e+01 2.484230e+01
2.500182e+02 1.403344e+01 3.323510e+01
2.999855e+02 1.758174e+01 4.008136e+01
3.542400e+02 2.164967e+01 4.637208e+01
4.132800e+02 2.610030e+01 5.223023e+01
4.999355e+02 3.243267e+01 5.946838e+01
7.000791e+02 4.560011e+01 7.230275e+01
9.998710e+02 6.180759e+01 8.635731e+01
1.200232e+03 7.093864e+01 9.401935e+01
1.239840e+03 7.262314e+01 9.542818e+01
1.499927e+03 8.288104e+01 1.040504e+02
2.000065e+03 9.976459e+01 1.184660e+02
1.239840e+04 2.716772e+02 2.793833e+02
1.239840e+05 8.704205e+02 8.728590e+02

46 changes: 46 additions & 0 deletions nk/CH4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
41 .False. # Number of lines, conductive flag
# 5 line header for n-k original data
# Methane Ice CH4 (90 K) - Martonchik & Orton (1994) - (CH4 ice)
# Taken from: https://refractiveindex.info/?shelf=organic&book=methane&page=Martonchik-solid-90K
# wl(um) n k
0.0020 0.971 0.000E+0
0.0114 0.993 2.607E-3
0.0545 0.842 2.332E-1
0.0900 1.228 7.096E-1
0.0987 1.491 5.681E-1
0.1012 1.486 5.203E-1
0.1087 1.554 4.104E-1
0.1162 1.515 3.518E-1
0.1200 1.530 3.632E-1
0.1337 1.767 1.981E-1
0.4000 1.326 0.000E+0
1.000 1.313 0.000E+0
1.138 1.313 1.900E-5
1.165 1.313 4.577E-5
1.336 1.312 5.023E-5
1.371 1.312 1.828E-5
1.385 1.312 9.073E-6
1.402 1.312 3.642E-5
1.412 1.312 2.368E-5
1.669 1.311 4.737E-4
1.724 1.311 2.446E-4
1.785 1.311 8.213E-5
1.796 1.311 1.807E-4
2.317 1.307 3.453E-3
2.324 1.310 6.189E-3
2.329 1.314 3.096E-3
2.377 1.306 5.058E-3
2.379 1.312 9.199E-3
2.381 1.316 5.547E-3
3.315 1.190 1.312E-1
3.322 1.339 2.564E-1
3.330 1.451 1.107E-1
3.534 1.318 2.877E-3
3.546 1.319 4.574E-3
3.565 1.321 2.570E-3
7.675 0.810 4.585E-1
7.692 1.265 9.598E-1
7.710 1.845 5.199E-1
36.36 1.316 7.624E-4
62.50 1.317 2.636E-3
100.00 1.318 2.387E-3
2,304 changes: 2,304 additions & 0 deletions nk/CaTiO3.txt

Large diffs are not rendered by default.

278 changes: 278 additions & 0 deletions nk/Cr.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,278 @@
273 .True.
#Refractive index of Cr[s]; Lynch&Hunter (1991) in Palik: "Handbook of Optical Constants of Solids"; Rakic et al. (1998) Applied Optics Vol. 37, Issue 22
#
#
#Wavelength (micron) n k
4.203000e-02 7.800000e-01 2.100000e-01
4.305000e-02 7.700000e-01 2.200000e-01
4.397000e-02 7.500000e-01 2.300000e-01
4.492000e-02 7.300000e-01 2.500000e-01
4.592000e-02 7.200000e-01 2.600000e-01
4.696000e-02 7.100000e-01 2.800000e-01
4.806000e-02 7.000000e-01 3.100000e-01
4.901000e-02 6.800000e-01 3.300000e-01
4.999000e-02 6.800000e-01 3.600000e-01
5.102000e-02 6.700000e-01 3.900000e-01
5.188000e-02 6.800000e-01 4.300000e-01
5.299000e-02 6.800000e-01 4.500000e-01
5.391000e-02 6.900000e-01 4.800000e-01
5.510000e-02 7.000000e-01 5.000000e-01
5.610000e-02 7.100000e-01 5.200000e-01
5.687000e-02 7.200000e-01 5.400000e-01
5.794000e-02 7.300000e-01 5.600000e-01
5.904000e-02 7.400000e-01 5.800000e-01
5.990000e-02 7.400000e-01 6.000000e-01
6.108000e-02 7.500000e-01 6.200000e-01
6.199000e-02 7.700000e-01 6.400000e-01
6.294000e-02 7.800000e-01 6.500000e-01
6.391000e-02 8.000000e-01 6.700000e-01
6.491000e-02 8.200000e-01 6.800000e-01
6.595000e-02 8.300000e-01 6.800000e-01
6.702000e-02 8.400000e-01 6.900000e-01
6.812000e-02 8.500000e-01 7.000000e-01
6.888000e-02 8.700000e-01 7.000000e-01
7.005000e-02 8.700000e-01 7.100000e-01
7.085000e-02 8.800000e-01 7.200000e-01
7.208000e-02 8.900000e-01 7.200000e-01
7.293000e-02 9.000000e-01 7.300000e-01
7.380000e-02 9.000000e-01 7.400000e-01
7.514000e-02 9.100000e-01 7.500000e-01
7.606000e-02 9.200000e-01 7.600000e-01
7.701000e-02 9.200000e-01 7.700000e-01
7.897000e-02 9.500000e-01 7.900000e-01
7.999000e-02 9.600000e-01 8.000000e-01
8.104000e-02 9.700000e-01 8.000000e-01
8.321000e-02 1.000000e+00 8.200000e-01
8.377000e-02 1.010000e+00 8.200000e-01
8.492000e-02 1.030000e+00 8.200000e-01
8.670000e-02 1.060000e+00 8.200000e-01
8.920000e-02 1.090000e+00 8.200000e-01
8.984000e-02 1.100000e+00 8.200000e-01
9.184000e-02 1.120000e+00 8.000000e-01
9.322000e-02 1.130000e+00 8.000000e-01
9.465000e-02 1.150000e+00 7.700000e-01
9.686000e-02 1.150000e+00 7.500000e-01
9.919000e-02 1.150000e+00 7.300000e-01
1.008000e-01 1.140000e+00 7.100000e-01
1.033000e-01 1.130000e+00 7.000000e-01
1.060000e-01 1.100000e+00 6.900000e-01
1.078000e-01 1.090000e+00 6.900000e-01
1.097000e-01 1.070000e+00 6.900000e-01
1.117000e-01 1.050000e+00 6.900000e-01
1.148000e-01 1.030000e+00 7.000000e-01
1.181000e-01 1.010000e+00 7.200000e-01
1.204000e-01 1.000000e+00 7.200000e-01
1.240000e-01 9.800000e-01 7.300000e-01
1.270000e-01 9.500000e-01 7.300000e-01
1.300000e-01 9.200000e-01 7.400000e-01
1.340000e-01 8.600000e-01 7.700000e-01
1.370000e-01 8.300000e-01 8.100000e-01
1.390000e-01 8.100000e-01 8.300000e-01
1.420000e-01 7.800000e-01 8.700000e-01
1.440000e-01 7.600000e-01 8.900000e-01
1.460000e-01 7.400000e-01 9.200000e-01
1.490000e-01 7.200000e-01 9.700000e-01
1.510000e-01 7.100000e-01 1.000000e+00
1.531000e-01 6.900000e-01 1.040000e+00
1.550000e-01 6.800000e-01 1.070000e+00
1.569000e-01 6.800000e-01 1.110000e+00
1.590000e-01 6.700000e-01 1.150000e+00
1.610000e-01 6.700000e-01 1.190000e+00
1.629000e-01 6.600000e-01 1.230000e+00
1.649000e-01 6.700000e-01 1.270000e+00
1.680000e-01 6.900000e-01 1.330000e+00
1.701000e-01 7.000000e-01 1.360000e+00
1.720000e-01 7.100000e-01 1.390000e+00
1.739000e-01 7.200000e-01 1.420000e+00
1.769000e-01 7.400000e-01 1.450000e+00
1.799000e-01 7.600000e-01 1.490000e+00
1.821000e-01 7.500000e-01 1.510000e+00
1.851000e-01 7.800000e-01 1.570000e+00
1.879000e-01 8.000000e-01 1.590000e+00
1.910000e-01 8.200000e-01 1.630000e+00
1.940000e-01 8.500000e-01 1.660000e+00
1.971000e-01 8.800000e-01 1.680000e+00
2.000000e-01 8.900000e-01 1.690000e+00
2.029000e-01 9.200000e-01 1.720000e+00
2.070000e-01 9.400000e-01 1.730000e+00
2.101000e-01 9.600000e-01 1.730000e+00
2.141000e-01 9.700000e-01 1.740000e+00
2.171000e-01 9.700000e-01 1.750000e+00
2.210000e-01 9.500000e-01 1.740000e+00
2.250000e-01 9.400000e-01 1.760000e+00
2.300000e-01 9.300000e-01 1.800000e+00
2.339000e-01 9.000000e-01 1.830000e+00
2.380000e-01 8.700000e-01 1.870000e+00
2.431000e-01 8.600000e-01 1.940000e+00
2.480000e-01 8.500000e-01 2.010000e+00
2.530000e-01 8.600000e-01 2.070000e+00
2.583000e-01 8.600000e-01 2.130000e+00
2.638000e-01 8.600000e-01 2.210000e+00
2.695000e-01 8.800000e-01 2.280000e+00
2.755000e-01 8.900000e-01 2.350000e+00
2.818000e-01 9.000000e-01 2.420000e+00
2.870000e-01 9.100000e-01 2.490000e+00
2.938000e-01 9.400000e-01 2.580000e+00
3.002000e-01 9.800000e-01 2.670000e+00
3.077000e-01 1.020000e+00 2.760000e+00
3.163000e-01 1.060000e+00 2.850000e+00
3.237000e-01 1.120000e+00 2.950000e+00
3.333000e-01 1.180000e+00 3.040000e+00
3.416000e-01 1.260000e+00 3.120000e+00
3.512000e-01 1.330000e+00 3.180000e+00
3.625000e-01 1.390000e+00 3.240000e+00
3.723000e-01 1.430000e+00 3.310000e+00
3.850000e-01 1.440000e+00 3.400000e+00
3.961000e-01 1.480000e+00 3.540000e+00
4.092000e-01 1.540000e+00 3.710000e+00
4.246000e-01 1.650000e+00 3.890000e+00
4.381000e-01 1.800000e+00 4.060000e+00
4.558000e-01 1.990000e+00 4.220000e+00
4.714000e-01 2.220000e+00 4.360000e+00
4.901000e-01 2.490000e+00 4.440000e+00
5.123000e-01 2.750000e+00 4.460000e+00
5.321000e-01 2.980000e+00 4.450000e+00
5.585000e-01 3.180000e+00 4.410000e+00
5.821000e-01 3.340000e+00 4.380000e+00
6.108000e-01 3.480000e+00 4.360000e+00
7.005000e-01 3.840000e+00 4.370000e+00
8.157000e-01 4.230000e+00 4.340000e+00
8.266000e-01 4.270000e+00 4.330000e+00
8.492000e-01 4.310000e+00 4.320000e+00
8.610000e-01 4.330000e+00 4.320000e+00
8.856000e-01 4.380000e+00 4.310000e+00
9.116000e-01 4.420000e+00 4.300000e+00
9.393000e-01 4.470000e+00 4.290000e+00
9.686000e-01 4.490000e+00 4.280000e+00
9.999000e-01 4.500000e+00 4.280000e+00
1.033000e+00 4.520000e+00 4.290000e+00
1.069000e+00 4.530000e+00 4.300000e+00
1.107000e+00 4.530000e+00 4.310000e+00
1.148000e+00 4.530000e+00 4.340000e+00
1.192000e+00 4.510000e+00 4.360000e+00
1.240000e+00 4.470000e+00 4.430000e+00
1.292000e+00 4.470000e+00 4.500000e+00
1.348000e+00 4.450000e+00 4.560000e+00
1.378000e+00 4.430000e+00 4.600000e+00
1.442000e+00 4.350000e+00 4.660000e+00
1.512000e+00 4.240000e+00 4.810000e+00
1.590000e+00 4.130000e+00 5.030000e+00
1.675000e+00 4.060000e+00 5.300000e+00
1.771000e+00 4.010000e+00 5.590000e+00
1.879000e+00 3.960000e+00 5.950000e+00
2.000000e+00 4.010000e+00 6.310000e+00
2.138000e+00 4.010000e+00 6.650000e+00
2.296000e+00 3.920000e+00 7.060000e+00
2.480000e+00 3.830000e+00 7.580000e+00
2.695000e+00 3.720000e+00 8.200000e+00
2.952000e+00 3.470000e+00 8.970000e+00
3.263000e+00 3.090000e+00 1.020000e+01
3.647000e+00 2.890000e+00 1.200000e+01
4.133000e+00 3.150000e+00 1.430000e+01
4.769000e+00 3.910000e+00 1.710000e+01
5.636000e+00 5.300000e+00 2.060000e+01
6.888000e+00 8.730000e+00 2.540000e+01
8.856000e+00 1.530000e+01 2.640000e+01
1.240000e+01 1.180000e+01 2.980000e+01
1.378000e+01 1.180000e+01 3.390000e+01
1.550000e+01 1.360000e+01 4.220000e+01
2.066000e+01 2.230456e+01 5.826661e+01
2.133578e+01 2.330990e+01 5.963616e+01
2.203366e+01 2.435012e+01 6.101653e+01
2.275437e+01 2.542525e+01 6.240691e+01
2.349866e+01 2.653526e+01 6.380654e+01
2.426729e+01 2.768002e+01 6.521467e+01
2.506106e+01 2.885935e+01 6.663056e+01
2.588079e+01 3.007301e+01 6.805355e+01
2.672734e+01 3.132067e+01 6.948298e+01
2.760158e+01 3.260195e+01 7.091828e+01
2.850441e+01 3.391643e+01 7.235890e+01
2.943678e+01 3.526362e+01 7.380438e+01
3.039964e+01 3.664301e+01 7.525432e+01
3.139400e+01 3.805401e+01 7.670838e+01
3.242088e+01 3.949606e+01 7.816629e+01
3.348135e+01 4.096852e+01 7.962787e+01
3.457651e+01 4.247077e+01 8.109299e+01
3.570749e+01 4.400216e+01 8.256163e+01
3.687547e+01 4.556205e+01 8.403382e+01
3.808165e+01 4.714980e+01 8.550967e+01
3.932728e+01 4.876476e+01 8.698937e+01
4.061365e+01 5.040633e+01 8.847317e+01
4.194211e+01 5.207391e+01 8.996139e+01
4.331401e+01 5.376691e+01 9.145443e+01
4.473079e+01 5.548481e+01 9.295273e+01
4.619392e+01 5.722709e+01 9.445681e+01
4.770490e+01 5.899329e+01 9.596722e+01
4.926530e+01 6.078297e+01 9.748458e+01
5.087675e+01 6.259575e+01 9.900955e+01
5.254090e+01 6.443129e+01 1.005428e+02
5.425949e+01 6.628928e+01 1.020851e+02
5.603429e+01 6.816949e+01 1.036373e+02
5.786714e+01 7.007170e+01 1.052000e+02
5.975995e+01 7.199576e+01 1.067742e+02
6.171467e+01 7.394157e+01 1.083606e+02
6.373332e+01 7.590906e+01 1.099602e+02
6.581801e+01 7.789823e+01 1.115738e+02
6.797089e+01 7.990909e+01 1.132022e+02
7.019418e+01 8.194173e+01 1.148465e+02
7.249020e+01 8.399625e+01 1.165075e+02
7.486132e+01 8.607283e+01 1.181861e+02
7.730999e+01 8.817165e+01 1.198832e+02
7.983877e+01 9.029295e+01 1.215997e+02
8.245025e+01 9.243701e+01 1.233366e+02
8.514716e+01 9.460412e+01 1.250948e+02
8.793228e+01 9.679463e+01 1.268751e+02
9.080851e+01 9.900891e+01 1.286784e+02
9.377881e+01 1.012474e+02 1.305057e+02
9.684627e+01 1.035104e+02 1.323579e+02
1.000141e+02 1.057985e+02 1.342358e+02
1.032855e+02 1.081121e+02 1.361403e+02
1.066639e+02 1.104518e+02 1.380724e+02
1.101528e+02 1.128180e+02 1.400328e+02
1.137559e+02 1.152113e+02 1.420224e+02
1.174768e+02 1.176323e+02 1.440421e+02
1.213194e+02 1.200816e+02 1.460928e+02
1.252877e+02 1.225597e+02 1.481752e+02
1.293858e+02 1.250674e+02 1.502903e+02
1.336179e+02 1.276052e+02 1.524389e+02
1.379885e+02 1.301738e+02 1.546218e+02
1.425020e+02 1.327738e+02 1.568398e+02
1.471632e+02 1.354060e+02 1.590938e+02
1.519768e+02 1.380711e+02 1.613847e+02
1.569479e+02 1.407697e+02 1.637131e+02
1.620816e+02 1.435026e+02 1.660800e+02
1.673832e+02 1.462705e+02 1.684862e+02
1.728582e+02 1.490743e+02 1.709325e+02
1.785124e+02 1.519145e+02 1.734198e+02
1.843514e+02 1.547921e+02 1.759488e+02
1.903815e+02 1.577078e+02 1.785204e+02
1.966087e+02 1.606624e+02 1.811354e+02
2.030397e+02 1.636567e+02 1.837946e+02
2.096810e+02 1.666916e+02 1.864990e+02
2.165396e+02 1.697678e+02 1.892493e+02
2.236225e+02 1.728862e+02 1.920464e+02
2.309371e+02 1.760477e+02 1.948911e+02
2.384909e+02 1.792531e+02 1.977843e+02
2.462919e+02 1.825034e+02 2.007269e+02
2.543480e+02 1.857993e+02 2.037196e+02
2.626676e+02 1.891418e+02 2.067635e+02
2.712593e+02 1.925319e+02 2.098594e+02
2.801320e+02 1.959703e+02 2.130081e+02
2.892950e+02 1.994582e+02 2.162107e+02
2.987577e+02 2.029963e+02 2.194679e+02
3.085299e+02 2.065857e+02 2.227808e+02
3.186218e+02 2.102274e+02 2.261502e+02
3.290438e+02 2.139223e+02 2.295770e+02
3.398066e+02 2.176714e+02 2.330624e+02
3.509216e+02 2.214757e+02 2.366071e+02
3.624000e+02 2.253363e+02 2.402122e+02
3.742540e+02 2.292542e+02 2.438787e+02
3.864956e+02 2.332304e+02 2.476076e+02
3.991377e+02 2.372660e+02 2.513999e+02
4.121933e+02 2.413622e+02 2.552565e+02
4.256759e+02 2.455199e+02 2.591787e+02
4.395996e+02 2.497403e+02 2.631673e+02
4.539787e+02 2.540245e+02 2.672236e+02
4.688281e+02 2.583737e+02 2.713485e+02
4.841633e+02 2.627890e+02 2.755432e+02
5.000000e+02 2.672715e+02 2.798088e+02
305 changes: 305 additions & 0 deletions nk/Fe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,305 @@
300 .True.
#Refractive index of Fe[s]; Lynch & Hunter (1991) in Palik: "Handbook of Optical Constants of Solids"
#
#
#Wavelength (micron) n k
1.240000e-04 9.999849e-01 1.320000e-06
1.298000e-04 9.999834e-01 1.570000e-06
1.360000e-04 9.999819e-01 1.860000e-06
1.424000e-04 9.999803e-01 2.190000e-06
1.492000e-04 9.999787e-01 2.590000e-06
1.562000e-04 9.999771e-01 3.040000e-06
1.636000e-04 9.999755e-01 3.580000e-06
1.674000e-04 9.999750e-01 3.880000e-06
1.713000e-04 9.999750e-01 4.200000e-06
1.753000e-04 9.999753e-01 5.700000e-07
1.794000e-04 9.999721e-01 6.210000e-07
1.836000e-04 9.999701e-01 6.770000e-07
1.879000e-04 9.999682e-01 7.380000e-07
1.968000e-04 9.999645e-01 8.770000e-07
2.061000e-04 9.999607e-01 1.040000e-06
2.159000e-04 9.999565e-01 1.240000e-06
2.261000e-04 9.999520e-01 1.470000e-06
2.368000e-04 9.999471e-01 1.750000e-06
2.480000e-04 9.999416e-01 2.080000e-06
2.597000e-04 9.999357e-01 2.480000e-06
2.720000e-04 9.999293e-01 2.940000e-06
2.848000e-04 9.999222e-01 3.500000e-06
2.983000e-04 9.999144e-01 4.160000e-06
3.124000e-04 9.999058e-01 4.950000e-06
3.272000e-04 9.998960e-01 5.880000e-06
3.426000e-04 9.998860e-01 6.990000e-06
3.588000e-04 9.998750e-01 8.300000e-06
3.758000e-04 9.998620e-01 9.860000e-06
3.936000e-04 9.998480e-01 1.170000e-05
4.122000e-04 9.998340e-01 1.390000e-05
4.317000e-04 9.998170e-01 1.650000e-05
4.521000e-04 9.997990e-01 1.960000e-05
4.735000e-04 9.997790e-01 2.320000e-05
4.959000e-04 9.997570e-01 2.760000e-05
5.193000e-04 9.997330e-01 3.270000e-05
5.439000e-04 9.997070e-01 3.870000e-05
5.696000e-04 9.996790e-01 4.580000e-05
5.965000e-04 9.996470e-01 5.420000e-05
6.248000e-04 9.996140e-01 6.410000e-05
6.543000e-04 9.995760e-01 7.570000e-05
6.852000e-04 9.995360e-01 8.940000e-05
7.176000e-04 9.994920e-01 1.060000e-04
7.516000e-04 9.994450e-01 1.240000e-04
7.871000e-04 9.993930e-01 1.460000e-04
8.244000e-04 9.993370e-01 1.720000e-04
8.633000e-04 9.992780e-01 2.030000e-04
9.041000e-04 9.992140e-01 2.380000e-04
9.469000e-04 9.991460e-01 2.790000e-04
9.917000e-04 9.990750e-01 3.280000e-04
1.039000e-03 9.990000e-01 3.840000e-04
1.088000e-03 9.989200e-01 4.490000e-04
1.139000e-03 9.988400e-01 5.260000e-04
1.193000e-03 9.987600e-01 6.150000e-04
1.249000e-03 9.986900e-01 7.190000e-04
1.309000e-03 9.986200e-01 8.380000e-04
1.370000e-03 9.985700e-01 9.800000e-04
1.402000e-03 9.985600e-01 1.060000e-03
1.435000e-03 9.985800e-01 1.150000e-03
1.469000e-03 9.986300e-01 1.100000e-03
1.503000e-03 9.985700e-01 1.190000e-03
1.538000e-03 9.985600e-01 1.280000e-03
1.574000e-03 9.985800e-01 1.380000e-03
1.611000e-03 9.986400e-01 1.500000e-03
1.649000e-03 9.987500e-01 1.620000e-03
1.687000e-03 9.989700e-01 1.750000e-03
1.727000e-03 9.995790e-01 1.890000e-03
1.767000e-03 9.997630e-01 2.400000e-04
1.808000e-03 9.991000e-01 2.570000e-04
1.851000e-03 9.987600e-01 2.760000e-04
1.894000e-03 9.985100e-01 2.980000e-04
1.938000e-03 9.983100e-01 3.220000e-04
2.030000e-03 9.979400e-01 3.710000e-04
2.126000e-03 9.975900e-01 4.290000e-04
2.226000e-03 9.972400e-01 4.990000e-04
2.331000e-03 9.968700e-01 5.800000e-04
2.442000e-03 9.964900e-01 6.750000e-04
2.557000e-03 9.960800e-01 7.850000e-04
2.678000e-03 9.956400e-01 9.130000e-04
2.805000e-03 9.951700e-01 1.060000e-03
2.937000e-03 9.946500e-01 1.230000e-03
3.076000e-03 9.941100e-01 1.430000e-03
3.222000e-03 9.935100e-01 1.650000e-03
3.374000e-03 9.928600e-01 1.930000e-03
3.534000e-03 9.921800e-01 2.250000e-03
3.701000e-03 9.914700e-01 2.630000e-03
3.876000e-03 9.907200e-01 3.010000e-03
4.059000e-03 9.899000e-01 3.440000e-03
4.251000e-03 9.890000e-01 3.940000e-03
4.452000e-03 9.881000e-01 4.510000e-03
4.663000e-03 9.872000e-01 5.070000e-03
4.883000e-03 9.862000e-01 5.680000e-03
5.114000e-03 9.850000e-01 6.350000e-03
5.356000e-03 9.838000e-01 7.110000e-03
5.609000e-03 9.823000e-01 8.000000e-03
5.874000e-03 9.809000e-01 9.090000e-03
6.152000e-03 9.794000e-01 1.030000e-02
6.443000e-03 9.779000e-01 1.180000e-02
6.748000e-03 9.765000e-01 1.310000e-02
7.067000e-03 9.749000e-01 1.450000e-02
7.401000e-03 9.732000e-01 1.610000e-02
7.751000e-03 9.713000e-01 1.780000e-02
8.117000e-03 9.694000e-01 1.970000e-02
8.501000e-03 9.674000e-01 2.180000e-02
8.903000e-03 9.653000e-01 2.400000e-02
9.324000e-03 9.631000e-01 2.640000e-02
9.766000e-03 9.609000e-01 2.910000e-02
1.023000e-02 9.587000e-01 3.170000e-02
1.071000e-02 9.561000e-01 3.450000e-02
1.122000e-02 9.534000e-01 3.750000e-02
1.175000e-02 9.505000e-01 4.080000e-02
1.230000e-02 9.474000e-01 4.430000e-02
1.259000e-02 9.457000e-01 4.610000e-02
1.289000e-02 9.440000e-01 4.810000e-02
1.319000e-02 9.422000e-01 5.010000e-02
1.349000e-02 9.403000e-01 5.220000e-02
1.381000e-02 9.383000e-01 5.440000e-02
1.413000e-02 9.363000e-01 5.670000e-02
1.446000e-02 9.341000e-01 5.920000e-02
1.515000e-02 9.295000e-01 6.440000e-02
1.586000e-02 9.243000e-01 7.020000e-02
1.661000e-02 9.172000e-01 7.700000e-02
1.740000e-02 9.102000e-01 8.770000e-02
1.822000e-02 9.034000e-01 1.000000e-01
1.908000e-02 8.969000e-01 1.210000e-01
1.999000e-02 9.013000e-01 1.490000e-01
2.093000e-02 9.252000e-01 1.790000e-01
2.192000e-02 9.751000e-01 1.910000e-01
2.243000e-02 1.012000e+00 1.850000e-01
2.296000e-02 1.109000e+00 1.750000e-01
2.349000e-02 1.004000e+00 5.360000e-02
2.404000e-02 9.695000e-01 6.040000e-02
2.480000e-02 9.667830e-01 6.500000e-02
2.755000e-02 9.570152e-01 9.200000e-02
3.100000e-02 9.449006e-01 1.180000e-01
4.769000e-02 8.884244e-01 3.760000e-01
4.806000e-02 8.872113e-01 3.830000e-01
4.843000e-02 8.860000e-01 3.950000e-01
4.881000e-02 8.840000e-01 4.020000e-01
4.920000e-02 8.810000e-01 4.080000e-01
4.959000e-02 8.770000e-01 4.110000e-01
4.999000e-02 8.740000e-01 4.180000e-01
5.040000e-02 8.760000e-01 4.340000e-01
5.081000e-02 8.720000e-01 4.360000e-01
5.123000e-02 8.700000e-01 4.430000e-01
5.166000e-02 8.670000e-01 4.500000e-01
5.209000e-02 8.650000e-01 4.680000e-01
5.254000e-02 8.590000e-01 4.770000e-01
5.298000e-02 8.610000e-01 4.820000e-01
5.344000e-02 8.620000e-01 4.930000e-01
5.391000e-02 8.630000e-01 5.040000e-01
5.438000e-02 8.610000e-01 5.110000e-01
5.486000e-02 8.630000e-01 5.150000e-01
5.535000e-02 8.620000e-01 5.220000e-01
5.585000e-02 8.650000e-01 5.370000e-01
5.636000e-02 8.720000e-01 5.560000e-01
5.687000e-02 8.740000e-01 5.610000e-01
5.740000e-02 8.750000e-01 5.710000e-01
5.794000e-02 8.750000e-01 5.710000e-01
5.848000e-02 8.780000e-01 5.750000e-01
5.904000e-02 8.820000e-01 5.900000e-01
5.961000e-02 8.920000e-01 6.050000e-01
6.019000e-02 8.980000e-01 6.130000e-01
6.078000e-02 9.030000e-01 6.200000e-01
6.138000e-02 9.050000e-01 6.240000e-01
6.199000e-02 9.100000e-01 6.320000e-01
6.262000e-02 9.190000e-01 6.360000e-01
6.326000e-02 9.240000e-01 6.440000e-01
6.391000e-02 9.270000e-01 6.470000e-01
6.458000e-02 9.330000e-01 6.480000e-01
6.525000e-02 9.360000e-01 6.520000e-01
6.595000e-02 9.380000e-01 6.560000e-01
6.666000e-02 9.380000e-01 6.560000e-01
6.738000e-02 9.410000e-01 6.590000e-01
6.812000e-02 9.410000e-01 6.590000e-01
6.888000e-02 9.390000e-01 6.650000e-01
6.965000e-02 9.440000e-01 6.720000e-01
7.045000e-02 9.460000e-01 6.820000e-01
7.126000e-02 9.450000e-01 6.880000e-01
7.208000e-02 9.470000e-01 6.970000e-01
7.293000e-02 9.480000e-01 7.070000e-01
7.380000e-02 9.520000e-01 7.190000e-01
7.469000e-02 9.550000e-01 7.230000e-01
7.560000e-02 9.510000e-01 7.310000e-01
7.653000e-02 9.440000e-01 7.420000e-01
7.749000e-02 9.400000e-01 7.500000e-01
7.847000e-02 9.410000e-01 7.650000e-01
7.948000e-02 9.430000e-01 7.740000e-01
8.051000e-02 9.450000e-01 7.830000e-01
8.157000e-02 9.490000e-01 7.910000e-01
8.266000e-02 9.520000e-01 7.980000e-01
8.377000e-02 9.590000e-01 8.240000e-01
8.492000e-02 9.740000e-01 8.470000e-01
8.610000e-02 9.880000e-01 8.700000e-01
8.731000e-02 9.930000e-01 8.810000e-01
8.856000e-02 1.000000e+00 8.890000e-01
8.984000e-02 1.000000e+00 8.980000e-01
9.116000e-02 1.010000e+00 9.110000e-01
9.253000e-02 1.020000e+00 9.250000e-01
9.393000e-02 1.030000e+00 9.350000e-01
9.537000e-02 1.050000e+00 9.510000e-01
9.686000e-02 1.060000e+00 9.640000e-01
9.840000e-02 1.080000e+00 9.720000e-01
9.999000e-02 1.090000e+00 9.680000e-01
1.016000e-01 1.100000e+00 9.710000e-01
1.033000e-01 1.100000e+00 9.690000e-01
1.051000e-01 1.110000e+00 9.670000e-01
1.069000e-01 1.120000e+00 9.680000e-01
1.088000e-01 1.110000e+00 9.580000e-01
1.107000e-01 1.110000e+00 9.530000e-01
1.127000e-01 1.110000e+00 9.500000e-01
1.148000e-01 1.100000e+00 9.590000e-01
1.170000e-01 1.070000e+00 9.910000e-01
1.192000e-01 1.070000e+00 1.020000e+00
1.216000e-01 1.060000e+00 1.060000e+00
1.240000e-01 1.050000e+00 1.090000e+00
1.265000e-01 1.080000e+00 1.130000e+00
1.292000e-01 1.090000e+00 1.150000e+00
1.319000e-01 1.100000e+00 1.170000e+00
1.348000e-01 1.120000e+00 1.190000e+00
1.378000e-01 1.120000e+00 1.200000e+00
1.409000e-01 1.130000e+00 1.220000e+00
1.442000e-01 1.130000e+00 1.240000e+00
1.476000e-01 1.130000e+00 1.260000e+00
1.512000e-01 1.130000e+00 1.280000e+00
1.550000e-01 1.130000e+00 1.320000e+00
1.590000e-01 1.150000e+00 1.320000e+00
1.631000e-01 1.150000e+00 1.370000e+00
1.675000e-01 1.150000e+00 1.400000e+00
1.722000e-01 1.130000e+00 1.450000e+00
1.771000e-01 1.150000e+00 1.490000e+00
1.823000e-01 1.200000e+00 1.540000e+00
1.879000e-01 1.220000e+00 1.610000e+00
1.937000e-01 1.230000e+00 1.670000e+00
2.000000e-01 1.280000e+00 1.710000e+00
2.066000e-01 1.300000e+00 1.730000e+00
2.138000e-01 1.320000e+00 1.750000e+00
2.214000e-01 1.320000e+00 1.780000e+00
2.296000e-01 1.310000e+00 1.820000e+00
2.384000e-01 1.320000e+00 1.880000e+00
2.480000e-01 1.310000e+00 1.950000e+00
1.000000e+00 3.230000e+00 4.350000e+00
1.111000e+00 3.320000e+00 4.650000e+00
1.250000e+00 3.420000e+00 5.040000e+00
1.429000e+00 3.530000e+00 5.540000e+00
1.667000e+00 3.670000e+00 6.210000e+00
2.000000e+00 3.840000e+00 7.160000e+00
2.105000e+00 3.920000e+00 7.500000e+00
2.222000e+00 3.980000e+00 7.800000e+00
2.353000e+00 4.040000e+00 8.180000e+00
2.500000e+00 4.130000e+00 8.590000e+00
2.667000e+00 4.220000e+00 9.020000e+00
2.857000e+00 4.300000e+00 9.550000e+00
3.077000e+00 4.390000e+00 1.010000e+01
3.333000e+00 4.450000e+00 1.080000e+01
3.636000e+00 4.510000e+00 1.160000e+01
4.000000e+00 4.540000e+00 1.260000e+01
4.444000e+00 4.590000e+00 1.380000e+01
5.000000e+00 4.590000e+00 1.540000e+01
5.263000e+00 4.600000e+00 1.620000e+01
5.555000e+00 4.630000e+00 1.710000e+01
5.882000e+00 4.660000e+00 1.810000e+01
6.250000e+00 4.960000e+00 1.920000e+01
6.667000e+00 4.750000e+00 2.050000e+01
7.143000e+00 4.890000e+00 2.200000e+01
7.692000e+00 5.100000e+00 2.370000e+01
8.333000e+00 5.370000e+00 2.560000e+01
9.091000e+00 5.590000e+00 2.780000e+01
1.000000e+01 5.810000e+00 3.040000e+01
1.053000e+01 5.950000e+00 3.200000e+01
1.111000e+01 6.120000e+00 3.370000e+01
1.176000e+01 6.310000e+00 3.570000e+01
1.250000e+01 6.480000e+00 3.770000e+01
1.333000e+01 6.880000e+00 4.030000e+01
1.429000e+01 7.300000e+00 4.320000e+01
1.538000e+01 7.710000e+00 4.650000e+01
1.667000e+01 8.380000e+00 5.030000e+01
1.818000e+01 9.040000e+00 5.470000e+01
2.000000e+01 9.870000e+00 6.010000e+01
2.083000e+01 1.030000e+01 6.260000e+01
2.174000e+01 1.070000e+01 6.540000e+01
2.273000e+01 1.130000e+01 6.860000e+01
2.381000e+01 1.200000e+01 7.190000e+01
2.500000e+01 1.300000e+01 7.570000e+01
2.632000e+01 1.420000e+01 7.980000e+01
2.778000e+01 1.570000e+01 8.450000e+01
2.941000e+01 1.770000e+01 8.930000e+01
3.125000e+01 1.990000e+01 9.450000e+01
3.333000e+01 2.250000e+01 1.000000e+02
3.571000e+01 2.520000e+01 1.060000e+02
3.846000e+01 2.910000e+01 1.140000e+02
4.167000e+01 3.360000e+01 1.220000e+02
4.545000e+01 3.860000e+01 1.300000e+02
5.000000e+01 4.570000e+01 1.410000e+02
5.555000e+01 5.420000e+01 1.520000e+02
8.000000e+01 7.520000e+01 1.580000e+02
1.000000e+02 9.540000e+01 1.820000e+02
1.250000e+02 1.200000e+02 2.070000e+02
1.538000e+02 1.470000e+02 2.300000e+02
2.000000e+02 1.830000e+02 2.600000e+02
2.857000e+02 2.380000e+02 3.060000e+02
806 changes: 806 additions & 0 deletions nk/Fe2O3.txt

Large diffs are not rendered by default.

3,081 changes: 3,081 additions & 0 deletions nk/Fe2SiO4.txt

Large diffs are not rendered by default.

82 changes: 82 additions & 0 deletions nk/FeO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
77 .False.
#Refractive index of FeO[s]; Henning et al. (1995), Astronomy and Astrophysics Supplement, v.112, p.143; Database of Optical Constants for Cosmic Dust, Laboratory Astrophysics Group of the AIU Jena
#
#
#Wavelength (micron) n k
2.000000e-01 1.380000e+00 1.160000e+00
2.500000e-01 1.770000e+00 1.160000e+00
3.000000e-01 2.000000e+00 1.050000e+00
3.500000e-01 2.130000e+00 9.500000e-01
4.000000e-01 2.220000e+00 8.700000e-01
4.500000e-01 2.290000e+00 8.000000e-01
5.000000e-01 2.340000e+00 7.400000e-01
6.000000e-01 2.420000e+00 6.400000e-01
7.000000e-01 2.440000e+00 5.500000e-01
8.000000e-01 2.440000e+00 5.100000e-01
9.000000e-01 2.440000e+00 5.000000e-01
1.000000e+00 2.450000e+00 4.900000e-01
1.200000e+00 2.480000e+00 5.100000e-01
1.400000e+00 2.520000e+00 5.300000e-01
1.600000e+00 2.580000e+00 5.300000e-01
1.800000e+00 2.650000e+00 5.100000e-01
2.000000e+00 2.700000e+00 4.600000e-01
2.500000e+00 2.740000e+00 3.400000e-01
3.000000e+00 2.750000e+00 2.700000e-01
3.500000e+00 2.740000e+00 2.200000e-01
4.000000e+00 2.730000e+00 1.900000e-01
4.500000e+00 2.720000e+00 1.700000e-01
5.000000e+00 2.710000e+00 1.500000e-01
6.000000e+00 2.680000e+00 1.300000e-01
7.000000e+00 2.640000e+00 1.200000e-01
8.000000e+00 2.600000e+00 1.100000e-01
9.000000e+00 2.550000e+00 1.100000e-01
1.000000e+01 2.480000e+00 1.100000e-01
1.100000e+01 2.410000e+00 1.200000e-01
1.200000e+01 2.330000e+00 1.300000e-01
1.300000e+01 2.220000e+00 1.500000e-01
1.400000e+01 2.100000e+00 1.900000e-01
1.500000e+01 1.940000e+00 2.400000e-01
1.600000e+01 1.790000e+00 3.600000e-01
1.700000e+01 1.630000e+00 4.200000e-01
1.800000e+01 1.290000e+00 6.000000e-01
1.900000e+01 1.060000e+00 1.020000e+00
2.000000e+01 9.900000e-01 1.460000e+00
2.100000e+01 1.010000e+00 1.880000e+00
2.200000e+01 1.080000e+00 2.290000e+00
2.300000e+01 1.200000e+00 2.690000e+00
2.400000e+01 1.360000e+00 3.110000e+00
2.500000e+01 1.610000e+00 3.560000e+00
2.600000e+01 1.950000e+00 4.000000e+00
2.700000e+01 2.420000e+00 4.420000e+00
2.800000e+01 3.050000e+00 4.790000e+00
2.900000e+01 3.860000e+00 5.010000e+00
3.000000e+01 4.820000e+00 4.920000e+00
3.100000e+01 5.690000e+00 4.430000e+00
3.200000e+01 6.180000e+00 3.640000e+00
3.300000e+01 6.320000e+00 2.880000e+00
3.400000e+01 6.220000e+00 2.350000e+00
3.500000e+01 6.080000e+00 1.960000e+00
3.600000e+01 5.900000e+00 1.680000e+00
3.800000e+01 5.660000e+00 1.330000e+00
4.000000e+01 5.410000e+00 1.130000e+00
4.200000e+01 5.220000e+00 9.900000e-01
4.400000e+01 5.100000e+00 9.200000e-01
4.600000e+01 4.970000e+00 8.800000e-01
4.800000e+01 4.910000e+00 8.500000e-01
5.000000e+01 4.830000e+00 8.200000e-01
6.000000e+01 4.620000e+00 8.300000e-01
7.000000e+01 4.540000e+00 8.700000e-01
8.000000e+01 4.510000e+00 9.300000e-01
9.000000e+01 4.520000e+00 9.900000e-01
1.000000e+02 4.490000e+00 1.060000e+00
1.200000e+02 4.540000e+00 1.240000e+00
1.400000e+02 4.640000e+00 1.380000e+00
1.600000e+02 4.720000e+00 1.460000e+00
1.800000e+02 4.790000e+00 1.540000e+00
2.000000e+02 4.850000e+00 1.620000e+00
2.500000e+02 4.930000e+00 1.810000e+00
3.000000e+02 5.020000e+00 2.030000e+00
3.500000e+02 5.050000e+00 2.180000e+00
4.000000e+02 5.060000e+00 2.480000e+00
4.500000e+02 5.100000e+00 2.660000e+00
5.000000e+02 5.150000e+00 2.820000e+00
299 changes: 299 additions & 0 deletions nk/FeS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,299 @@
294 .False.
#Refractive index of FeS[s]; Pollack et al. (1994) ApJ, 421:615; Henning&Mutschke (1997), A&A, 327:743
#
#
#Wavelength (micron) n k
1.000000e-01 1.334570e+00 7.593370e-01
1.110000e-01 1.317070e+00 7.931070e-01
1.250000e-01 1.317160e+00 8.296590e-01
1.370000e-01 1.345670e+00 8.535510e-01
1.435000e-01 1.369480e+00 8.633380e-01
1.550000e-01 1.404690e+00 8.766860e-01
1.650000e-01 1.415860e+00 8.874010e-01
2.000000e-01 1.403260e+00 9.437690e-01
2.270000e-01 1.419210e+00 9.932630e-01
2.500000e-01 1.444290e+00 1.023510e+00
2.630000e-01 1.457370e+00 1.036760e+00
2.780000e-01 1.467650e+00 1.050820e+00
2.970000e-01 1.469380e+00 1.069000e+00
3.000000e-01 1.468280e+00 1.072060e+00
4.600000e-01 1.311730e+00 1.328980e+00
6.100000e-01 1.483580e+00 1.481020e+00
1.000000e+00 2.147740e+00 2.168360e+00
1.504000e+00 2.722820e+00 2.876804e+00
1.850000e+00 3.154806e+00 3.320475e+00
2.000000e+00 3.357280e+00 3.504723e+00
2.245000e+00 3.711562e+00 3.796799e+00
2.733000e+00 4.539881e+00 4.351009e+00
2.872000e+00 4.817441e+00 4.503125e+00
3.027000e+00 5.158422e+00 4.670107e+00
3.144000e+00 5.443656e+00 4.794415e+00
3.733000e+00 7.978661e+00 5.400000e+00
4.561000e+00 9.091988e+00 1.902557e+00
5.350000e+00 8.076658e+00 3.840285e-01
6.000000e+00 7.454509e+00 1.345107e-01
7.000000e+00 6.968601e+00 6.979434e-02
8.000000e+00 6.724952e+00 8.087629e-02
8.500000e+00 6.648247e+00 8.591402e-02
8.750000e+00 6.616590e+00 8.821192e-02
9.000000e+00 6.588329e+00 9.040043e-02
1.000000e+01 6.498435e+00 9.874167e-02
1.050000e+01 6.463967e+00 1.030728e-01
1.100000e+01 6.434022e+00 1.076373e-01
1.150000e+01 6.408851e+00 1.123592e-01
1.250000e+01 6.367100e+00 1.219897e-01
1.300000e+01 6.345410e+00 1.267707e-01
1.350000e+01 6.333937e+00 1.314547e-01
1.400000e+01 6.319546e+00 1.360439e-01
1.500000e+01 6.293771e+00 1.451861e-01
1.550000e+01 6.282082e+00 1.498556e-01
1.650000e+01 6.259990e+00 1.596527e-01
1.700000e+01 6.249395e+00 1.648739e-01
1.850000e+01 6.220218e+00 1.818007e-01
1.950000e+01 6.202906e+00 1.938098e-01
2.002940e+01 6.189343e+00 1.937600e-01
2.010810e+01 6.185720e+00 1.951000e-01
2.018740e+01 6.182374e+00 1.968800e-01
2.026730e+01 6.179304e+00 1.991200e-01
2.034790e+01 6.176427e+00 2.015600e-01
2.042910e+01 6.173799e+00 2.043900e-01
2.051100e+01 6.171582e+00 2.073600e-01
2.059360e+01 6.169557e+00 2.105900e-01
2.067680e+01 6.168124e+00 2.138000e-01
2.076060e+01 6.167110e+00 2.167600e-01
2.084520e+01 6.166244e+00 2.196500e-01
2.093050e+01 6.165894e+00 2.221200e-01
2.101640e+01 6.165278e+00 2.243200e-01
2.110310e+01 6.164874e+00 2.262300e-01
2.119050e+01 6.164242e+00 2.278700e-01
2.127860e+01 6.163393e+00 2.294100e-01
2.136740e+01 6.162284e+00 2.309700e-01
2.145700e+01 6.161125e+00 2.328800e-01
2.154740e+01 6.160352e+00 2.350300e-01
2.163850e+01 6.159462e+00 2.373000e-01
2.173040e+01 6.159212e+00 2.395400e-01
2.182300e+01 6.159024e+00 2.414200e-01
2.191650e+01 6.157682e+00 2.426600e-01
2.201080e+01 6.158986e+00 2.434000e-01
2.210580e+01 6.160433e+00 2.434000e-01
2.220170e+01 6.156778e+00 2.432100e-01
2.229850e+01 6.155199e+00 2.433100e-01
2.239610e+01 6.150642e+00 2.442100e-01
2.249450e+01 6.146621e+00 2.464000e-01
2.259380e+01 6.142484e+00 2.503600e-01
2.269400e+01 6.139551e+00 2.560800e-01
2.279510e+01 6.138367e+00 2.626100e-01
2.289710e+01 6.139460e+00 2.692300e-01
2.300000e+01 6.142667e+00 2.746300e-01
2.310380e+01 6.149390e+00 2.779600e-01
2.320860e+01 6.151880e+00 2.790900e-01
2.331440e+01 6.158196e+00 2.780800e-01
2.342110e+01 6.158755e+00 2.756500e-01
2.352870e+01 6.159922e+00 2.721400e-01
2.363740e+01 6.159255e+00 2.688000e-01
2.374710e+01 6.156777e+00 2.660100e-01
2.385780e+01 6.153505e+00 2.645400e-01
2.396960e+01 6.149391e+00 2.645600e-01
2.408240e+01 6.145799e+00 2.662400e-01
2.419620e+01 6.143327e+00 2.689100e-01
2.431120e+01 6.141930e+00 2.719200e-01
2.442720e+01 6.142167e+00 2.744600e-01
2.454440e+01 6.143511e+00 2.758300e-01
2.466260e+01 6.145115e+00 2.756100e-01
2.478210e+01 6.146523e+00 2.735700e-01
2.490270e+01 6.146760e+00 2.698500e-01
2.502450e+01 6.144802e+00 2.651200e-01
2.514740e+01 6.140875e+00 2.605600e-01
2.527160e+01 6.134586e+00 2.566300e-01
2.539700e+01 6.126090e+00 2.547200e-01
2.552370e+01 6.117106e+00 2.555000e-01
2.565160e+01 6.108047e+00 2.593900e-01
2.578090e+01 6.101027e+00 2.661600e-01
2.591140e+01 6.097388e+00 2.741900e-01
2.604330e+01 6.097282e+00 2.815500e-01
2.617650e+01 6.100202e+00 2.864800e-01
2.631110e+01 6.104347e+00 2.874700e-01
2.644700e+01 6.107723e+00 2.848100e-01
2.658440e+01 6.109303e+00 2.791400e-01
2.672320e+01 6.107459e+00 2.715000e-01
2.686350e+01 6.101867e+00 2.636100e-01
2.700530e+01 6.092886e+00 2.568600e-01
2.714850e+01 6.080768e+00 2.524700e-01
2.729330e+01 6.067074e+00 2.515600e-01
2.743970e+01 6.053399e+00 2.543200e-01
2.758760e+01 6.040882e+00 2.602100e-01
2.773710e+01 6.031070e+00 2.682700e-01
2.788830e+01 6.024886e+00 2.763100e-01
2.804110e+01 6.021466e+00 2.826300e-01
2.819560e+01 6.020010e+00 2.856300e-01
2.835180e+01 6.018084e+00 2.845700e-01
2.850980e+01 6.013596e+00 2.798800e-01
2.866950e+01 6.004941e+00 2.729900e-01
2.883100e+01 5.990567e+00 2.664600e-01
2.899430e+01 5.971349e+00 2.628200e-01
2.915950e+01 5.948901e+00 2.641500e-01
2.932660e+01 5.925194e+00 2.713000e-01
2.949570e+01 5.903766e+00 2.839500e-01
2.966670e+01 5.886553e+00 2.998800e-01
2.983970e+01 5.873964e+00 3.156000e-01
3.001470e+01 5.866473e+00 3.277800e-01
3.019170e+01 5.859858e+00 3.334000e-01
3.037090e+01 5.849609e+00 3.316800e-01
3.055220e+01 5.830939e+00 3.244600e-01
3.073570e+01 5.799005e+00 3.165200e-01
3.092150e+01 5.752525e+00 3.150800e-01
3.110940e+01 5.694444e+00 3.273500e-01
3.129970e+01 5.628871e+00 3.595600e-01
3.149230e+01 5.563381e+00 4.145500e-01
3.168730e+01 5.506611e+00 4.914600e-01
3.188470e+01 5.466534e+00 5.867500e-01
3.208460e+01 5.449053e+00 6.939300e-01
3.228710e+01 5.457150e+00 8.055800e-01
3.249210e+01 5.492200e+00 9.137200e-01
3.269970e+01 5.553026e+00 1.010450e+00
3.291000e+01 5.635873e+00 1.088290e+00
3.312300e+01 5.734802e+00 1.141370e+00
3.333880e+01 5.841376e+00 1.166770e+00
3.355740e+01 5.946977e+00 1.164270e+00
3.377890e+01 6.044429e+00 1.136390e+00
3.400330e+01 6.127701e+00 1.088050e+00
3.423080e+01 6.193889e+00 1.024080e+00
3.446130e+01 6.240422e+00 9.485400e-01
3.469490e+01 6.265684e+00 8.642300e-01
3.493170e+01 6.265803e+00 7.737900e-01
3.517180e+01 6.235987e+00 6.826300e-01
3.541520e+01 6.171978e+00 5.998100e-01
3.566200e+01 6.073431e+00 5.385200e-01
3.591230e+01 5.945752e+00 5.125700e-01
3.616610e+01 5.800926e+00 5.331800e-01
3.642350e+01 5.654449e+00 6.052800e-01
3.668460e+01 5.522873e+00 7.273100e-01
3.694950e+01 5.420187e+00 8.927500e-01
3.721820e+01 5.358030e+00 1.092480e+00
3.749080e+01 5.347214e+00 1.315480e+00
3.776750e+01 5.396846e+00 1.549410e+00
3.804830e+01 5.515080e+00 1.778290e+00
3.833330e+01 5.707840e+00 1.980610e+00
3.862260e+01 5.973990e+00 2.127180e+00
3.891640e+01 6.298864e+00 2.182890e+00
3.921460e+01 6.643642e+00 2.116680e+00
3.951740e+01 6.947214e+00 1.921200e+00
3.982490e+01 7.145639e+00 1.630020e+00
4.013730e+01 7.205397e+00 1.313290e+00
4.045450e+01 7.138329e+00 1.043740e+00
4.077690e+01 6.992034e+00 8.672200e-01
4.110440e+01 6.817215e+00 7.930500e-01
4.143720e+01 6.654758e+00 8.068400e-01
4.177550e+01 6.531533e+00 8.836500e-01
4.211930e+01 6.462289e+00 9.973500e-01
4.246890e+01 6.453007e+00 1.123340e+00
4.282430e+01 6.502063e+00 1.238440e+00
4.318570e+01 6.600538e+00 1.322180e+00
4.355320e+01 6.731086e+00 1.359020e+00
4.392700e+01 6.872003e+00 1.341700e+00
4.430740e+01 6.999561e+00 1.274790e+00
4.469430e+01 7.094724e+00 1.172760e+00
4.508810e+01 7.148645e+00 1.057400e+00
4.548890e+01 7.164103e+00 9.484600e-01
4.589690e+01 7.151898e+00 8.596700e-01
4.631220e+01 7.126121e+00 7.955800e-01
4.673520e+01 7.099370e+00 7.537000e-01
4.716590e+01 7.080358e+00 7.265600e-01
4.760470e+01 7.073722e+00 7.056700e-01
4.805160e+01 7.078937e+00 6.797000e-01
4.850710e+01 7.087490e+00 6.416100e-01
4.897130e+01 7.090851e+00 5.925800e-01
4.944440e+01 7.081650e+00 5.385200e-01
4.992680e+01 7.058670e+00 4.867100e-01
5.041870e+01 7.024130e+00 4.442400e-01
5.092040e+01 6.983024e+00 4.144500e-01
5.143220e+01 6.941141e+00 3.977700e-01
5.195430e+01 6.903148e+00 3.912300e-01
5.248720e+01 6.871517e+00 3.908800e-01
5.303110e+01 6.846554e+00 3.925800e-01
5.358640e+01 6.826913e+00 3.935500e-01
5.415340e+01 6.810091e+00 3.922400e-01
5.473260e+01 6.793728e+00 3.893600e-01
5.532430e+01 6.776829e+00 3.865200e-01
5.592900e+01 6.760245e+00 3.852500e-01
5.654700e+01 6.744510e+00 3.834500e-01
5.717880e+01 6.728606e+00 3.813200e-01
5.782490e+01 6.711657e+00 3.788800e-01
5.848570e+01 6.692826e+00 3.772500e-01
5.916180e+01 6.671784e+00 3.774100e-01
5.985380e+01 6.648754e+00 3.810800e-01
6.056210e+01 6.624997e+00 3.894200e-01
6.128740e+01 6.601913e+00 4.027600e-01
6.203030e+01 6.581507e+00 4.211700e-01
6.279140e+01 6.565616e+00 4.431000e-01
6.357140e+01 6.555339e+00 4.670100e-01
6.437110e+01 6.551420e+00 4.908800e-01
6.519110e+01 6.553535e+00 5.121800e-01
6.603230e+01 6.560441e+00 5.294400e-01
6.689540e+01 6.570575e+00 5.410100e-01
6.778150e+01 6.581622e+00 5.466000e-01
6.869130e+01 6.591087e+00 5.464400e-01
6.962580e+01 6.596680e+00 5.421100e-01
7.058620e+01 6.596947e+00 5.362500e-01
7.157340e+01 6.591638e+00 5.315300e-01
7.258870e+01 6.581710e+00 5.306200e-01
7.363310e+01 6.569580e+00 5.352400e-01
7.470800e+01 6.558024e+00 5.448700e-01
7.581480e+01 6.549219e+00 5.584200e-01
7.695490e+01 6.544638e+00 5.735400e-01
7.812980e+01 6.544129e+00 5.879300e-01
7.934110e+01 6.546851e+00 6.000600e-01
8.059060e+01 6.551547e+00 6.089900e-01
8.188000e+01 6.556334e+00 6.141500e-01
8.321140e+01 6.559493e+00 6.167100e-01
8.458680e+01 6.560026e+00 6.176400e-01
8.600840e+01 6.556923e+00 6.186300e-01
8.747860e+01 6.550736e+00 6.214400e-01
8.900000e+01 6.542416e+00 6.273100e-01
9.057520e+01 6.533460e+00 6.367200e-01
9.220720e+01 6.525473e+00 6.491000e-01
9.389910e+01 6.519606e+00 6.630500e-01
9.565420e+01 6.516155e+00 6.772100e-01
9.747620e+01 6.514575e+00 6.898800e-01
9.936890e+01 6.513602e+00 7.008300e-01
1.013370e+02 6.511896e+00 7.097800e-01
1.033840e+02 6.508084e+00 7.178600e-01
1.055150e+02 6.501143e+00 7.262600e-01
1.077370e+02 6.490916e+00 7.367400e-01
1.100540e+02 6.477887e+00 7.504400e-01
1.124730e+02 6.462920e+00 7.685400e-01
1.150000e+02 6.447474e+00 7.913500e-01
1.176440e+02 6.432918e+00 8.186400e-01
1.204120e+02 6.420487e+00 8.497900e-01
1.233130e+02 6.411301e+00 8.839200e-01
1.263580e+02 6.406135e+00 9.198800e-01
1.295570e+02 6.405876e+00 9.558500e-01
1.329220e+02 6.410308e+00 9.898400e-01
1.364670e+02 6.418552e+00 1.019790e+00
1.402050e+02 6.430327e+00 1.043610e+00
1.441550e+02 6.429265e+00 1.048020e+00
1.483330e+02 6.412606e+00 1.084910e+00
1.527610e+02 6.405384e+00 1.119370e+00
1.574620e+02 6.397650e+00 1.155970e+00
1.624600e+02 6.389461e+00 1.195300e+00
1.677870e+02 6.380643e+00 1.237400e+00
1.734750e+02 6.370832e+00 1.282850e+00
1.795610e+02 6.359965e+00 1.331930e+00
1.860910e+02 6.347655e+00 1.385190e+00
1.931130e+02 6.333340e+00 1.443220e+00
2.006860e+02 6.315964e+00 1.507350e+00
2.088780e+02 6.294835e+00 1.579960e+00
2.177660e+02 6.270577e+00 1.663350e+00
2.274440e+02 6.244169e+00 1.758750e+00
2.380230e+02 6.216618e+00 1.867350e+00
2.496340e+02 6.188749e+00 1.990240e+00
2.624360e+02 6.161348e+00 2.128660e+00
2.766220e+02 6.135399e+00 2.283770e+00
2.924290e+02 6.111295e+00 2.457340e+00
3.101510e+02 6.089529e+00 2.651350e+00
3.301610e+02 6.070845e+00 2.868880e+00
3.529310e+02 6.056013e+00 3.112690e+00
3.790740e+02 6.045056e+00 3.387780e+00
4.094000e+02 6.038551e+00 3.699810e+00
4.450000e+02 6.036319e+00 4.057680e+00
4.873810e+02 6.037943e+00 4.473380e+00
491 changes: 491 additions & 0 deletions nk/H2O.txt

Large diffs are not rendered by default.

476 changes: 476 additions & 0 deletions nk/KCl.txt

Large diffs are not rendered by default.

2,006 changes: 2,006 additions & 0 deletions nk/Mg2SiO4.txt

Large diffs are not rendered by default.

4,853 changes: 4,853 additions & 0 deletions nk/Mg2SiO4_amorph.txt

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions nk/MgFeSiO3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
109 .False. # Number of lines, conductive flag
# 5 line header for n-k original data
# Silicate perovskite (glassy) - Mg(0.5)Fe(0.5)SiO3 Dorschner et al. (1995) - (Glassy)
# Taken from: http://www.astro.uni-jena.de/Laboratory/OCDB/amsilicates.html
# wl(um) n k
0.20000 1.692000 0.126100
0.22000 1.682000 0.159452
0.24000 1.682660 0.170723
0.26000 1.692130 0.172362
0.28000 1.703120 0.165792
0.30000 1.712640 0.155402
0.32000 1.721980 0.139879
0.34000 1.725580 0.120936
0.36000 1.723350 0.104020
0.38000 1.718970 0.090612
0.40000 1.714000 0.080011
0.42000 1.709080 0.070935
0.45000 1.701920 0.0596
0.50000 1.688490 0.0448
0.55000 1.683470 0.0340
0.60000 1.679620 0.0271
0.65000 1.674910 0.0212
0.70000 1.671140 0.0173
0.75000 1.670420 0.0150
0.80000 1.670830 0.0130
0.90000 1.673480 0.0110
1.00000 1.664740 0.0106
1.10000 1.664060 0.00929
1.20000 1.663450 0.00763
1.30000 1.658600 0.00562
1.40000 1.658510 0.004574
1.50000 1.653110 0.004185
1.60000 1.651540 0.003988
1.70000 1.648910 0.003924
1.80000 1.643000 0.003901
1.90000 1.640890 0.003803
2.00000 1.639610 0.003687
2.20000 1.634210 0.003177
2.40000 1.631390 0.002771
2.60000 1.630400 0.002549
2.80000 1.625720 0.002496
3.00000 1.620720 0.002435
3.50000 1.610050 0.002355
4.00000 1.602400 0.002325
4.50000 1.590070 0.002415
5.00000 1.571980 0.003943
5.50000 1.549600 0.005595
6.00000 1.514450 0.005292
6.50000 1.474820 0.005530
7.00000 1.426390 0.006873
7.50000 1.341700 0.010152
8.00000 1.179000 0.080000
8.20000 1.099710 0.174299
8.40000 1.049420 0.283574
8.60000 1.022520 0.402287
8.80000 1.023970 0.550100
9.00000 1.111650 0.690516
9.20000 1.194830 0.764587
9.40000 1.282460 0.837277
9.60000 1.391600 0.891191
9.80000 1.503020 0.906286
10.00000 1.591460 0.899745
10.20000 1.670030 0.894592
10.40000 1.749130 0.883678
10.60000 1.831280 0.865377
10.80000 1.915290 0.830937
11.00000 1.992430 0.774737
11.20000 2.054980 0.701662
11.40000 2.096540 0.617208
11.60000 2.121380 0.526409
11.80000 2.117260 0.430532
12.00000 2.091500 0.343929
12.50000 1.953380 0.222494
13.00000 1.828130 0.192467
13.50000 1.734260 0.209341
14.00000 1.676440 0.237457
14.50000 1.622530 0.258699
15.00000 1.556110 0.286465
15.50000 1.470870 0.332634
16.00000 1.407740 0.431476
16.50000 1.383020 0.549423
17.00000 1.392010 0.662267
17.50000 1.430800 0.768590
18.00000 1.490150 0.859168
18.50000 1.562330 0.923043
19.00000 1.628610 0.966874
19.50000 1.685030 1.004350
20.00000 1.737780 1.049290
21.00000 1.917910 1.171880
22.00000 2.173520 1.097130
23.00000 2.260700 0.958625
24.00000 2.277060 0.876735
25.00000 2.284900 0.835082
26.00000 2.292000 0.814357
27.00000 2.313730 0.807300
28.00000 2.339530 0.801926
29.00000 2.371060 0.796287
30.00000 2.406380 0.785840
32.00000 2.475860 0.753022
34.00000 2.535270 0.706568
36.00000 2.576780 0.652521
38.00000 2.604350 0.598526
40.00000 2.617070 0.552510
45.00000 2.626870 0.477036
50.00000 2.639420 0.423418
55.00000 2.650230 0.380857
60.00000 2.653620 0.363516
65.00000 2.661760 0.326641
70.00000 2.671680 0.304631
75.00000 2.671220 0.289556
80.00000 2.686160 0.269921
100.00000 2.690350 0.22
200.00000 2.690350 0.11
500.00000 2.690350 0.044
114 changes: 114 additions & 0 deletions nk/MgFeSiO4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
109 .False. # Number of lines, conductive flag
# 5 line header for n-k original data
# Enstatite MgFeSiO4 Dorschner et al. (1995) - (Glassy)
# Taken from: http://www.astro.uni-jena.de/Laboratory/OCDB/amsilicates.html
# wl(um) n k
0.20000 1.639000 0.252700
0.22000 1.646270 0.296752
0.24000 1.673660 0.306467
0.26000 1.699300 0.298033
0.28000 1.720270 0.284053
0.30000 1.739320 0.267913
0.32000 1.755980 0.248871
0.34000 1.769520 0.226834
0.36000 1.777880 0.203944
0.38000 1.782360 0.182206
0.40000 1.783000 0.162700
0.42000 1.781620 0.146043
0.45000 1.776900 0.125545
0.50000 1.768000 0.100800
0.55000 1.758110 0.084417
0.60000 1.750020 0.073388
0.65000 1.743320 0.066047
0.70000 1.736740 0.061587
0.75000 1.732030 0.059366
0.80000 1.728000 0.058940
0.90000 1.724230 0.062433
1.00000 1.726000 0.068667
1.10000 1.734050 0.073906
1.20000 1.744880 0.075312
1.30000 1.756400 0.072720
1.40000 1.765600 0.067319
1.50000 1.772550 0.060619
1.60000 1.777400 0.053790
1.70000 1.780880 0.047300
1.80000 1.783520 0.041358
1.90000 1.784900 0.036315
2.00000 1.786000 0.031472
2.20000 1.784540 0.022807
2.40000 1.779930 0.016450
2.60000 1.777410 0.013906
2.80000 1.773670 0.012492
3.00000 1.769800 0.011819
3.50000 1.757220 0.010237
4.00000 1.747360 0.009116
4.50000 1.735050 0.008616
5.00000 1.713270 0.008925
5.50000 1.690490 0.009600
6.00000 1.660580 0.009538
6.50000 1.627960 0.009480
7.00000 1.581740 0.010248
7.50000 1.524590 0.011749
8.00000 1.432250 0.018034
8.20000 1.377300 0.029283
8.40000 1.310560 0.068907
8.60000 1.239790 0.130354
8.80000 1.178110 0.208844
9.00000 1.130660 0.322395
9.20000 1.117970 0.450726
9.40000 1.145210 0.578708
9.60000 1.204850 0.692721
9.80000 1.284460 0.788015
10.00000 1.385780 0.858723
10.20000 1.490690 0.900194
10.40000 1.590710 0.924853
10.60000 1.699360 0.936368
10.80000 1.809800 0.914062
11.00000 1.903200 0.873590
11.20000 1.984510 0.821378
11.40000 2.061160 0.754132
11.60000 2.119920 0.659036
11.80000 2.151390 0.555593
12.00000 2.145950 0.449014
12.50000 2.018530 0.259213
13.00000 1.843990 0.198182
13.50000 1.707810 0.224203
14.00000 1.628670 0.269157
14.50000 1.554640 0.304912
15.00000 1.452560 0.345071
15.50000 1.351600 0.457960
16.00000 1.290760 0.611700
16.50000 1.302940 0.781527
17.00000 1.356430 0.920307
17.50000 1.437020 1.034100
18.00000 1.531470 1.115800
18.50000 1.627690 1.163220
19.00000 1.707990 1.192490
19.50000 1.784740 1.211690
20.00000 1.849040 1.226260
21.00000 1.956210 1.231100
22.00000 2.025470 1.244230
23.00000 2.099040 1.278830
24.00000 2.182350 1.322510
25.00000 2.292870 1.347800
26.00000 2.396210 1.352150
27.00000 2.497810 1.346490
28.00000 2.606920 1.322360
29.00000 2.703400 1.294700
30.00000 2.788520 1.233950
32.00000 2.898450 1.104530
34.00000 2.956220 0.996759
36.00000 2.975690 0.909601
38.00000 3.016920 0.839224
40.00000 3.021980 0.769572
45.00000 3.031090 0.680491
50.00000 3.049880 0.628184
55.00000 3.081290 0.548553
60.00000 3.091630 0.500892
65.00000 3.097940 0.449979
70.00000 3.100000 0.418000
75.00000 3.100000 0.390000
80.00000 3.100000 0.366000
100.00000 3.100000 0.292000
200.00000 3.100000 0.146000
500.00000 3.100000 0.058000
487 changes: 487 additions & 0 deletions nk/MgO.txt

Large diffs are not rendered by default.

114 changes: 114 additions & 0 deletions nk/MgSiO3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
109 .False. # Number of lines, conductive flag
# 5 line header for n-k original data
# Enstatite MgSiO3 Dorschner et al. (1995) - (Glassy)
# Taken from: http://www.astro.uni-jena.de/Laboratory/OCDB/amsilicates.html
# wl(um) n k
0.20000 1.691660 0.000000
0.22000 1.659980 0.000000
0.24000 1.641870 0.000000
0.26000 1.626080 0.000000
0.28000 1.614980 0.000000
0.30000 1.606160 0.000000
0.32000 1.597520 0.000120
0.34000 1.592440 0.000056
0.36000 1.591220 0.000032
0.38000 1.590040 0.000023
0.40000 1.587470 0.000020
0.42000 1.586250 0.000020
0.45000 1.583310 0.000020
0.50000 1.577110 0.000021
0.55000 1.576120 0.000022
0.60000 1.573010 0.000024
0.65000 1.569460 0.000026
0.70000 1.566110 0.000027
0.75000 1.566630 0.000029
0.80000 1.564450 0.000031
0.90000 1.561760 0.000034
1.00000 1.559450 0.000037
1.10000 1.554720 0.000039
1.20000 1.550700 0.000041
1.30000 1.545800 0.000043
1.40000 1.549020 0.000045
1.50000 1.540370 0.000046
1.60000 1.540050 0.000048
1.70000 1.538530 0.000049
1.80000 1.536620 0.000051
1.90000 1.530530 0.000053
2.00000 1.527990 0.000055
2.20000 1.533060 0.000058
2.40000 1.524470 0.000059
2.60000 1.523660 0.000062
2.80000 1.522770 0.000065
3.00000 1.518440 0.000069
3.50000 1.512460 0.000077
4.00000 1.508120 0.000098
4.50000 1.498900 0.000254
5.00000 1.483130 0.001717
5.50000 1.459750 0.002991
6.00000 1.427430 0.003063
6.50000 1.389900 0.003618
7.00000 1.347360 0.004679
7.50000 1.272890 0.007576
8.00000 1.126110 0.080000
8.20000 1.033590 0.172919
8.40000 0.964029 0.282479
8.60000 0.934795 0.405138
8.80000 0.927277 0.537180
9.00000 0.945610 0.683368
9.20000 1.020900 0.838377
9.40000 1.135630 0.969920
9.60000 1.291830 1.063660
9.80000 1.467980 1.107110
10.00000 1.638530 1.089670
10.20000 1.781790 1.036500
10.40000 1.901560 0.963028
10.60000 1.995230 0.880221
10.80000 2.075640 0.781747
11.00000 2.120220 0.664483
11.20000 2.144470 0.550649
11.40000 2.141060 0.439305
11.60000 2.115190 0.325975
11.80000 2.053960 0.233126
12.00000 1.967420 0.172564
12.50000 1.795160 0.156462
13.00000 1.709430 0.180131
13.50000 1.658380 0.191791
14.00000 1.599840 0.202059
14.50000 1.542100 0.207884
15.00000 1.463710 0.227195
15.50000 1.362800 0.288365
16.00000 1.276000 0.400827
16.50000 1.244420 0.540814
17.00000 1.262770 0.687301
17.50000 1.323300 0.812235
18.00000 1.409770 0.913193
18.50000 1.513960 0.978202
19.00000 1.616130 1.013190
19.50000 1.713230 1.023110
20.00000 1.793820 1.016330
21.00000 1.915920 0.976749
22.00000 1.992500 0.935388
23.00000 2.049500 0.904287
24.00000 2.094950 0.884255
25.00000 2.141630 0.866796
26.00000 2.182450 0.847426
27.00000 2.224080 0.831598
28.00000 2.263380 0.812555
29.00000 2.298870 0.795010
30.00000 2.333170 0.773947
32.00000 2.395390 0.726950
34.00000 2.444040 0.672697
36.00000 2.470350 0.618677
38.00000 2.493830 0.572154
40.00000 2.503970 0.531511
45.00000 2.517130 0.462887
50.00000 2.528010 0.416075
55.00000 2.542010 0.377017
60.00000 2.549340 0.349009
65.00000 2.557520 0.317048
70.00000 2.561610 0.300762
75.00000 2.571840 0.281830
80.00000 2.579850 0.255008
100.00000 2.580000 0.200000
200.00000 2.580000 0.100000
500.00000 2.580000 0.040000
Loading