The following debugging information was generated by Atom Beautify
on Mon Jul 31 2017 12:49:35 GMT+0200 (CEST)
.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import dsharp_opac | |
import numpy as np | |
import matplotlib.pyplot as plt | |
# load the opacities -- values are all in CGS; first index is grain size | |
with np.load(dsharp_opac.get_datafile('default_opacities_smooth.npz')) as fh: | |
a = fh['a'] | |
lam = fh['lam'] | |
k_abs = fh['k_abs'] |