ideasrule / platon Goto Github PK
View Code? Open in Web Editor NEWFast exoplanet transmission spectrum calculator
License: GNU General Public License v3.0
Fast exoplanet transmission spectrum calculator
License: GNU General Public License v3.0
It isn't enough to just average the transit depths at all the wavelength grid points within a wavelength interval. If the stellar spectrum is sharply rising or falling, the transit depths needed to be weighted according to the amount of stellar flux at a wavelength.
Hi
I have been following your retrieve_multinest.py example script but on some different data.
Once the best fit parameters have been determined, the plot_best=True
kwarg creates a windowed plot of the spectrum. I am trying to plot the full spectrum, and when I use the best fit parameters which are returned by PLATON to generate the forward model, the two spectra visibly do not match - the majority of the data points which I have are away from the spectrum.
Are the parameters produced by the retrieval code the correct ones to put into the TransmissionSpectrumCalculator, or is there something more which must be done before this?
Options:
Make it faster and more readable
Make it easily callable
Compare to published results
Write unit tests
Right now it takes 30-70% of execution time. That's OK, but is it possible to do better, i.e. by decreasing the tolerance?
I.e. negative masses/radii/temperatures, inputs in Earth masses instead of kg, lower limits > higher limits, etc
Hi,
I've been using PLATON with different sets of free parameters. For some of these runs, despite the posteriors being almost Gaussian, the unbinned best fit solution and confidence bands are way out from the binned best fit. Do you have any idea why?
Should add functionality for FitInfo to read a file for initialization. Maybe add_fit_param can also be done through a file, though this is much less important.
Similarly, maybe it should be possible to read wavelength bins, depths, and errors from a file instead of providing them on the command line
In particular, we can compare the retrieval results for GJ 436b and GJ 1214b WFC3 data
This is due to a known bug in scipy 1.2.0rc1 that has since been fixed (see scipy/scipy#9540). If you do "python setup.py install" and it installs scipy 1.2.0rc1, remove it and manually install scipy 1.1.
Run a forward model for known planetary parameters with ExoTransmit, add some noise to the transmission spectrum, and retrieve the parameters. This will allow a good comparison.
Hi,
I am trying to run retrieval on some simulated composite spectra for 3 different instruments. When I run retrieval using just one of each of the instruments, there is no problem, but when I combine them in any way, I get the following error message. I assume that this issue is due to the wavelength bins being passed to the retriever.
/data/jhayes/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py:3118: RuntimeWarning: Mean of empty slice.
out=out, **kwargs)
/data/jhayes/anaconda3/lib/python3.7/site-packages/numpy/core/_methods.py:85: RuntimeWarning: invalid value encountered in double_scalars
ret = ret.dtype.type(ret / rcount)
Exception while calling loglikelihood function:
params: [ 2.85511517e+27 2.39638339e+03 -7.60211364e-01 1.72730302e+00
-1.43587464e+00]
args: []
kwargs: {}
exception:
Traceback (most recent call last):
File "/data/jhayes/anaconda3/lib/python3.7/site-packages/dynesty-1.0.0-py3.7.egg/dynesty/dynesty.py", line 860, in __call__
return self.func(x, *self.args, **self.kwargs)
File "/data/jhayes/EGP_classes/scripts/ML/platon-4.0-py3.7.egg/platon/combined_retriever.py", line 356, in multinest_ln_like
eclipse_depths, eclipse_errors)
File "/data/jhayes/EGP_classes/scripts/ML/platon-4.0-py3.7.egg/platon/combined_retriever.py", line 132, in _ln_like
part_size=part_size, ri=ri, full_output=True)
File "/data/jhayes/EGP_classes/scripts/ML/platon-4.0-py3.7.egg/platon/transit_depth_calculator.py", line 531, in compute_depths
binned_wavelengths, binned_depths, stellar_spectrum = self._get_binned_corrected_depths(transit_depths, T_star, T_spot, spot_cov_frac)
File "/data/jhayes/EGP_classes/scripts/ML/platon-4.0-py3.7.egg/platon/transit_depth_calculator.py", line 302, in _get_binned_corrected_depths
binned_depth = np.average(depths[cond] * correction_factors[cond], weights=stellar_spectrum[cond])
File "/data/jhayes/anaconda3/lib/python3.7/site-packages/numpy/lib/function_base.py", line 422, in average
"Weights sum to zero, can't be normalized")
ZeroDivisionError: Weights sum to zero, can't be normalized
The instruments I am using have overlapping wavelength ranges and consequently some of the bins overlap. Is this a known issue where wavelength bins can't overlap? Alternatively, I have supplied the bins grouped by instrument - should they be arranged in ascending wavelength order?
Thanks in advance
I executed nosetests -v
after install, I got this message.
Some tests seems didn't work well.
Do you have any solutions to solve this?
test_isothermal (tests.test_TP_profiles.TestTPProfile) ... ok
test_parametric (tests.test_TP_profiles.TestTPProfile) ... ok
test_radiative_solution (tests.test_TP_profiles.TestTPProfile) ... ok
test_set_opacity (tests.test_TP_profiles.TestTPProfile) ... ok
test_isothermal (tests.test_eclipse_depth_calculator.TestEclipseDepthCalculator) ... ok
test_hd209458b (tests.test_eclipse_retrieval.TestEclipseRetrieval) ... /home/nishiumi/platon/platon/TP_profile.py:47: RuntimeWarning: divide by zero encountered in double_scalars
T2 = T3 - np.log(P3/P2)**2/alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:54: RuntimeWarning: divide by zero encountered in double_scalars
self.temperatures[i] = T2 + np.log(P/P2)**2 / alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:54: RuntimeWarning: invalid value encountered in double_scalars
self.temperatures[i] = T2 + np.log(P/P2)**2 / alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:47: RuntimeWarning: divide by zero encountered in log
T2 = T3 - np.log(P3/P2)**2/alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:54: RuntimeWarning: divide by zero encountered in log
self.temperatures[i] = T2 + np.log(P/P2)**2 / alpha2**2
iter: 1|eff(%): 0.990|logl*: -inf< -inf< inf|logz: -inf+/-niter: 2|eff(%): 1.961|logl*: -inf< -inf< inf|logz: -inf+/-niter: 3|eff(%): 2.913|logl*: -inf< -inf< inf|logz: -inf+/-niter: 4|eff(%): 3.846|logl*: -inf< -inf< inf|logz: -inf+/-niter: 5|eff(%): 4.762|logl*: -inf< -inf< inf|logz: -inf+/-niter: 6|eff(%): 5.660|logl*: -inf< -inf< inf|logz: -inf+/-niter: 7|eff(%): 6.542|logl*: -inf< -inf< inf|logz: -inf+/-niter: 8|eff(%): 7.407|logl*: -inf< -inf< inf|logz: -inf+/-niter: 9|eff(%): 8.257|logl*: -inf< -inf< inf|logz: -inf+/-niter: 10|eff(%): 9.091|logl*: -inf< -inf< inf|logz: -inf+/-iter: 11|eff(%): 9.910|logl*: -inf< -inf< inf|logz: -inf+/-iter: 12|eff(%): 10.714|logl*: -inf< -inf< inf|logz: -inf+/-iter: 13|eff(%): 11.404|logl*: -inf< -inf< inf|logz: -inf+/-iter: 14|eff(%): 12.174|logl*: -inf< -inf< inf|logz: -inf+/-iter: 15|eff(%): 12.931|logl*: -inf< -inf< inf|logz: -inf+/-iter: 16|eff(%): 13.675|logl*: -inf< -inf< inf|logz: -inf+/-iter: 17|eff(%): 14.407|logl*: -inf< -inf< inf|logz: -inf+/-iter: 18|eff(%): 15.126|logl*: -inf<-214643.7< inf|logz: -21464iter: 19|eff(%): 15.833|logl*: -inf<-165148.1< inf|logz: -16515iter: 20|eff(%): 16.529|logl*: -inf<-127108.4< inf|logz: -12711iter: 21|eff(%): 17.213|logl*: -inf<-64553.4< inf|logz: -64558.iter: 22|eff(%): 17.886|logl*: -inf<-61554.0< inf|logz: -61559.iter: 23|eff(%): 18.548|logl*: -inf<-58508.3< inf|logz: -58513.iter: 24|eff(%): 19.200|logl*: -inf<-51470.6< inf|logz: -51476.iter: 25|eff(%): 19.841|logl*: -inf<-48870.5< inf|logz: -48876.iter: 26|eff(%): 20.472|logl*: -inf<-42051.5< inf|logz: -42057.iter: 27|eff(%): 21.094|logl*: -inf<-41209.2< inf|logz: -41214.iter: 28|eff(%): 21.705|logl*: -inf<-37628.0< inf|logz: -37633.iter: 29|eff(%): 22.308|logl*: -inf<-36570.1< inf|logz: -36575.iter: 30|eff(%): 22.556|logl*: -inf<-36453.4< inf|logz: -36459.iter: 31|eff(%): 23.134|logl*: -inf<-36365.3< inf|logz: -36370.iter: 32|eff(%): 23.704|logl*: -inf<-32365.1< inf|logz: -32370.iter: 33|eff(%): 24.265|logl*: -inf<-31297.2< inf|logz: -31302.iter: 34|eff(%): 24.818|logl*: -inf<-30594.9< inf|logz: -30600.iter: 35|eff(%): 25.362|logl*: -inf<-27808.3< inf|logz: -27814.iter: 36|eff(%): 25.532|logl*: -inf<-27775.1< inf|logz: -27780.iter: 37|eff(%): 26.056|logl*: -inf<-25358.1< inf|logz: -25363.8+/-nan/home/nishiumi/platon/platon/TP_profile.py:47: RuntimeWarning: overflow encountered in double_scalars
T2 = T3 - np.log(P3/P2)**2/alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:54: RuntimeWarning: overflow encountered in double_scalars
self.temperatures[i] = T2 + np.log(P/P2)**2 / alpha2**2
iter: 38|eff(%): 26.389|logl*: -inf<-23745.1< inf|logz: -23750.iter: 39|eff(%): 26.531|logl*: -inf<-19559.0< inf|logz: -19564.iter: 40|eff(%): 26.846|logl*: -inf<-18033.2< inf|logz: -18038.iter: 41|eff(%): 27.333|logl*: -inf<-17687.9< inf|logz: -17693.iter: 42|eff(%): 27.815|logl*: -inf<-17170.0< inf|logz: -17175.iter: 43|eff(%): 28.289|logl*: -inf<-16817.9< inf|logz: -16823.iter: 44|eff(%): 28.758|logl*: -inf<-16783.1< inf|logz: -16788.iter: 45|eff(%): 29.221|logl*: -inf<-16766.9< inf|logz: -16772.iter: 46|eff(%): 29.677|logl*: -inf<-15774.1< inf|logz: -15779.iter: 47|eff(%): 30.128|logl*: -inf<-14224.3< inf|logz: -14230.iter: 48|eff(%): 30.573|logl*: -inf<-11875.8< inf|logz: -11881.iter: 49|eff(%): 31.013|logl*: -inf<-11821.1< inf|logz: -11826.iter: 50|eff(%): 31.447|logl*: -inf<-11489.9< inf|logz: -11495.iter: 51|eff(%): 31.677|logl*: -inf<-11343.8< inf|logz: -11349.iter: 52|eff(%): 32.099|logl*: -inf<-11055.1< inf|logz: -11060.iter: 53|eff(%): 32.515|logl*: -inf<-10983.9< inf|logz: -10989.iter: 54|eff(%): 32.335|logl*: -inf<-9780.4< inf|logz: -9786.2+iter: 55|eff(%): 32.738|logl*: -inf<-9597.2< inf|logz: -9603.1+iter: 56|eff(%): 33.136|logl*: -inf<-9404.4< inf|logz: -9410.2+iter: 57|eff(%): 33.529|logl*: -inf<-9316.5< inf|logz: -9322.4+iter: 58|eff(%): 33.333|logl*: -inf<-9063.9< inf|logz: -9069.8+iter: 59|eff(%): 33.523|logl*: -inf<-9019.8< inf|logz: -9025.7+iter: 60|eff(%): 33.708|logl*: -inf<-8911.7< inf|logz: -8917.6+iter: 61|eff(%): 34.078|logl*: -inf<-8401.3< inf|logz: -8407.2+iter: 62|eff(%): 34.444|logl*: -inf<-8230.3< inf|logz: -8236.2+iter: 63|eff(%): 34.426|logl*: -inf<-8045.2< inf|logz: -8051.1+iter: 64|eff(%): 34.595|logl*: -inf<-7888.1< inf|logz: -7894.1+iter: 65|eff(%): 34.574|logl*: -inf<-7570.1< inf|logz: -7576.0+iter: 66|eff(%): 34.921|logl*: -inf<-7405.8< inf|logz: -7411.8+iter: 67|eff(%): 35.079|logl*: -inf<-7222.6< inf|logz: -7228.5+iter: 68|eff(%): 35.417|logl*: -inf<-6467.5< inf|logz: -6473.5+iter: 69|eff(%): 35.567|logl*: -inf<-6415.0< inf|logz: -6420.9+iter: 70|eff(%): 35.897|logl*: -inf<-6339.7< inf|logz: -6345.7+iter: 71|eff(%): 36.224|logl*: -inf<-6305.7< inf|logz: -6311.7+iter: 72|eff(%): 36.364|logl*: -inf<-6190.1< inf|logz: -6196.1+iter: 73|eff(%): 36.683|logl*: -inf<-5854.7< inf|logz: -5860.7+iter: 74|eff(%): 37.000|logl*: -inf<-5466.1< inf|logz: -5472.2+iter: 75|eff(%): 37.313|logl*: -inf<-5299.3< inf|logz: -5305.3+iter: 76|eff(%): 37.438|logl*: -inf<-5188.1< inf|logz: -5194.1+iter: 77|eff(%): 37.561|logl*: -inf<-5099.8< inf|logz: -5105.8+iter: 78|eff(%): 37.500|logl*: -inf<-5039.7< inf|logz: -5045.7+iter: 79|eff(%): 37.619|logl*: -inf<-4959.2< inf|logz: -4965.3+iter: 80|eff(%): 37.915|logl*: -inf<-4907.2< inf|logz: -4913.3+iter: 81|eff(%): 37.850|logl*: -inf<-4686.4< inf|logz: -4692.6+iter: 82|eff(%): 37.788|logl*: -inf<-4669.7< inf|logz: -4675.8+iter: 83|eff(%): 38.073|logl*: -inf<-4547.3< inf|logz: -4553.4+iter: 84|eff(%): 38.182|logl*: -inf<-4251.8< inf|logz: -4257.9+iter: 85|eff(%): 38.462|logl*: -inf<-4149.9< inf|logz: -4156.1+iter: 86|eff(%): 38.739|logl*: -inf<-4058.6< inf|logz: -4064.7+iter: 87|eff(%): 38.839|logl*: -inf<-3987.4< inf|logz: -3993.6+iter: 88|eff(%): 38.767|logl*: -inf<-3949.7< inf|logz: -3955.9+iter: 89|eff(%): 38.696|logl*: -inf<-3860.3< inf|logz: -3866.4+iter: 90|eff(%): 38.961|logl*: -inf<-3789.7< inf|logz: -3795.8+iter: 91|eff(%): 39.224|logl*: -inf<-3712.7< inf|logz: -3718.9+iter: 92|eff(%): 38.983|logl*: -inf<-3511.8< inf|logz: -3518.0+iter: 93|eff(%): 39.241|logl*: -inf<-3465.6< inf|logz: -3471.8+iter: 94|eff(%): 39.331|logl*: -inf<-3443.5< inf|logz: -3449.7+iter: 95|eff(%): 39.583|logl*: -inf<-3411.5< inf|logz: -3417.7+iter: 96|eff(%): 39.506|logl*: -inf<-3389.7< inf|logz: -3396.0+iter: 97|eff(%): 39.754|logl*: -inf<-3194.6< inf|logz: -3200.9+iter: 98|eff(%): 39.837|logl*: -inf<-3092.1< inf|logz: -3098.4+iter: 99|eff(%): 39.759|logl*: -inf<-2997.1< inf|logz: -3003.4+iter: 100|eff(%): 39.841|logl*: -inf<-2963.3< inf|logz: -2969.6iter: 101|eff(%): 39.921|logl*: -inf<-2933.3< inf|logz: -2939.6iter: 102|eff(%): 40.000|logl*: -inf<-2881.0< inf|logz: -2887.3iter: 103|eff(%): 40.078|logl*: -inf<-2781.5< inf|logz: -2787.8iter: 104|eff(%): 40.154|logl*: -inf<-2669.0< inf|logz: -2675.3iter: 105|eff(%): 40.230|logl*: -inf<-2653.6< inf|logz: -2659.9iter: 106|eff(%): 40.304|logl*: -inf<-2514.1< inf|logz: -2520.4iter: 107|eff(%): 40.377|logl*: -inf<-2430.4< inf|logz: -2436.8iter: 108|eff(%): 40.149|logl*: -inf<-2424.1< inf|logz: -2430.5iter: 109|eff(%): 40.221|logl*: -inf<-2208.8< inf|logz: -2215.2iter: 110|eff(%): 39.568|logl*: -inf<-2179.1< inf|logz: -2185.5iter: 111|eff(%): 39.223|logl*: -inf<-1972.4< inf|logz: -1978.8iter: 112|eff(%): 39.437|logl*: -inf<-1940.6< inf|logz: -1947.0iter: 113|eff(%): 39.373|logl*: -inf<-1778.2< inf|logz: -1784.6iter: 114|eff(%): 39.041|logl*: -inf<-1741.5< inf|logz: -1747.9iter: 115|eff(%): 38.721|logl*: -inf<-1719.3< inf|logz: -1725.7iter: 116|eff(%): 38.158|logl*: -inf<-1718.1< inf|logz: -1724.1iter: 116|+1|eff(%): 38.487|logl*: -inf<-1657.8< inf|logz: -166iter: 116|+2|eff(%): 38.816|logl*: -inf<-1438.4< inf|logz: -144iter: 116|+3|eff(%): 39.145|logl*: -inf<-1436.6< inf|logz: -144iter: 116|+4|eff(%): 39.474|logl*: -inf<-1422.5< inf|logz: -142iter: 116|+5|eff(%): 39.803|logl*: -inf<-1284.6< inf|logz: -129iter: 116|+6|eff(%): 40.132|logl*: -inf<-1261.9< inf|logz: -126iter: 116|+7|eff(%): 40.461|logl*: -inf<-1251.6< inf|logz: -125iter: 116|+8|eff(%): 40.789|logl*: -inf<-1215.3< inf|logz: -122iter: 116|+9|eff(%): 41.118|logl*: -inf<-1039.6< inf|logz: -104iter: 116|+10|eff(%): 41.447|logl*: -inf<-1018.2< inf|logz: -10iter: 116|+11|eff(%): 41.776|logl*: -inf<-1006.9< inf|logz: -10iter: 116|+12|eff(%): 42.105|logl*: -inf<-970.0< inf|logz: -976iter: 116|+13|eff(%): 42.434|logl*: -inf<-907.9< inf|logz: -914iter: 116|+14|eff(%): 42.763|logl*: -inf<-897.4< inf|logz: -903iter: 116|+15|eff(%): 43.092|logl*: -inf<-875.6< inf|logz: -882iter: 116|+16|eff(%): 43.421|logl*: -inf<-816.9< inf|logz: -823iter: 116|+17|eff(%): 43.750|logl*: -inf<-806.5< inf|logz: -812iter: 116|+18|eff(%): 44.079|logl*: -inf<-750.1< inf|logz: -756iter: 116|+19|eff(%): 44.408|logl*: -inf<-744.4< inf|logz: -750iter: 116|+20|eff(%): 44.737|logl*: -inf<-730.0< inf|logz: -736iter: 116|+21|eff(%): 45.066|logl*: -inf<-654.7< inf|logz: -661iter: 116|+22|eff(%): 45.395|logl*: -inf<-571.3< inf|logz: -577iter: 116|+23|eff(%): 45.724|logl*: -inf<-497.6< inf|logz: -504iter: 116|+24|eff(%): 46.053|logl*: -inf<-473.0< inf|logz: -479iter: 116|+25|eff(%): 46.382|logl*: -inf<-460.5< inf|logz: -467iter: 116|+26|eff(%): 46.711|logl*: -inf<-456.3< inf|logz: -462iter: 116|+27|eff(%): 47.039|logl*: -inf<-448.0< inf|logz: -454iter: 116|+28|eff(%): 47.368|logl*: -inf<-425.0< inf|logz: -431iter: 116|+29|eff(%): 47.697|logl*: -inf<-393.1< inf|logz: -399iter: 116|+30|eff(%): 48.026|logl*: -inf<-388.6< inf|logz: -395iter: 116|+31|eff(%): 48.355|logl*: -inf<-343.5< inf|logz: -349iter: 116|+32|eff(%): 48.684|logl*: -inf<-311.5< inf|logz: -318iter: 116|+33|eff(%): 49.013|logl*: -inf<-288.8< inf|logz: -295iter: 116|+34|eff(%): 49.342|logl*: -inf<-277.4< inf|logz: -283iter: 116|+35|eff(%): 49.671|logl*: -inf<-268.2< inf|logz: -274iter: 116|+36|eff(%): 50.000|logl*: -inf<-193.0< inf|logz: -199iter: 116|+37|eff(%): 50.329|logl*: -inf<-191.5< inf|logz: -197iter: 116|+38|eff(%): 50.658|logl*: -inf<-172.1< inf|logz: -178iter: 116|+39|eff(%): 50.987|logl*: -inf<-160.8< inf|logz: -167iter: 116|+40|eff(%): 51.316|logl*: -inf<-135.9< inf|logz: -142iter: 116|+41|eff(%): 51.645|logl*: -inf<-131.3< inf|logz: -137iter: 116|+42|eff(%): 51.974|logl*: -inf<-110.2< inf|logz: -116iter: 116|+43|eff(%): 52.303|logl*: -inf< -99.4< inf|logz: -105iter: 116|+44|eff(%): 52.632|logl*: -inf< -94.1< inf|logz: -100iter: 116|+45|eff(%): 52.961|logl*: -inf< -92.8< inf|logz: -98iter: 116|+46|eff(%): 53.289|logl*: -inf< -68.8< inf|logz: -75iter: 116|+47|eff(%): 53.618|logl*: -inf< -41.0< inf|logz: -47iter: 116|+48|eff(%): 53.947|logl*: -inf< -36.7< inf|logz: -43iter: 116|+49|eff(%): 54.276|logl*: -inf< -34.2< inf|logz: -40iter: 116|+50|eff(%): 54.605|logl*: -inf< -15.5< inf|logz: -21iter: 116|+51|eff(%): 54.934|logl*: -inf< -4.4< inf|logz: -10iter: 116|+52|eff(%): 55.263|logl*: -inf< 13.8< inf|logz: 7iter: 116|+53|eff(%): 55.592|logl*: -inf< 21.1< inf|logz: 14iter: 116|+54|eff(%): 55.921|logl*: -inf< 41.7< inf|logz: 35iter: 116|+55|eff(%): 56.250|logl*: -inf< 55.5< inf|logz: 49iter: 116|+56|eff(%): 56.579|logl*: -inf< 56.2< inf|logz: 50iter: 116|+57|eff(%): 56.908|logl*: -inf< 83.3< inf|logz: 76iter: 116|+58|eff(%): 57.237|logl*: -inf< 88.7< inf|logz: 82iter: 116|+59|eff(%): 57.566|logl*: -inf< 93.2< inf|logz: 86iter: 116|+60|eff(%): 57.895|logl*: -inf< 109.0< inf|logz: 102iter: 116|+61|eff(%): 58.224|logl*: -inf< 124.0< inf|logz: 117iter: 116|+62|eff(%): 58.553|logl*: -inf< 128.4< inf|logz: 122iter: 116|+63|eff(%): 58.882|logl*: -inf< 130.6< inf|logz: 124iter: 116|+64|eff(%): 59.211|logl*: -inf< 138.2< inf|logz: 131iter: 116|+65|eff(%): 59.539|logl*: -inf< 148.9< inf|logz: 142iter: 116|+66|eff(%): 59.868|logl*: -inf< 155.4< inf|logz: 148iter: 116|+67|eff(%): 60.197|logl*: -inf< 160.0< inf|logz: 153iter: 116|+68|eff(%): 60.526|logl*: -inf< 166.9< inf|logz: 160iter: 116|+69|eff(%): 60.855|logl*: -inf< 173.3< inf|logz: 166iter: 116|+70|eff(%): 61.184|logl*: -inf< 174.2< inf|logz: 168iter: 116|+71|eff(%): 61.513|logl*: -inf< 181.5< inf|logz: 175iter: 116|+72|eff(%): 61.842|logl*: -inf< 183.4< inf|logz: 177iter: 116|+73|eff(%): 62.171|logl*: -inf< 195.0< inf|logz: 188iter: 116|+74|eff(%): 62.500|logl*: -inf< 200.3< inf|logz: 193iter: 116|+75|eff(%): 62.829|logl*: -inf< 205.3< inf|logz: 198iter: 116|+76|eff(%): 63.158|logl*: -inf< 205.9< inf|logz: 200iter: 116|+77|eff(%): 63.487|logl*: -inf< 206.9< inf|logz: 201iter: 116|+78|eff(%): 63.816|logl*: -inf< 210.9< inf|logz: 204iter: 116|+79|eff(%): 64.145|logl*: -inf< 211.2< inf|logz: 205iter: 116|+80|eff(%): 64.474|logl*: -inf< 211.8< inf|logz: 206iter: 116|+81|eff(%): 64.803|logl*: -inf< 213.7< inf|logz: 207iter: 116|+82|eff(%): 65.132|logl*: -inf< 215.5< inf|logz: 209iter: 116|+83|eff(%): 65.461|logl*: -inf< 217.2< inf|logz: 211iter: 116|+84|eff(%): 65.789|logl*: -inf< 222.1< inf|logz: 215iter: 116|+85|eff(%): 66.118|logl*: -inf< 224.9< inf|logz: 218iter: 116|+86|eff(%): 66.447|logl*: -inf< 226.2< inf|logz: 220iter: 116|+87|eff(%): 66.776|logl*: -inf< 229.6< inf|logz: 223iter: 116|+88|eff(%): 67.105|logl*: -inf< 232.0< inf|logz: 225iter: 116|+89|eff(%): 67.434|logl*: -inf< 233.7< inf|logz: 227iter: 116|+90|eff(%): 67.763|logl*: -inf< 235.9< inf|logz: 229iter: 116|+91|eff(%): 68.092|logl*: -inf< 236.5< inf|logz: 230iter: 116|+92|eff(%): 68.421|logl*: -inf< 239.2< inf|logz: 232iter: 116|+93|eff(%): 68.750|logl*: -inf< 239.6< inf|logz: 234iter: 116|+94|eff(%): 69.079|logl*: -inf< 241.5< inf|logz: 235iter: 116|+95|eff(%): 69.408|logl*: -inf< 242.2< inf|logz: 236iter: 116|+96|eff(%): 69.737|logl*: -inf< 242.5< inf|logz: 237iter: 116|+97|eff(%): 70.066|logl*: -inf< 243.3< inf|logz: 238iter: 116|+98|eff(%): 70.395|logl*: -inf< 248.6< inf|logz: 242iter: 116|+99|eff(%): 70.724|logl*: -inf< 248.7< inf|logz: 243iter: 116|+100|eff(%): 71.053|logl*: -inf< 250.1< inf|logz: 244.3+/-nan/home/nishiumi/platon/platon/TP_profile.py:47: RuntimeWarning: divide by zero encountered in log
T2 = T3 - np.log(P3/P2)**2/alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:54: RuntimeWarning: divide by zero encountered in log
self.temperatures[i] = T2 + np.log(P/P2)**2 / alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:54: RuntimeWarning: invalid value encountered in double_scalars
self.temperatures[i] = T2 + np.log(P/P2)**2 / alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:47: RuntimeWarning: overflow encountered in double_scalars
T2 = T3 - np.log(P3/P2)**2/alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:54: RuntimeWarning: overflow encountered in double_scalars
self.temperatures[i] = T2 + np.log(P/P2)**2 / alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:47: RuntimeWarning: divide by zero encountered in double_scalars
T2 = T3 - np.log(P3/P2)**2/alpha2**2
/home/nishiumi/platon/platon/TP_profile.py:54: RuntimeWarning: divide by zero encountered in double_scalars
self.temperatures[i] = T2 + np.log(P/P2)**2 / alpha2**2
iter: 1|eff(%): 0.990|logl*: -inf< -inf< inf|logz: -inf+/-niter: 2|eff(%): 1.942|logl*: -inf< -inf< inf|logz: -inf+/-niter: 3|eff(%): 2.885|logl*: -inf< -inf< inf|logz: -inf+/-niter: 4|eff(%): 3.810|logl*: -inf< -inf< inf|logz: -inf+/-niter: 5|eff(%): 4.717|logl*: -inf< -inf< inf|logz: -inf+/-niter: 6|eff(%): 5.607|logl*: -inf< -inf< inf|logz: -inf+/-niter: 7|eff(%): 6.481|logl*: -inf< -inf< inf|logz: -inf+/-niter: 8|eff(%): 7.339|logl*: -inf< -inf< inf|logz: -inf+/-niter: 9|eff(%): 8.182|logl*: -inf< -inf< inf|logz: -inf+/-niter: 10|eff(%): 9.009|logl*: -inf< -inf< inf|logz: -inf+/-iter: 11|eff(%): 9.821|logl*: -inf< -inf< inf|logz: -inf+/-iter: 12|eff(%): 10.619|logl*: -inf< -inf< inf|logz: -inf+/-iter: 13|eff(%): 11.404|logl*: -inf< -inf< inf|logz: -inf+/-iter: 14|eff(%): 12.174|logl*: -inf< -inf< inf|logz: -inf+/-iter: 15|eff(%): 12.821|logl*: -inf< -inf< inf|logz: -inf+/-iter: 16|eff(%): 13.559|logl*: -inf< -inf< inf|logz: -inf+/-iter: 17|eff(%): 14.286|logl*: -inf< -inf< inf|logz: -inf+/-iter: 18|eff(%): 15.000|logl*: -inf< -inf< inf|logz: -inf+/-iter: 19|eff(%): 15.702|logl*: -inf< -inf< inf|logz: -inf+/-iter: 20|eff(%): 16.393|logl*: -inf<-531968.4< inf|logz: -53197iter: 21|eff(%): 17.073|logl*: -inf<-250652.4< inf|logz: -25065iter: 22|eff(%): 17.742|logl*: -inf<-187627.3< inf|logz: -18763iter: 23|eff(%): 18.254|logl*: -inf<-85647.9< inf|logz: -85653.iter: 24|eff(%): 18.898|logl*: -inf<-38524.4< inf|logz: -38530.iter: 25|eff(%): 19.380|logl*: -inf<-30085.1< inf|logz: -30090.iter: 26|eff(%): 19.847|logl*: -inf<-30028.7< inf|logz: -30034.iter: 27|eff(%): 20.301|logl*: -inf<-27984.4< inf|logz: -27989.iter: 28|eff(%): 20.896|logl*: -inf<-27882.0< inf|logz: -27887.iter: 29|eff(%): 21.481|logl*: -inf<-27190.7< inf|logz: -27196.iter: 30|eff(%): 22.059|logl*: -inf<-24984.0< inf|logz: -24989.iter: 31|eff(%): 22.628|logl*: -inf<-22886.5< inf|logz: -22892.iter: 32|eff(%): 23.022|logl*: -inf<-21501.6< inf|logz: -21507.iter: 33|eff(%): 23.571|logl*: -inf<-21176.6< inf|logz: -21182.iter: 34|eff(%): 24.113|logl*: -inf<-21021.7< inf|logz: -21027.iter: 35|eff(%): 24.476|logl*: -inf<-20765.7< inf|logz: -20771.iter: 36|eff(%): 25.000|logl*: -inf<-19812.1< inf|logz: -19817.iter: 37|eff(%): 25.517|logl*: -inf<-18911.8< inf|logz: -18917.iter: 38|eff(%): 25.676|logl*: -inf<-17042.2< inf|logz: -17047.iter: 39|eff(%): 26.174|logl*: -inf<-15364.7< inf|logz: -15370.iter: 40|eff(%): 26.667|logl*: -inf<-14446.5< inf|logz: -14452.iter: 41|eff(%): 27.152|logl*: -inf<-13984.3< inf|logz: -13990.iter: 42|eff(%): 27.632|logl*: -inf<-13463.1< inf|logz: -13468.iter: 43|eff(%): 28.105|logl*: -inf<-12477.8< inf|logz: -12483.iter: 44|eff(%): 28.571|logl*: -inf<-11321.2< inf|logz: -11327.iter: 45|eff(%): 29.032|logl*: -inf<-11307.4< inf|logz: -11313.iter: 46|eff(%): 29.299|logl*: -inf<-10898.4< inf|logz: -10904.iter: 47|eff(%): 29.747|logl*: -inf<-10551.8< inf|logz: -10557.iter: 48|eff(%): 30.189|logl*: -inf<-10216.5< inf|logz: -10222.iter: 49|eff(%): 30.061|logl*: -inf<-10088.4< inf|logz: -10094.iter: 50|eff(%): 30.303|logl*: -inf<-9976.9< inf|logz: -9982.7+iter: 51|eff(%): 30.723|logl*: -inf<-9447.6< inf|logz: -9453.5+iter: 52|eff(%): 30.588|logl*: -inf<-9312.0< inf|logz: -9317.8+iter: 53|eff(%): 30.994|logl*: -inf<-8012.7< inf|logz: -8018.6+iter: 54|eff(%): 31.395|logl*: -inf<-7947.9< inf|logz: -7953.7+iter: 55|eff(%): 31.609|logl*: -inf<-7908.4< inf|logz: -7914.2+iter: 56|eff(%): 32.000|logl*: -inf<-7876.6< inf|logz: -7882.4+iter: 57|eff(%): 32.386|logl*: -inf<-7595.3< inf|logz: -7601.1+iter: 58|eff(%): 32.768|logl*: -inf<-7366.2< inf|logz: -7372.0+iter: 59|eff(%): 32.778|logl*: -inf<-7283.0< inf|logz: -7288.8+iter: 60|eff(%): 33.149|logl*: -inf<-6692.9< inf|logz: -6698.8+iter: 61|eff(%): 33.516|logl*: -inf<-6622.9< inf|logz: -6628.8+iter: 62|eff(%): 32.979|logl*: -inf<-6510.9< inf|logz: -6516.8+iter: 63|eff(%): 33.333|logl*: -inf<-5858.6< inf|logz: -5864.5+iter: 64|eff(%): 33.333|logl*: -inf<-5729.1< inf|logz: -5735.0+iter: 65|eff(%): 33.505|logl*: -inf<-5726.0< inf|logz: -5731.8+iter: 66|eff(%): 33.673|logl*: -inf<-5678.7< inf|logz: -5684.7+iter: 67|eff(%): 33.333|logl*: -inf<-5448.8< inf|logz: -5454.7+iter: 68|eff(%): 33.663|logl*: -inf<-5222.1< inf|logz: -5228.0+iter: 69|eff(%): 33.990|logl*: -inf<-5174.5< inf|logz: -5180.5+iter: 70|eff(%): 34.146|logl*: -inf<-5008.0< inf|logz: -5014.0+iter: 71|eff(%): 34.466|logl*: -inf<-4732.9< inf|logz: -4738.9+iter: 72|eff(%): 34.450|logl*: -inf<-4235.1< inf|logz: -4241.1+iter: 73|eff(%): 34.762|logl*: -inf<-3950.6< inf|logz: -3956.7+iter: 74|eff(%): 35.071|logl*: -inf<-3908.8< inf|logz: -3914.9+iter: 75|eff(%): 35.377|logl*: -inf<-3782.8< inf|logz: -3788.8+iter: 76|eff(%): 35.681|logl*: -inf<-3777.4< inf|logz: -3783.5+iter: 77|eff(%): 35.814|logl*: -inf<-3641.6< inf|logz: -3647.7+iter: 78|eff(%): 35.945|logl*: -inf<-3597.2< inf|logz: -3603.2+iter: 79|eff(%): 36.239|logl*: -inf<-3559.6< inf|logz: -3565.7+iter: 80|eff(%): 36.364|logl*: -inf<-3332.5< inf|logz: -3338.6+iter: 81|eff(%): 36.323|logl*: -inf<-2939.1< inf|logz: -2945.2+iter: 82|eff(%): 36.283|logl*: -inf<-2883.2< inf|logz: -2889.3+iter: 83|eff(%): 36.564|logl*: -inf<-2612.0< inf|logz: -2618.1+iter: 84|eff(%): 36.681|logl*: -inf<-2545.7< inf|logz: -2551.9+iter: 85|eff(%): 36.957|logl*: -inf<-2527.0< inf|logz: -2533.1+iter: 86|eff(%): 37.229|logl*: -inf<-2480.1< inf|logz: -2486.3+iter: 87|eff(%): 37.339|logl*: -inf<-2356.2< inf|logz: -2362.3+iter: 88|eff(%): 36.975|logl*: -inf<-2299.5< inf|logz: -2305.7+iter: 89|eff(%): 36.179|logl*: -inf<-2293.2< inf|logz: -2299.4+iter: 90|eff(%): 36.290|logl*: -inf<-2277.0< inf|logz: -2283.2+iter: 91|eff(%): 35.409|logl*: -inf<-2214.9< inf|logz: -2221.1+iter: 92|eff(%): 35.521|logl*: -inf<-2167.8< inf|logz: -2174.1+iter: 93|eff(%): 35.769|logl*: -inf<-2163.7< inf|logz: -2169.9+iter: 94|eff(%): 35.878|logl*: -inf<-2017.5< inf|logz: -2023.7+iter: 95|eff(%): 36.122|logl*: -inf<-1971.1< inf|logz: -1977.3+iter: 96|eff(%): 35.955|logl*: -inf<-1958.4< inf|logz: -1964.7+iter: 97|eff(%): 36.194|logl*: -inf<-1885.5< inf|logz: -1891.7+iter: 98|eff(%): 36.162|logl*: -inf<-1738.1< inf|logz: -1744.3+iter: 99|eff(%): 36.264|logl*: -inf<-1623.0< inf|logz: -1629.3+iter: 100|eff(%): 36.364|logl*: -inf<-1599.0< inf|logz: -1605.3iter: 101|eff(%): 35.069|logl*: -inf<-1583.0< inf|logz: -1589.3iter: 102|eff(%): 34.576|logl*: -inf<-1569.4< inf|logz: -1575.7iter: 103|eff(%): 34.564|logl*: -inf<-1564.1< inf|logz: -1570.4iter: 104|eff(%): 34.098|logl*: -inf<-1487.1< inf|logz: -1493.4iter: 104|+1|eff(%): 34.426|logl*: -inf<-1473.1< inf|logz: -147iter: 104|+2|eff(%): 34.754|logl*: -inf<-1463.4< inf|logz: -146iter: 104|+3|eff(%): 35.082|logl*: -inf<-1360.7< inf|logz: -136iter: 104|+4|eff(%): 35.410|logl*: -inf<-1322.7< inf|logz: -132iter: 104|+5|eff(%): 35.738|logl*: -inf<-1310.0< inf|logz: -131iter: 104|+6|eff(%): 36.066|logl*: -inf<-1294.6< inf|logz: -130iter: 104|+7|eff(%): 36.393|logl*: -inf<-1252.2< inf|logz: -125iter: 104|+8|eff(%): 36.721|logl*: -inf<-1187.1< inf|logz: -119iter: 104|+9|eff(%): 37.049|logl*: -inf<-1093.3< inf|logz: -109iter: 104|+10|eff(%): 37.377|logl*: -inf<-1051.4< inf|logz: -10iter: 104|+11|eff(%): 37.705|logl*: -inf<-1015.6< inf|logz: -10iter: 104|+12|eff(%): 38.033|logl*: -inf<-1008.6< inf|logz: -10iter: 104|+13|eff(%): 38.361|logl*: -inf<-969.6< inf|logz: -975iter: 104|+14|eff(%): 38.689|logl*: -inf<-967.1< inf|logz: -973iter: 104|+15|eff(%): 39.016|logl*: -inf<-930.7< inf|logz: -937iter: 104|+16|eff(%): 39.344|logl*: -inf<-915.8< inf|logz: -922iter: 104|+17|eff(%): 39.672|logl*: -inf<-905.0< inf|logz: -911iter: 104|+18|eff(%): 40.000|logl*: -inf<-891.0< inf|logz: -897iter: 104|+19|eff(%): 40.328|logl*: -inf<-824.8< inf|logz: -831iter: 104|+20|eff(%): 40.656|logl*: -inf<-800.1< inf|logz: -806iter: 104|+21|eff(%): 40.984|logl*: -inf<-789.5< inf|logz: -795iter: 104|+22|eff(%): 41.311|logl*: -inf<-786.4< inf|logz: -792iter: 104|+23|eff(%): 41.639|logl*: -inf<-735.0< inf|logz: -741iter: 104|+24|eff(%): 41.967|logl*: -inf<-633.8< inf|logz: -640iter: 104|+25|eff(%): 42.295|logl*: -inf<-616.5< inf|logz: -622iter: 104|+26|eff(%): 42.623|logl*: -inf<-598.0< inf|logz: -604iter: 104|+27|eff(%): 42.951|logl*: -inf<-587.3< inf|logz: -593iter: 104|+28|eff(%): 43.279|logl*: -inf<-586.5< inf|logz: -592iter: 104|+29|eff(%): 43.607|logl*: -inf<-578.2< inf|logz: -584iter: 104|+30|eff(%): 43.934|logl*: -inf<-572.0< inf|logz: -578iter: 104|+31|eff(%): 44.262|logl*: -inf<-564.8< inf|logz: -571iter: 104|+32|eff(%): 44.590|logl*: -inf<-556.9< inf|logz: -563iter: 104|+33|eff(%): 44.918|logl*: -inf<-517.7< inf|logz: -524iter: 104|+34|eff(%): 45.246|logl*: -inf<-447.6< inf|logz: -453iter: 104|+35|eff(%): 45.574|logl*: -inf<-424.8< inf|logz: -431iter: 104|+36|eff(%): 45.902|logl*: -inf<-424.8< inf|logz: -430iter: 104|+37|eff(%): 46.230|logl*: -inf<-419.6< inf|logz: -425iter: 104|+38|eff(%): 46.557|logl*: -inf<-419.3< inf|logz: -424iter: 104|+39|eff(%): 46.885|logl*: -inf<-391.7< inf|logz: -398iter: 104|+40|eff(%): 47.213|logl*: -inf<-332.3< inf|logz: -338iter: 104|+41|eff(%): 47.541|logl*: -inf<-282.1< inf|logz: -288iter: 104|+42|eff(%): 47.869|logl*: -inf<-264.2< inf|logz: -270iter: 104|+43|eff(%): 48.197|logl*: -inf<-262.2< inf|logz: -268iter: 104|+44|eff(%): 48.525|logl*: -inf<-247.4< inf|logz: -253iter: 104|+45|eff(%): 48.852|logl*: -inf<-241.0< inf|logz: -247iter: 104|+46|eff(%): 49.180|logl*: -inf<-224.3< inf|logz: -230iter: 104|+47|eff(%): 49.508|logl*: -inf<-200.2< inf|logz: -206iter: 104|+48|eff(%): 49.836|logl*: -inf<-186.2< inf|logz: -192iter: 104|+49|eff(%): 50.164|logl*: -inf<-176.8< inf|logz: -183iter: 104|+50|eff(%): 50.492|logl*: -inf<-158.3< inf|logz: -164iter: 104|+51|eff(%): 50.820|logl*: -inf<-143.2< inf|logz: -149iter: 104|+52|eff(%): 51.148|logl*: -inf<-142.8< inf|logz: -148iter: 104|+53|eff(%): 51.475|logl*: -inf<-138.5< inf|logz: -144iter: 104|+54|eff(%): 51.803|logl*: -inf<-138.2< inf|logz: -143iter: 104|+55|eff(%): 52.131|logl*: -inf<-122.3< inf|logz: -128iter: 104|+56|eff(%): 52.459|logl*: -inf<-118.9< inf|logz: -125iter: 104|+57|eff(%): 52.787|logl*: -inf<-115.2< inf|logz: -121iter: 104|+58|eff(%): 53.115|logl*: -inf< -94.0< inf|logz: -100iter: 104|+59|eff(%): 53.443|logl*: -inf< -87.5< inf|logz: -93iter: 104|+60|eff(%): 53.770|logl*: -inf< -66.8< inf|logz: -73iter: 104|+61|eff(%): 54.098|logl*: -inf< -53.7< inf|logz: -60iter: 104|+62|eff(%): 54.426|logl*: -inf< -48.7< inf|logz: -55iter: 104|+63|eff(%): 54.754|logl*: -inf< -39.5< inf|logz: -45iter: 104|+64|eff(%): 55.082|logl*: -inf< -33.7< inf|logz: -40iter: 104|+65|eff(%): 55.410|logl*: -inf< 23.3< inf|logz: 16iter: 104|+66|eff(%): 55.738|logl*: -inf< 27.6< inf|logz: 21iter: 104|+67|eff(%): 56.066|logl*: -inf< 31.8< inf|logz: 25iter: 104|+68|eff(%): 56.393|logl*: -inf< 36.8< inf|logz: 30iter: 104|+69|eff(%): 56.721|logl*: -inf< 39.5< inf|logz: 33iter: 104|+70|eff(%): 57.049|logl*: -inf< 45.2< inf|logz: 38iter: 104|+71|eff(%): 57.377|logl*: -inf< 49.9< inf|logz: 43iter: 104|+72|eff(%): 57.705|logl*: -inf< 61.2< inf|logz: 54iter: 104|+73|eff(%): 58.033|logl*: -inf< 62.5< inf|logz: 56iter: 104|+74|eff(%): 58.361|logl*: -inf< 63.0< inf|logz: 57iter: 104|+75|eff(%): 58.689|logl*: -inf< 69.7< inf|logz: 63iter: 104|+76|eff(%): 59.016|logl*: -inf< 74.7< inf|logz: 68iter: 104|+77|eff(%): 59.344|logl*: -inf< 85.5< inf|logz: 79iter: 104|+78|eff(%): 59.672|logl*: -inf< 91.9< inf|logz: 85iter: 104|+79|eff(%): 60.000|logl*: -inf< 113.8< inf|logz: 107iter: 104|+80|eff(%): 60.328|logl*: -inf< 116.2< inf|logz: 110iter: 104|+81|eff(%): 60.656|logl*: -inf< 116.8< inf|logz: 111iter: 104|+82|eff(%): 60.984|logl*: -inf< 121.5< inf|logz: 115iter: 104|+83|eff(%): 61.311|logl*: -inf< 121.5< inf|logz: 116iter: 104|+84|eff(%): 61.639|logl*: -inf< 121.5< inf|logz: 116iter: 104|+85|eff(%): 61.967|logl*: -inf< 124.2< inf|logz: 118iter: 104|+86|eff(%): 62.295|logl*: -inf< 125.9< inf|logz: 119iter: 104|+87|eff(%): 62.623|logl*: -inf< 147.0< inf|logz: 140iter: 104|+88|eff(%): 62.951|logl*: -inf< 162.5< inf|logz: 156iter: 104|+89|eff(%): 63.279|logl*: -inf< 163.6< inf|logz: 157iter: 104|+90|eff(%): 63.607|logl*: -inf< 172.5< inf|logz: 166iter: 104|+91|eff(%): 63.934|logl*: -inf< 176.9< inf|logz: 170iter: 104|+92|eff(%): 64.262|logl*: -inf< 180.9< inf|logz: 174iter: 104|+93|eff(%): 64.590|logl*: -inf< 185.3< inf|logz: 179iter: 104|+94|eff(%): 64.918|logl*: -inf< 187.3< inf|logz: 181iter: 104|+95|eff(%): 65.246|logl*: -inf< 196.0< inf|logz: 189iter: 104|+96|eff(%): 65.574|logl*: -inf< 201.1< inf|logz: 194iter: 104|+97|eff(%): 65.902|logl*: -inf< 216.1< inf|logz: 209iter: 104|+98|eff(%): 66.230|logl*: -inf< 227.4< inf|logz: 221iter: 104|+99|eff(%): 66.557|logl*: -inf< 230.5< inf|logz: 224iter: 104|+100|eff(%): 66.885|logl*: -inf< 239.9< inf|logz: 233.5+/-0.6ok
test_get_data (tests.test_get_data.TestGetData) ... ok
test_complex_refractive_index (tests.test_mie.TestMie) ... ok
test_lx_mie_values (tests.test_mie.TestMie) ... ok
test_real_refractive_index (tests.test_mie.TestMie) ... ok
test_complex (tests.test_mie_absorption.TestMieAbsorption) ... ok
test_real (tests.test_mie_absorption.TestMieAbsorption) ... SKIP: For some reason integration stalls on OS X VMs; not sure why
test_gaussian_param (tests.test_params.TestParams) ... ok
test_uniform_param (tests.test_params.TestParams) ... ok
test_bounds_check (tests.test_retrieve.TestRetriever) ... ok
test_emcee (tests.test_retrieve.TestRetriever) ... /home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/emcee-3.0rc2-py3.6.egg/emcee/moves/red_blue.py:97: RuntimeWarning: invalid value encountered in double_scalars
lnpdiff = f + nlp - state.log_prob[j]
xkbcommon: ERROR: failed to add default include path
Qt: Failed to create XKB context!
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search path, add ':' as separator to provide several search paths and/or make sure that XKB configuration data directory contains recent enough contents, to update please see http://cgit.freedesktop.org/xkeyboard-config/ .
ok
iter: 1|eff(%): 0.990|logl*: -inf< -inf< inf|logz: -inf+/-0iter: 2|eff(%): 1.961|logl*: -inf< -inf< inf|logz: -inf+/-0iter: 3|eff(%): 2.913|logl*: -inf< -inf< inf|logz: -inf+/-0iter: 4|eff(%): 3.846|logl*: -inf< -inf< inf|logz: -inf+/-0iter: 5|eff(%): 4.762|logl*: -inf< -inf< inf|logz: -inf+/-0iter: 6|eff(%): 5.660|logl*: -inf< -inf< inf|logz: -inf+/-0iter: 7|eff(%): 6.542|logl*: -inf<-800366.3< inf|logz: -800371iter: 8|eff(%): 7.339|logl*: -inf<-703066.5< inf|logz: -703071iter: 9|eff(%): 8.182|logl*: -inf<-600705.3< inf|logz: -600710iter: 10|eff(%): 9.009|logl*: -inf<-558976.1< inf|logz: -55898iter: 11|eff(%): 9.821|logl*: -inf<-538397.5< inf|logz: -53840iter: 12|eff(%): 10.619|logl*: -inf<-491201.5< inf|logz: -49120iter: 13|eff(%): 11.404|logl*: -inf<-361810.7< inf|logz: -36181iter: 14|eff(%): 12.174|logl*: -inf<-312258.1< inf|logz: -31226iter: 15|eff(%): 12.821|logl*: -inf<-268402.2< inf|logz: -26840iter: 16|eff(%): 13.559|logl*: -inf<-230627.5< inf|logz: -23063iter: 17|eff(%): 14.167|logl*: -inf<-148130.1< inf|logz: -14813iter: 18|eff(%): 14.876|logl*: -inf<-143024.3< inf|logz: -14302iter: 19|eff(%): 15.574|logl*: -inf<-115905.7< inf|logz: -11591iter: 20|eff(%): 16.129|logl*: -inf<-90258.4< inf|logz: -90263.iter: 21|eff(%): 16.800|logl*: -inf<-84435.2< inf|logz: -84440.iter: 22|eff(%): 16.923|logl*: -inf<-83563.6< inf|logz: -83569.iter: 23|eff(%): 17.557|logl*: -inf<-82364.6< inf|logz: -82370.iter: 24|eff(%): 18.182|logl*: -inf<-81660.6< inf|logz: -81666.iter: 25|eff(%): 18.797|logl*: -inf<-59773.5< inf|logz: -59779.iter: 26|eff(%): 19.403|logl*: -inf<-59566.9< inf|logz: -59572.iter: 27|eff(%): 19.853|logl*: -inf<-54803.3< inf|logz: -54808.iter: 28|eff(%): 20.438|logl*: -inf<-52749.1< inf|logz: -52754.iter: 29|eff(%): 20.863|logl*: -inf<-52636.9< inf|logz: -52642.iter: 30|eff(%): 21.429|logl*: -inf<-51530.4< inf|logz: -51536.iter: 31|eff(%): 21.986|logl*: -inf<-46463.7< inf|logz: -46469.iter: 32|eff(%): 22.222|logl*: -inf<-44773.0< inf|logz: -44778.iter: 33|eff(%): 22.759|logl*: -inf<-40356.7< inf|logz: -40362.iter: 34|eff(%): 23.288|logl*: -inf<-39654.4< inf|logz: -39660.iter: 35|eff(%): 23.810|logl*: -inf<-38888.9< inf|logz: -38894.iter: 36|eff(%): 24.161|logl*: -inf<-38649.0< inf|logz: -38654.iter: 37|eff(%): 24.183|logl*: -inf<-36714.1< inf|logz: -36719.iter: 38|eff(%): 24.516|logl*: -inf<-35592.7< inf|logz: -35598.iter: 39|eff(%): 25.000|logl*: -inf<-34148.7< inf|logz: -34154.iter: 40|eff(%): 25.478|logl*: -inf<-33518.6< inf|logz: -33524.iter: 41|eff(%): 25.949|logl*: -inf<-33295.8< inf|logz: -33301.iter: 42|eff(%): 26.415|logl*: -inf<-32117.4< inf|logz: -32123.iter: 43|eff(%): 26.875|logl*: -inf<-30914.8< inf|logz: -30920.iter: 44|eff(%): 27.329|logl*: -inf<-28522.5< inf|logz: -28528.iter: 45|eff(%): 27.778|logl*: -inf<-26025.3< inf|logz: -26031.iter: 46|eff(%): 28.221|logl*: -inf<-25030.8< inf|logz: -25036.iter: 47|eff(%): 28.659|logl*: -inf<-23951.8< inf|logz: -23957.iter: 48|eff(%): 29.091|logl*: -inf<-23257.9< inf|logz: -23263.iter: 49|eff(%): 29.518|logl*: -inf<-23244.0< inf|logz: -23249.iter: 50|eff(%): 29.940|logl*: -inf<-22124.6< inf|logz: -22130.iter: 51|eff(%): 30.178|logl*: -inf<-21761.0< inf|logz: -21766.iter: 52|eff(%): 30.588|logl*: -inf<-21359.0< inf|logz: -21364.iter: 53|eff(%): 30.814|logl*: -inf<-20026.2< inf|logz: -20032.iter: 54|eff(%): 31.214|logl*: -inf<-19632.3< inf|logz: -19638.iter: 55|eff(%): 31.429|logl*: -inf<-19202.4< inf|logz: -19208.iter: 56|eff(%): 31.638|logl*: -inf<-19168.0< inf|logz: -19173.iter: 57|eff(%): 32.022|logl*: -inf<-19108.4< inf|logz: -19114.iter: 58|eff(%): 32.222|logl*: -inf<-18311.9< inf|logz: -18317.iter: 59|eff(%): 32.597|logl*: -inf<-18223.0< inf|logz: -18228.iter: 60|eff(%): 32.787|logl*: -inf<-17201.0< inf|logz: -17206.iter: 61|eff(%): 33.152|logl*: -inf<-15951.2< inf|logz: -15957.iter: 62|eff(%): 33.514|logl*: -inf<-15850.4< inf|logz: -15856.iter: 63|eff(%): 33.871|logl*: -inf<-14824.9< inf|logz: -14830.iter: 64|eff(%): 34.225|logl*: -inf<-14537.9< inf|logz: -14543.iter: 65|eff(%): 34.574|logl*: -inf<-14401.6< inf|logz: -14407.iter: 66|eff(%): 34.737|logl*: -inf<-14328.4< inf|logz: -14334.iter: 67|eff(%): 34.536|logl*: -inf<-13917.5< inf|logz: -13923.iter: 68|eff(%): 34.343|logl*: -inf<-13873.9< inf|logz: -13879.iter: 69|eff(%): 34.673|logl*: -inf<-12360.1< inf|logz: -12366.iter: 70|eff(%): 35.000|logl*: -inf<-12315.1< inf|logz: -12321.iter: 71|eff(%): 35.323|logl*: -inf<-12229.1< inf|logz: -12235.iter: 72|eff(%): 35.644|logl*: -inf<-11853.2< inf|logz: -11859.iter: 73|eff(%): 35.784|logl*: -inf<-11796.1< inf|logz: -11802.iter: 74|eff(%): 35.922|logl*: -inf<-11646.9< inf|logz: -11652.iter: 75|eff(%): 36.232|logl*: -inf<-11098.6< inf|logz: -11104.iter: 76|eff(%): 36.538|logl*: -inf<-10157.2< inf|logz: -10163.iter: 77|eff(%): 36.667|logl*: -inf<-10099.5< inf|logz: -10105.iter: 78|eff(%): 36.449|logl*: -inf<-9880.4< inf|logz: -9886.5+iter: 79|eff(%): 36.406|logl*: -inf<-9874.8< inf|logz: -9880.9+iter: 80|eff(%): 36.364|logl*: -inf<-9838.1< inf|logz: -9844.2+iter: 81|eff(%): 36.486|logl*: -inf<-9792.7< inf|logz: -9798.8+iter: 82|eff(%): 36.771|logl*: -inf<-9316.8< inf|logz: -9322.9+iter: 83|eff(%): 37.054|logl*: -inf<-9284.2< inf|logz: -9290.3+iter: 84|eff(%): 37.168|logl*: -inf<-9100.0< inf|logz: -9106.2+iter: 85|eff(%): 36.957|logl*: -inf<-8768.6< inf|logz: -8774.7+iter: 86|eff(%): 35.833|logl*: -inf<-8481.0< inf|logz: -8487.2+iter: 87|eff(%): 35.081|logl*: -inf<-8143.8< inf|logz: -8150.0+iter: 88|eff(%): 35.341|logl*: -inf<-7974.2< inf|logz: -7980.4+iter: 89|eff(%): 35.458|logl*: -inf<-7747.3< inf|logz: -7753.4+iter: 90|eff(%): 35.433|logl*: -inf<-7746.1< inf|logz: -7751.8+iter: 91|eff(%): 35.547|logl*: -inf<-7694.4< inf|logz: -7700.6+iter: 92|eff(%): 35.798|logl*: -inf<-7429.3< inf|logz: -7435.5+iter: 93|eff(%): 35.907|logl*: -inf<-7269.7< inf|logz: -7275.9+iter: 94|eff(%): 36.154|logl*: -inf<-7213.6< inf|logz: -7219.9+iter: 95|eff(%): 36.398|logl*: -inf<-7142.7< inf|logz: -7148.9+iter: 96|eff(%): 36.502|logl*: -inf<-6275.9< inf|logz: -6282.2+iter: 97|eff(%): 36.604|logl*: -inf<-5964.0< inf|logz: -5970.2+iter: 98|eff(%): 36.704|logl*: -inf<-5932.5< inf|logz: -5938.7+iter: 99|eff(%): 36.940|logl*: -inf<-5781.1< inf|logz: -5787.4+iter: 100|eff(%): 37.037|logl*: -inf<-5461.5< inf|logz: -5467.8iter: 101|eff(%): 37.269|logl*: -inf<-5443.0< inf|logz: -5449.3iter: 102|eff(%): 37.091|logl*: -inf<-4949.1< inf|logz: -4955.4iter: 103|eff(%): 36.655|logl*: -inf<-4840.8< inf|logz: -4847.1iter: 104|eff(%): 36.879|logl*: -inf<-4496.4< inf|logz: -4502.7iter: 105|eff(%): 37.102|logl*: -inf<-4415.3< inf|logz: -4421.6iter: 106|eff(%): 36.054|logl*: -inf<-4257.4< inf|logz: -4263.7iter: 107|eff(%): 36.027|logl*: -inf<-4114.8< inf|logz: -4121.2iter: 108|eff(%): 35.880|logl*: -inf<-3747.9< inf|logz: -3754.3iter: 108|+1|eff(%): 36.213|logl*: -inf<-3740.6< inf|logz: -374iter: 108|+2|eff(%): 36.545|logl*: -inf<-3658.9< inf|logz: -366iter: 108|+3|eff(%): 36.877|logl*: -inf<-3480.8< inf|logz: -348iter: 108|+4|eff(%): 37.209|logl*: -inf<-3362.5< inf|logz: -336iter: 108|+5|eff(%): 37.542|logl*: -inf<-3341.2< inf|logz: -334iter: 108|+6|eff(%): 37.874|logl*: -inf<-2983.4< inf|logz: -298iter: 108|+7|eff(%): 38.206|logl*: -inf<-2810.2< inf|logz: -281iter: 108|+8|eff(%): 38.538|logl*: -inf<-2778.6< inf|logz: -278iter: 108|+9|eff(%): 38.870|logl*: -inf<-2774.6< inf|logz: -278iter: 108|+10|eff(%): 39.203|logl*: -inf<-2728.6< inf|logz: -27iter: 108|+11|eff(%): 39.535|logl*: -inf<-2616.0< inf|logz: -26iter: 108|+12|eff(%): 39.867|logl*: -inf<-2437.8< inf|logz: -24iter: 108|+13|eff(%): 40.199|logl*: -inf<-2176.8< inf|logz: -21iter: 108|+14|eff(%): 40.532|logl*: -inf<-2127.5< inf|logz: -21iter: 108|+15|eff(%): 40.864|logl*: -inf<-2091.5< inf|logz: -20iter: 108|+16|eff(%): 41.196|logl*: -inf<-2079.2< inf|logz: -20iter: 108|+17|eff(%): 41.528|logl*: -inf<-1963.3< inf|logz: -19iter: 108|+18|eff(%): 41.860|logl*: -inf<-1714.1< inf|logz: -17iter: 108|+19|eff(%): 42.193|logl*: -inf<-1710.1< inf|logz: -17iter: 108|+20|eff(%): 42.525|logl*: -inf<-1697.2< inf|logz: -17iter: 108|+21|eff(%): 42.857|logl*: -inf<-1534.4< inf|logz: -15iter: 108|+22|eff(%): 43.189|logl*: -inf<-1522.5< inf|logz: -15iter: 108|+23|eff(%): 43.522|logl*: -inf<-1502.0< inf|logz: -15iter: 108|+24|eff(%): 43.854|logl*: -inf<-1482.3< inf|logz: -14iter: 108|+25|eff(%): 44.186|logl*: -inf<-1356.2< inf|logz: -13iter: 108|+26|eff(%): 44.518|logl*: -inf<-1354.3< inf|logz: -13iter: 108|+27|eff(%): 44.850|logl*: -inf<-1168.4< inf|logz: -11iter: 108|+28|eff(%): 45.183|logl*: -inf<-1026.2< inf|logz: -10iter: 108|+29|eff(%): 45.515|logl*: -inf<-985.0< inf|logz: -991iter: 108|+30|eff(%): 45.847|logl*: -inf<-969.4< inf|logz: -975iter: 108|+31|eff(%): 46.179|logl*: -inf<-961.8< inf|logz: -968iter: 108|+32|eff(%): 46.512|logl*: -inf<-957.0< inf|logz: -963iter: 108|+33|eff(%): 46.844|logl*: -inf<-957.0< inf|logz: -962iter: 108|+34|eff(%): 47.176|logl*: -inf<-910.9< inf|logz: -917iter: 108|+35|eff(%): 47.508|logl*: -inf<-872.5< inf|logz: -878iter: 108|+36|eff(%): 47.841|logl*: -inf<-868.8< inf|logz: -875iter: 108|+37|eff(%): 48.173|logl*: -inf<-864.3< inf|logz: -870iter: 108|+38|eff(%): 48.505|logl*: -inf<-857.9< inf|logz: -864iter: 108|+39|eff(%): 48.837|logl*: -inf<-838.4< inf|logz: -844iter: 108|+40|eff(%): 49.169|logl*: -inf<-836.2< inf|logz: -842iter: 108|+41|eff(%): 49.502|logl*: -inf<-831.5< inf|logz: -837iter: 108|+42|eff(%): 49.834|logl*: -inf<-800.7< inf|logz: -807iter: 108|+43|eff(%): 50.166|logl*: -inf<-776.1< inf|logz: -782iter: 108|+44|eff(%): 50.498|logl*: -inf<-640.2< inf|logz: -646iter: 108|+45|eff(%): 50.831|logl*: -inf<-634.5< inf|logz: -640iter: 108|+46|eff(%): 51.163|logl*: -inf<-625.9< inf|logz: -632iter: 108|+47|eff(%): 51.495|logl*: -inf<-602.2< inf|logz: -608iter: 108|+48|eff(%): 51.827|logl*: -inf<-570.0< inf|logz: -576iter: 108|+49|eff(%): 52.159|logl*: -inf<-558.4< inf|logz: -564iter: 108|+50|eff(%): 52.492|logl*: -inf<-537.1< inf|logz: -543iter: 108|+51|eff(%): 52.824|logl*: -inf<-475.1< inf|logz: -481iter: 108|+52|eff(%): 53.156|logl*: -inf<-473.7< inf|logz: -479iter: 108|+53|eff(%): 53.488|logl*: -inf<-468.6< inf|logz: -475iter: 108|+54|eff(%): 53.821|logl*: -inf<-464.9< inf|logz: -471iter: 108|+55|eff(%): 54.153|logl*: -inf<-438.5< inf|logz: -444iter: 108|+56|eff(%): 54.485|logl*: -inf<-399.5< inf|logz: -405iter: 108|+57|eff(%): 54.817|logl*: -inf<-287.0< inf|logz: -293iter: 108|+58|eff(%): 55.150|logl*: -inf<-253.1< inf|logz: -259iter: 108|+59|eff(%): 55.482|logl*: -inf<-238.9< inf|logz: -245iter: 108|+60|eff(%): 55.814|logl*: -inf<-227.0< inf|logz: -233iter: 108|+61|eff(%): 56.146|logl*: -inf<-200.2< inf|logz: -206iter: 108|+62|eff(%): 56.478|logl*: -inf<-133.2< inf|logz: -139iter: 108|+63|eff(%): 56.811|logl*: -inf<-129.8< inf|logz: -136iter: 108|+64|eff(%): 57.143|logl*: -inf<-125.1< inf|logz: -131iter: 108|+65|eff(%): 57.475|logl*: -inf< -96.5< inf|logz: -102iter: 108|+66|eff(%): 57.807|logl*: -inf< -79.1< inf|logz: -85iter: 108|+67|eff(%): 58.140|logl*: -inf< -34.7< inf|logz: -41iter: 108|+68|eff(%): 58.472|logl*: -inf< 23.0< inf|logz: 16iter: 108|+69|eff(%): 58.804|logl*: -inf< 25.8< inf|logz: 19iter: 108|+70|eff(%): 59.136|logl*: -inf< 30.9< inf|logz: 24iter: 108|+71|eff(%): 59.468|logl*: -inf< 47.3< inf|logz: 40iter: 108|+72|eff(%): 59.801|logl*: -inf< 62.5< inf|logz: 56iter: 108|+73|eff(%): 60.133|logl*: -inf< 81.9< inf|logz: 75iter: 108|+74|eff(%): 60.465|logl*: -inf< 106.5< inf|logz: 100iter: 108|+75|eff(%): 60.797|logl*: -inf< 109.2< inf|logz: 102iter: 108|+76|eff(%): 61.130|logl*: -inf< 145.9< inf|logz: 139iter: 108|+77|eff(%): 61.462|logl*: -inf< 156.4< inf|logz: 150iter: 108|+78|eff(%): 61.794|logl*: -inf< 187.0< inf|logz: 180iter: 108|+79|eff(%): 62.126|logl*: -inf< 192.0< inf|logz: 185iter: 108|+80|eff(%): 62.458|logl*: -inf< 205.6< inf|logz: 199iter: 108|+81|eff(%): 62.791|logl*: -inf< 210.4< inf|logz: 204iter: 108|+82|eff(%): 63.123|logl*: -inf< 224.7< inf|logz: 218iter: 108|+83|eff(%): 63.455|logl*: -inf< 230.7< inf|logz: 224iter: 108|+84|eff(%): 63.787|logl*: -inf< 237.6< inf|logz: 231iter: 108|+85|eff(%): 64.120|logl*: -inf< 252.1< inf|logz: 245iter: 108|+86|eff(%): 64.452|logl*: -inf< 256.3< inf|logz: 250iter: 108|+87|eff(%): 64.784|logl*: -inf< 263.4< inf|logz: 257iter: 108|+88|eff(%): 65.116|logl*: -inf< 266.7< inf|logz: 260iter: 108|+89|eff(%): 65.449|logl*: -inf< 278.6< inf|logz: 272iter: 108|+90|eff(%): 65.781|logl*: -inf< 281.8< inf|logz: 275iter: 108|+91|eff(%): 66.113|logl*: -inf< 284.5< inf|logz: 278iter: 108|+92|eff(%): 66.445|logl*: -inf< 286.1< inf|logz: 280iter: 108|+93|eff(%): 66.777|logl*: -inf< 287.2< inf|logz: 281iter: 108|+94|eff(%): 67.110|logl*: -inf< 288.7< inf|logz: 282iter: 108|+95|eff(%): 67.442|logl*: -inf< 294.6< inf|logz: 288iter: 108|+96|eff(%): 67.774|logl*: -inf< 295.9< inf|logz: 289iter: 108|+97|eff(%): 68.106|logl*: -inf< 297.2< inf|logz: 291iter: 108|+98|eff(%): 68.439|logl*: -inf< 310.1< inf|logz: 303iter: 108|+99|eff(%): 68.771|logl*: -inf< 311.8< inf|logz: 305iter: 108|+100|eff(%): 69.103|logl*: -inf< 320.8< inf|logz: 314.4+/-1.0ERROR
test_analytic_exponential (tests.test_tau_calculator.TestTauLOS) ... ok
test_analytic_simple (tests.test_tau_calculator.TestTauLOS) ... ok
test_dl (tests.test_tau_calculator.TestTauLOS) ... /home/nishiumi/platon/tests/test_tau_calculator.py:29: RuntimeWarning: invalid value encountered in sqrt
dist_lower = 2*np.sqrt(r_prime**2 - r**2)
/home/nishiumi/platon/tests/test_tau_calculator.py:28: RuntimeWarning: invalid value encountered in sqrt
dist_higher = 2*np.sqrt(r_prime_higher**2 - r**2)
ok
test_realistic (tests.test_tau_calculator.TestTauLOS) ... SKIP: Algorithm no longer identical to ExoTransmit
test_bin_wavelengths (tests.test_transit_depth_calculator.TestTransitDepthCalculator) ... ok
test_bounds_checking (tests.test_transit_depth_calculator.TestTransitDepthCalculator) ... ok
test_custom_file (tests.test_transit_depth_calculator.TestTransitDepthCalculator) ... ok
test_ggchem (tests.test_transit_depth_calculator.TestTransitDepthCalculator) ... ok
test_power_law_haze (tests.test_transit_depth_calculator.TestTransitDepthCalculator) ... ok
test_unbound_atmosphere (tests.test_transit_depth_calculator.TestTransitDepthCalculator) ... ok
======================================================================
ERROR: test_multinest (tests.test_retrieve.TestRetriever)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/nishiumi/platon/tests/test_retrieve.py", line 72, in test_multinest
result = retriever.run_multinest(self.wavelength_bins, self.depths, self.errors, self.fit_info, maxcall=200, include_condensation=False, plot_best=True)
File "/home/nishiumi/platon/platon/retriever.py", line 110, in run_multinest
include_condensation, plot_best, maxiter, maxcall, **dynesty_kwargs)
File "/home/nishiumi/platon/platon/combined_retriever.py", line 384, in run_multinest
dyplot.runplot(result)
File "/home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/dynesty-0.9.7-py3.6.egg/dynesty/plotting.py", line 182, in runplot
wt_kde = gaussian_kde(resample_equal(-logvol, data[2])) # KDE
File "/home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/scipy/stats/kde.py", line 172, in __init__
self.set_bandwidth(bw_method=bw_method)
File "/home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/scipy/stats/kde.py", line 499, in set_bandwidth
self._compute_covariance()
File "/home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/scipy/stats/kde.py", line 510, in _compute_covariance
self._data_inv_cov = linalg.inv(self._data_covariance)
File "/home/nishiumi/.conda/envs/py35/lib/python3.6/site-packages/scipy/linalg/basic.py", line 975, in inv
raise LinAlgError("singular matrix")
numpy.linalg.linalg.LinAlgError: singular matrix
-------------------- >> begin captured stdout << ---------------------
Evaluated params: ln_prob=-4.21e+06 Rs=1.20 R_sun Mp=0.81 M_jup Rp=1.61 R_jup T=1661 K logZ=-0.76 CO_ratio=1.45 log_cloudtop_P=-0.98 log_scatt_factor=0.61 scatt_slope=1.40 error_multiple=0.76
Evaluated params: ln_prob=-2.33e+04 Rs=1.17 R_sun Mp=0.74 M_jup Rp=1.53 R_jup T=1519 K logZ=-0.92 CO_ratio=1.28 log_cloudtop_P=2.52 log_scatt_factor=0.34 scatt_slope=3.06 error_multiple=5.66
Evaluated params: ln_prob=-2.51e+04 Rs=1.18 R_sun Mp=0.68 M_jup Rp=1.62 R_jup T=1352 K logZ=2.81 CO_ratio=1.02 log_cloudtop_P=-0.70 log_scatt_factor=0.47 scatt_slope=2.05 error_multiple=6.90
Evaluated params: ln_prob=1.09e+02 Rs=1.19 R_sun Mp=0.72 M_jup Rp=1.39 R_jup T=1367 K logZ=2.35 CO_ratio=0.73 log_cloudtop_P=-0.33 log_scatt_factor=0.36 scatt_slope=2.16 error_multiple=6.55
Evaluated params: ln_prob=-5.46e+04 Rs=1.17 R_sun Mp=0.67 M_jup Rp=1.57 R_jup T=1151 K logZ=2.41 CO_ratio=1.41 log_cloudtop_P=3.81 log_scatt_factor=0.29 scatt_slope=2.24 error_multiple=3.83
Evaluated params: ln_prob=-2.08e+04 Rs=1.20 R_sun Mp=0.71 M_jup Rp=1.59 R_jup T=1697 K logZ=-0.36 CO_ratio=0.76 log_cloudtop_P=3.34 log_scatt_factor=0.87 scatt_slope=4.58 error_multiple=8.01
#Parameter Lower_error Median Upper_error Best_fit
Max_lnprob 241.8159559663476
Rs 0.0 808423275.5052384 1.1920928955078125e-07 808423275.5052384
Mp 0.0 1.4270349011682383e+27 0.0 1.4270349011682383e+27
Rp 0.0 94053226.85372977 0.0 94053226.85372977
T 0.0 960.9236061213496 0.0 960.9236061213496
logZ 0.0 0.6136363753118568 0.0 0.6136363753118568
CO_ratio 0.0 0.9396814431460054 0.0 0.9396814431460054
log_cloudtop_P 0.0 0.2023394068016462 0.0 0.2023394068016462
log_scatt_factor 0.0 0.015893141904262054 0.0 0.015893141904262054
scatt_slope 0.0 1.734910969176494 0.0 1.734910969176494
error_multiple 0.0 3.6504520647536234 0.0 3.6504520647536234
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
matplotlib.ticker: DEBUG: vmin 0.22226568888495934 vmax 10.72942200607209
matplotlib.ticker: DEBUG: ticklocs array([1.e-02, 1.e-01, 1.e+00, 1.e+01, 1.e+02, 1.e+03])
matplotlib.ticker: DEBUG: vmin 0.22226568888495934 vmax 10.72942200607209
matplotlib.ticker: DEBUG: ticklocs [0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6000000000000001, 0.7000000000000001, 0.8, 0.9, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 200.0, 300.0, 400.0, 500.0, 600.0, 700.0, 800.0, 900.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0, 8000.0, 9000.0]
matplotlib.ticker: DEBUG: vmin 0.22226568888495934 vmax 10.72942200607209
matplotlib.ticker: DEBUG: ticklocs array([1.e-02, 1.e-01, 1.e+00, 1.e+01, 1.e+02, 1.e+03])
matplotlib.ticker: DEBUG: vmin 0.22226568888495934 vmax 10.72942200607209
matplotlib.ticker: DEBUG: ticklocs [0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6000000000000001, 0.7000000000000001, 0.8, 0.9, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 200.0, 300.0, 400.0, 500.0, 600.0, 700.0, 800.0, 900.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0, 8000.0, 9000.0]
matplotlib.axes._base: DEBUG: update_title_pos
matplotlib.ticker: DEBUG: vmin 0.22226568888495934 vmax 10.72942200607209
matplotlib.ticker: DEBUG: ticklocs array([1.e-02, 1.e-01, 1.e+00, 1.e+01, 1.e+02, 1.e+03])
matplotlib.ticker: DEBUG: vmin 0.22226568888495934 vmax 10.72942200607209
matplotlib.ticker: DEBUG: ticklocs [0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6000000000000001, 0.7000000000000001, 0.8, 0.9, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 200.0, 300.0, 400.0, 500.0, 600.0, 700.0, 800.0, 900.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0, 8000.0, 9000.0]
matplotlib.ticker: DEBUG: vmin 0.22226568888495934 vmax 10.72942200607209
matplotlib.ticker: DEBUG: ticklocs array([1.e-02, 1.e-01, 1.e+00, 1.e+01, 1.e+02, 1.e+03])
matplotlib.ticker: DEBUG: vmin 0.22226568888495934 vmax 10.72942200607209
matplotlib.ticker: DEBUG: ticklocs [0.02, 0.03, 0.04, 0.05, 0.06, 0.07, 0.08, 0.09, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6000000000000001, 0.7000000000000001, 0.8, 0.9, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0, 80.0, 90.0, 200.0, 300.0, 400.0, 500.0, 600.0, 700.0, 800.0, 900.0, 2000.0, 3000.0, 4000.0, 5000.0, 6000.0, 7000.0, 8000.0, 9000.0]
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 27 tests in 185.489s
FAILED (SKIP=2, errors=1)
The citation to Madhusudhan & Seager 2018, actually should be Madhusudhan & Seager 2009.
The Qext code can easily be adapted to use different refractive indices. However, the current interpolation and caching schemes will no longer work, because Qext will depend on 2 real numbers instead of 1: lambda and radius. That's probably fine for the forward model, because the Mie calculation will take ~1 second. However, retrieval will take forever unless we use a 2D interpolation or caching scheme. Not impossible, but it will take some experimenting.
Pretty much every paper and exoplanet catalog species planetary mass instead of g. We already make the user specify R, and g = GM/R^2
Would you be interested to add support for https://johannesbuchner.github.io/UltraNest/ ?
The interface should be very similar to pymultinest.
UltraNest is a very reliable tuning-parameter-free algorithm. I have published some examples where the UltraNest algorithm is unbiased while pymultinest gives a different answer. UltraNest is a pure-python package and very easy to install with pip or conda.
UltraNest also supports resuming from disk and MPI parallelisation, if that is useful to you.
Ideas:
PyExoTransmit
ExoRetrieve
PyRetrieve
GoldenRetriever
GaseousRetriever
?
In TransitDepthCalculator, change_wavelength_bins is implemented in a crude way that doesn't allow the same function to be called again. We should store the unbinned data somewhere, and allow the user to change wavelength bins as often as they want.
When running the example emcee file:
File "platon_p.py", line 56, in
result = retriever.run_emcee(bins, depths, errors,None, None, None,fit_info)
File "/home/user/anaconda3/lib/python3.7/site-packages/platon/combined_retriever.py", line 248, in run_emcee
include_condensation=include_condensation, method=rad_method)
File "/home/user/anaconda3/lib/python3.7/site-packages/platon/transit_depth_calculator.py", line 44, in init
ref_pressure, method)
File "/home/user/anaconda3/lib/python3.7/site-packages/platon/_atmosphere_solver.py", line 30, in init
get_data_if_needed()
File "/home/user/anaconda3/lib/python3.7/site-packages/platon/_get_data.py", line 16, in get_data_if_needed
with open(resource_filename(name, "md5sum")) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/anaconda3/lib/python3.7/site-packages/platon/md5sum'
Thank you for the nice code!
...so that all user-supplied errors can be multiplied by error_factor
Right now the transit depth calculator takes "abundances", which has to be a dictionary of 13 x 30 arrays spanning pressures from 10^-9 bar to 1000 bar, and temperatures from 100 to 3000 K. However, sometimes we don't have abundance information for this whole range because ggchem is unstable at very low temperatures. Is there a way to make the format of "abundances" more flexible? Can the user just specify abundances at points along the atmospheric profile? Can abundances be replaced with an AbundanceGetter object?
Characterise the outcome of the retrieval for different reference wavelengths
At low pressures (< 1 Pa), monatomic hydrogen is the dominant species. This makes perfect sense from an equilibrium chemistry perspective because hydrogen atoms can dissociate at the normal rate, but can never find another hydrogen atom to combine with. However, does this make physical sense in the context of exoplanet atmospheres?
Especially for the stellar radius and planetary g, we need to allow the user to include the uncertainties and take them into account in the prior. Fixing them to one value makes the retrieval biased and unrealistic.
Hi,
I've been trying to run retrievals on some simulated data, and for certain input parameters, the nested sampling retrieval fails within the first couple of likelihood calls with the following error:
Traceback (most recent call last):
File "/home/radica/.anaconda3/envs/astroconda/lib/python3.6/site-packages/dynesty/dynesty.py", line 939, in call
return self.func(x, *self.args, **self.kwargs)
File "/home/radica/.anaconda3/envs/astroconda/lib/python3.6/site-packages/platon/combined_retriever.py", line 379, in multinest_ln_like
eclipse_depths, eclipse_errors)
File "/home/radica/.anaconda3/envs/astroconda/lib/python3.6/site-packages/platon/combined_retriever.py", line 149, in _ln_like
part_size=part_size, ri=ri, P_quench=P_quench, full_output=True)
File "/home/radica/.anaconda3/envs/astroconda/lib/python3.6/site-packages/platon/transit_depth_calculator.py", line 286, in compute_depths
radii)
File "/home/radica/.anaconda3/envs/astroconda/lib/python3.6/site-packages/platon/_tau_calculator.py", line 23, in get_line_of_sight_tau
assert(np.allclose(radii, np.sort(radii)[::-1]))
AssertionError
It seems to only occur when I add the planet radius or mass as a fit parameter. If I remove radius and mass as fittable parameters, but keep everything else the same, the retrieval will run to completion.
Assuming Gaussian and independent errors is definitely not valid for WFC3 data, for instance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.