MagmaForge: Fractional Decompression#

Demonstrates how to run a fractional (isentropic) decompression routine using MagmaForge.

Open this code in an executable MyBinder instance (MyBinder links may be slow to load– please be patient!):

https://mybinder.org/badge_logo.svg

Initialization#

Import necessary packages:

from thermoengine import magmaforge

import numpy as np
import pandas as pd
import matplotlib.pyplot as plt

Define a bulk composition:

DMM_comp_adj = {
    'SiO2': 44.7354,
    'TiO2': 0.130074,
    'Al2O3': 3.98226,
    'Fe2O3': 0.275456,
    'Cr2O3': 0.570323,
    'FeO': 8.01254,
    'MgO': 38.752,
    'NiO': 0.240136,
    'CaO': 3.1718,
    'Na2O': 0.130074
}

P_GPa = 1.45

Find the solidus#

Currently, ThermoEngine cannot equilibrate subsolidus, as a different equilibration routine is required when the liquid is not present. We plan to get subsolidus equilibration implemented soon.

sys = magmaforge.System(comp=DMM_comp_adj,
                        T_liquidus=True,
                        P_GPa=P_GPa,
                        database='MELTS_pMELTS',
                        )

sys.crystallize(method='equil',
                T_step=5,
                fix_fO2=False,
                calc_args={'debug':0})

solidus_T = sys.T_C

print(f"Solidus found at {solidus_T :.1f}˚C")
Solidus found at 1396.1˚C

System and Calculations#

Define the system using magmaforge:

sys = magmaforge.System(comp=DMM_comp_adj,
                        T_C = solidus_T,
                        P_GPa=P_GPa,
                        database='MELTS_pMELTS'
                        )

Melt via isentropic decompression:

  • For fractional melting, the fraction retained is treated as a melt fraction. By default, this value is set to 0.005.

  • Fractionation happens at the end of each step, after equilibration. Note that the post-fractionation step is still an equilibrium assemblage!

sys.melt_by_decompression(P_final_GPa=0.25,#0.25,
                          method='frac',
                          P_step_GPa=0.01,
                          fix_fO2=False,
                          )
<thermoengine.magmaforge.system.System object at 0xffff667155b0>

Output#

pd.set_option('display.max_columns', None)
pd.set_option('display.max_row', None)
phase_masses = sys.history.get_phase_mass_table(phases='present', index='P_GPa', prior_to_fractionation=False)
mass_agg_melt = sys.history.get_fractionated_masses(method='aggregated')
phase_masses['Agg Liquid'] = mass_agg_melt

Plot System Evolution#

Automatic plotting functions for decompression melting coming soon! The dotted lines show the instantaneous fractional melt compositions.

oxides_to_plot = ['MgO', 'SiO2', 'Al2O3', 'FeO', 'Fe2O3', 'CaO']

pressures = sys.history.get_pressures('GPa')
temperatures = sys.history.get_temperatures('C')

agg_liq_comps = sys.history.get_fractionated_phase_comps(phase_name='Liquid',unit='wt_oxides', method='aggregated', norm=True)
inc_liq_comps = sys.history.get_phase_comps(phase_name='Liquid',unit='wt_oxides', prior_to_fractionation=True, norm=True)

print(agg_liq_comps)

phase_colors = {'Spinel': 'black',
                'Garnet': 'purple',
                'Olivine': 'yellowgreen',
                'Clinopyroxene' : 'green',
                'Orthopyroxene': 'darkolivegreen',}

# Create plot

fig, ax = plt.subplots(1, 3, sharey='row', gridspec_kw={'wspace': 0.1, 'width_ratios': [1,1,2]}, figsize=(8,4))

# Plot phase masses
for ph in phase_masses.columns:
    if (ph != 'Liquid') and (ph != 'Agg Liquid'):
        ax[0].plot(phase_masses[ph], pressures,
                   color=phase_colors[ph],label=ph)

ax[0].plot(phase_masses['Agg Liquid'], pressures,
           lw=2, c='red', label='Agg. Melt')

# Plot temperature
ax[1].plot(temperatures, pressures, c='k', lw=2)

# Plot liquid composition
i=0
for ox in oxides_to_plot:
  ax[2].plot(agg_liq_comps[ox], pressures, label=ox, c=f"C{i}")
  ax[2].plot(inc_liq_comps[ox], pressures, c=f"C{i}", ls=':')
  i += 1

# Add instantaneous melts to legend
ax[2].set_xlim(ax[2].get_xlim())
ax[2].set_ylim(ax[2].get_ylim())
ax[2].plot([100]*2, [100]*2, label=" ", lw=0)
ax[2].plot([100]*2, [100]*2, c='k', ls=':', label="Instantaneous\nMelts")

# Format axes
ax[0].invert_yaxis()
ax[0].legend(ncol=2, loc='upper left', bbox_to_anchor=(-0.4, 1.3))
ax[2].legend(ncol=3, loc='upper left', bbox_to_anchor=(-0.3, 1.3))
plt.subplots_adjust(top=0.8)

ax[0].set_ylabel('Pressure (GPa)')
ax[0].set_xlabel('Phase Mass')
ax[1].set_xlabel('Temperature (˚C)')
ax[2].set_xlabel('Aggregated Liquid Comp (wt%)')


plt.show()
plot magmaforge decompression frac
          SiO2      TiO2      Al2O3     Fe2O3     Cr2O3       FeO  MnO  \
0          NaN       NaN        NaN       NaN       NaN       NaN  NaN
1    45.844398  0.963261  15.133304  0.754395  0.094191  9.049245  0.0
2    45.849666  0.962963  15.135202  0.755723  0.093915  9.045814  0.0
3    45.857684  0.962499  15.138072  0.757751  0.093499  9.040573  0.0
4    45.867338  0.961926  15.141505  0.760197  0.093000  9.034237  0.0
5    45.878058  0.961274  15.145291  0.762918  0.092450  9.027172  0.0
6    45.889529  0.960557  15.149312  0.765833  0.091865  9.019582  0.0
7    45.901559  0.959785  15.153498  0.768891  0.091256  9.011588  0.0
8    45.914030  0.958962  15.157803  0.772060  0.090630  9.003267  0.0
9    45.926865  0.958093  15.162198  0.775318  0.089992  8.994667  0.0
10   45.940013  0.957177  15.166663  0.778648  0.089344  8.985821  0.0
11   45.953441  0.956215  15.171183  0.782039  0.088690  8.976751  0.0
12   45.967128  0.955208  15.175750  0.785482  0.088031  8.967470  0.0
13   45.981060  0.954155  15.180356  0.788970  0.087368  8.957985  0.0
14   45.995229  0.953053  15.184997  0.792496  0.086702  8.948303  0.0
15   46.009635  0.951903  15.189670  0.796056  0.086035  8.938424  0.0
16   46.024276  0.950701  15.194373  0.799644  0.085367  8.928348  0.0
17   46.039157  0.949448  15.199104  0.803257  0.084698  8.918074  0.0
18   46.054286  0.948139  15.203863  0.806891  0.084030  8.907595  0.0
19   46.069670  0.946773  15.208651  0.810542  0.083363  8.896910  0.0
20   46.085319  0.945348  15.213469  0.814207  0.082696  8.886010  0.0
21   46.101246  0.943861  15.218316  0.817882  0.082032  8.874890  0.0
22   46.117463  0.942308  15.223195  0.821563  0.081369  8.863542  0.0
23   46.133986  0.940689  15.228107  0.825247  0.080709  8.851957  0.0
24   46.150831  0.938998  15.233054  0.828931  0.080051  8.840126  0.0
25   46.168015  0.937233  15.238038  0.832610  0.079397  8.828040  0.0
26   46.185556  0.935392  15.243061  0.836280  0.078746  8.815689  0.0
27   46.203476  0.933469  15.248126  0.839938  0.078098  8.803060  0.0
28   46.221796  0.931462  15.253234  0.843580  0.077455  8.790143  0.0
29   46.240537  0.929367  15.258389  0.847201  0.076816  8.776926  0.0
30   46.259725  0.927181  15.263592  0.850796  0.076182  8.763395  0.0
31   46.279383  0.924898  15.268846  0.854362  0.075553  8.749540  0.0
32   46.299539  0.922515  15.274155  0.857892  0.074929  8.735344  0.0
33   46.320220  0.920029  15.279520  0.861382  0.074312  8.720795  0.0
34   46.341456  0.917433  15.284944  0.864827  0.073700  8.705877  0.0
35   46.363276  0.914725  15.290430  0.868221  0.073095  8.690576  0.0
36   46.385713  0.911900  15.295979  0.871558  0.072497  8.674877  0.0
37   46.408798  0.908953  15.301594  0.874832  0.071907  8.658764  0.0
38   46.432567  0.905879  15.307276  0.878038  0.071325  8.642221  0.0
39   46.457053  0.902674  15.313028  0.881169  0.070751  8.625232  0.0
40   46.482294  0.899334  15.318851  0.884218  0.070186  8.607781  0.0
41   46.508325  0.895853  15.324745  0.887180  0.069631  8.589851  0.0
42   46.535186  0.892228  15.330711  0.890046  0.069086  8.571427  0.0
43   46.562914  0.888454  15.336750  0.892811  0.068551  8.552493  0.0
44   46.591548  0.884527  15.342859  0.895467  0.068027  8.533033  0.0
45   46.621127  0.880443  15.349038  0.898007  0.067516  8.513033  0.0
46   46.651689  0.876199  15.355285  0.900425  0.067017  8.492479  0.0
47   46.683273  0.871791  15.361595  0.902713  0.066531  8.471358  0.0
48   46.715915  0.867216  15.367965  0.904864  0.066058  8.449658  0.0
49   46.749651  0.862473  15.374389  0.906872  0.065601  8.427371  0.0
50   46.784514  0.857559  15.380860  0.908731  0.065159  8.404488  0.0
51   46.820536  0.852474  15.387369  0.910434  0.064733  8.381003  0.0
52   46.857743  0.847218  15.393908  0.911976  0.064323  8.356914  0.0
53   46.896159  0.841791  15.400463  0.913352  0.063932  8.332222  0.0
54   46.935802  0.836197  15.407021  0.914558  0.063559  8.306930  0.0
55   46.976687  0.830436  15.413568  0.915590  0.063205  8.281045  0.0
56   47.018818  0.824515  15.420085  0.916445  0.062870  8.254581  0.0
57   47.062197  0.818438  15.426555  0.917121  0.062557  8.227552  0.0
58   47.106815  0.812212  15.432955  0.917619  0.062264  8.199981  0.0
59   47.152657  0.805846  15.439262  0.917938  0.061993  8.171892  0.0
60   47.199700  0.799348  15.445453  0.918080  0.061745  8.143317  0.0
61   47.247909  0.792729  15.451502  0.918048  0.061519  8.114290  0.0
62   47.297244  0.786000  15.457380  0.917845  0.061316  8.084851  0.0
63   47.347656  0.779175  15.463060  0.917478  0.061136  8.055043  0.0
64   47.399088  0.772267  15.468512  0.916953  0.060980  8.024914  0.0
65   47.451474  0.765290  15.473708  0.916277  0.060847  7.994516  0.0
66   47.504745  0.758258  15.478618  0.915459  0.060737  7.963900  0.0
67   47.558825  0.751188  15.483212  0.914507  0.060649  7.933122  0.0
68   47.613632  0.744094  15.487463  0.913432  0.060584  7.902238  0.0
69   47.669083  0.736990  15.491344  0.912244  0.060541  7.871304  0.0
70   47.725095  0.729893  15.494827  0.910953  0.060519  7.840375  0.0
71   47.781580  0.722815  15.497889  0.909571  0.060518  7.809508  0.0
72   47.838450  0.715770  15.500507  0.908109  0.060536  7.778755  0.0
73   47.895620  0.708773  15.502660  0.906576  0.060573  7.748169  0.0
74   47.953007  0.701835  15.504328  0.904983  0.060628  7.717799  0.0
75   48.010527  0.694967  15.505495  0.903341  0.060700  7.687692  0.0
76   48.068101  0.688180  15.506147  0.901658  0.060787  7.657892  0.0
77   48.125652  0.681484  15.506271  0.899945  0.060889  7.628442  0.0
78   48.183105  0.674888  15.505856  0.898209  0.061005  7.599379  0.0
79   48.240390  0.668401  15.504896  0.896459  0.061133  7.570740  0.0
80   48.297436  0.662028  15.503383  0.894702  0.061273  7.542558  0.0
81   48.354180  0.655779  15.501315  0.892945  0.061423  7.514864  0.0
82   48.410557  0.649657  15.498691  0.891194  0.061582  7.487686  0.0
83   48.438255  0.646726  15.497334  0.890381  0.061667  7.474798  0.0
84   48.462358  0.644243  15.496121  0.889719  0.061745  7.463996  0.0
85   48.487179  0.641752  15.494834  0.889080  0.061832  7.453268  0.0
86   48.512722  0.639255  15.493469  0.888465  0.061926  7.442608  0.0
87   48.538991  0.636752  15.492019  0.887873  0.062028  7.432011  0.0
88   48.565992  0.634242  15.490479  0.887304  0.062138  7.421473  0.0
89   48.593730  0.631727  15.488843  0.886758  0.062256  7.410987  0.0
90   48.622215  0.629207  15.487103  0.886234  0.062381  7.400550  0.0
91   48.651451  0.626681  15.485255  0.885734  0.062515  7.390157  0.0
92   48.681452  0.624150  15.483289  0.885255  0.062657  7.379803  0.0
93   48.712222  0.621614  15.481199  0.884799  0.062808  7.369485  0.0
94   48.743773  0.619074  15.478977  0.884364  0.062966  7.359200  0.0
95   48.776112  0.616528  15.476615  0.883951  0.063134  7.348942  0.0
96   48.809246  0.613978  15.474104  0.883560  0.063310  7.338712  0.0
97   48.843192  0.611424  15.471433  0.883190  0.063495  7.328503  0.0
98   48.877951  0.608865  15.468596  0.882840  0.063689  7.318315  0.0
99   48.913530  0.606303  15.465580  0.882511  0.063892  7.308146  0.0
100  48.949936  0.603737  15.462376  0.882202  0.064105  7.297995  0.0
101  48.987174  0.601168  15.458973  0.881913  0.064327  7.287860  0.0
102  49.025246  0.598596  15.455361  0.881643  0.064558  7.277740  0.0
103  49.064154  0.596023  15.451526  0.881392  0.064799  7.267637  0.0
104  49.103895  0.593449  15.447459  0.881159  0.065050  7.257550  0.0
105  49.144465  0.590874  15.443146  0.880943  0.065311  7.247480  0.0
106  49.185856  0.588301  15.438575  0.880745  0.065581  7.237430  0.0
107  49.228059  0.585729  15.433736  0.880562  0.065860  7.227402  0.0
108  49.271057  0.583162  15.428614  0.880395  0.066150  7.217398  0.0
109  49.314835  0.580599  15.423198  0.880242  0.066449  7.207423  0.0
110  49.359365  0.578043  15.417478  0.880103  0.066757  7.197481  0.0
111  49.404630  0.575495  15.411439  0.879976  0.067074  7.187575  0.0
112  49.450591  0.572957  15.405072  0.879860  0.067400  7.177714  0.0
113  49.497214  0.570432  15.398367  0.879755  0.067735  7.167902  0.0
114  49.544461  0.567921  15.391313  0.879658  0.068078  7.158146  0.0
115  49.592288  0.565427  15.383902  0.879570  0.068428  7.148453  0.0
116  49.640647  0.562952  15.376127  0.879488  0.068785  7.138831  0.0
117  49.689488  0.560498  15.367979  0.879412  0.069149  7.129288  0.0
118  49.738758  0.558067  15.359455  0.879339  0.069519  7.119832  0.0
119  49.788401  0.555663  15.350548  0.879270  0.069894  7.110470  0.0
120  49.838360  0.553285  15.341257  0.879202  0.070274  7.101211  0.0

           MgO       NiO  CoO        CaO      Na2O  K2O  P2O5  H2O  CO2
0          NaN       NaN  NaN        NaN       NaN  NaN   NaN  NaN  NaN
1    15.100741  0.010757  0.0   9.604947  3.444762  0.0   0.0  0.0  0.0
2    15.096938  0.010727  0.0   9.619233  3.429818  0.0   0.0  0.0  0.0
3    15.091100  0.010683  0.0   9.641069  3.407070  0.0   0.0  0.0  0.0
4    15.084009  0.010630  0.0   9.667467  3.379691  0.0   0.0  0.0  0.0
5    15.076065  0.010572  0.0   9.696894  3.349307  0.0   0.0  0.0  0.0
6    15.067487  0.010509  0.0   9.728489  3.316838  0.0   0.0  0.0  0.0
7    15.058409  0.010444  0.0   9.761727  3.282843  0.0   0.0  0.0  0.0
8    15.048914  0.010377  0.0   9.796275  3.247683  0.0   0.0  0.0  0.0
9    15.039053  0.010308  0.0   9.831907  3.211599  0.0   0.0  0.0  0.0
10   15.028864  0.010238  0.0   9.868467  3.174764  0.0   0.0  0.0  0.0
11   15.018368  0.010168  0.0   9.905844  3.137300  0.0   0.0  0.0  0.0
12   15.007579  0.010096  0.0   9.943957  3.099299  0.0   0.0  0.0  0.0
13   14.996508  0.010024  0.0   9.982745  3.060830  0.0   0.0  0.0  0.0
14   14.985158  0.009951  0.0  10.022160  3.021949  0.0   0.0  0.0  0.0
15   14.973532  0.009878  0.0  10.062170  2.982698  0.0   0.0  0.0  0.0
16   14.961630  0.009804  0.0  10.102740  2.943116  0.0   0.0  0.0  0.0
17   14.949450  0.009730  0.0  10.143850  2.903233  0.0   0.0  0.0  0.0
18   14.936987  0.009655  0.0  10.185483  2.863069  0.0   0.0  0.0  0.0
19   14.924238  0.009581  0.0  10.227619  2.822653  0.0   0.0  0.0  0.0
20   14.911196  0.009506  0.0  10.270249  2.782000  0.0   0.0  0.0  0.0
21   14.897854  0.009431  0.0  10.313358  2.741130  0.0   0.0  0.0  0.0
22   14.884207  0.009355  0.0  10.356935  2.700062  0.0   0.0  0.0  0.0
23   14.870246  0.009280  0.0  10.400970  2.658809  0.0   0.0  0.0  0.0
24   14.855963  0.009204  0.0  10.445456  2.617386  0.0   0.0  0.0  0.0
25   14.841348  0.009128  0.0  10.490381  2.575809  0.0   0.0  0.0  0.0
26   14.826395  0.009052  0.0  10.535736  2.534094  0.0   0.0  0.0  0.0
27   14.811091  0.008976  0.0  10.581514  2.492252  0.0   0.0  0.0  0.0
28   14.795427  0.008900  0.0  10.627702  2.450301  0.0   0.0  0.0  0.0
29   14.779395  0.008823  0.0  10.674291  2.408255  0.0   0.0  0.0  0.0
30   14.762982  0.008747  0.0  10.721270  2.366130  0.0   0.0  0.0  0.0
31   14.746180  0.008670  0.0  10.768626  2.323943  0.0   0.0  0.0  0.0
32   14.728975  0.008594  0.0  10.816348  2.281709  0.0   0.0  0.0  0.0
33   14.711359  0.008517  0.0  10.864419  2.239448  0.0   0.0  0.0  0.0
34   14.693319  0.008440  0.0  10.912829  2.197174  0.0   0.0  0.0  0.0
35   14.674845  0.008364  0.0  10.961558  2.154910  0.0   0.0  0.0  0.0
36   14.655925  0.008287  0.0  11.010587  2.112676  0.0   0.0  0.0  0.0
37   14.636549  0.008210  0.0  11.059898  2.070494  0.0   0.0  0.0  0.0
38   14.616706  0.008134  0.0  11.109469  2.028385  0.0   0.0  0.0  0.0
39   14.596384  0.008057  0.0  11.159278  1.986373  0.0   0.0  0.0  0.0
40   14.575574  0.007981  0.0  11.209298  1.944484  0.0   0.0  0.0  0.0
41   14.554265  0.007904  0.0  11.259500  1.902745  0.0   0.0  0.0  0.0
42   14.532448  0.007828  0.0  11.309857  1.861182  0.0   0.0  0.0  0.0
43   14.510114  0.007752  0.0  11.360335  1.819826  0.0   0.0  0.0  0.0
44   14.487254  0.007676  0.0  11.410898  1.778709  0.0   0.0  0.0  0.0
45   14.463863  0.007600  0.0  11.461509  1.737863  0.0   0.0  0.0  0.0
46   14.439933  0.007525  0.0  11.512126  1.697323  0.0   0.0  0.0  0.0
47   14.415460  0.007450  0.0  11.562706  1.657125  0.0   0.0  0.0  0.0
48   14.390442  0.007375  0.0  11.613200  1.617306  0.0   0.0  0.0  0.0
49   14.364877  0.007300  0.0  11.663560  1.577907  0.0   0.0  0.0  0.0
50   14.338766  0.007226  0.0  11.713731  1.538967  0.0   0.0  0.0  0.0
51   14.312112  0.007152  0.0  11.763659  1.500529  0.0   0.0  0.0  0.0
52   14.284921  0.007079  0.0  11.813283  1.462635  0.0   0.0  0.0  0.0
53   14.257202  0.007006  0.0  11.862542  1.425331  0.0   0.0  0.0  0.0
54   14.228968  0.006934  0.0  11.911373  1.388659  0.0   0.0  0.0  0.0
55   14.200233  0.006863  0.0  11.959710  1.352664  0.0   0.0  0.0  0.0
56   14.171017  0.006792  0.0  12.007486  1.317390  0.0   0.0  0.0  0.0
57   14.141343  0.006722  0.0  12.054635  1.282880  0.0   0.0  0.0  0.0
58   14.111237  0.006653  0.0  12.101089  1.249175  0.0   0.0  0.0  0.0
59   14.080730  0.006585  0.0  12.146782  1.216314  0.0   0.0  0.0  0.0
60   14.049857  0.006518  0.0  12.191650  1.184333  0.0   0.0  0.0  0.0
61   14.018655  0.006452  0.0  12.235633  1.153265  0.0   0.0  0.0  0.0
62   13.987167  0.006388  0.0  12.278672  1.123138  0.0   0.0  0.0  0.0
63   13.955435  0.006324  0.0  12.320715  1.093977  0.0   0.0  0.0  0.0
64   13.923508  0.006261  0.0  12.361715  1.065801  0.0   0.0  0.0  0.0
65   13.891434  0.006200  0.0  12.401629  1.038625  0.0   0.0  0.0  0.0
66   13.859264  0.006141  0.0  12.440424  1.012455  0.0   0.0  0.0  0.0
67   13.827048  0.006082  0.0  12.478071  0.987295  0.0   0.0  0.0  0.0
68   13.794838  0.006025  0.0  12.514551  0.963143  0.0   0.0  0.0  0.0
69   13.762686  0.005970  0.0  12.549847  0.939990  0.0   0.0  0.0  0.0
70   13.730642  0.005916  0.0  12.583955  0.917825  0.0   0.0  0.0  0.0
71   13.698752  0.005864  0.0  12.616875  0.896629  0.0   0.0  0.0  0.0
72   13.667068  0.005813  0.0  12.648610  0.876382  0.0   0.0  0.0  0.0
73   13.635632  0.005763  0.0  12.679173  0.857061  0.0   0.0  0.0  0.0
74   13.604488  0.005716  0.0  12.708579  0.838638  0.0   0.0  0.0  0.0
75   13.573677  0.005669  0.0  12.736848  0.821084  0.0   0.0  0.0  0.0
76   13.543237  0.005625  0.0  12.764003  0.804369  0.0   0.0  0.0  0.0
77   13.513204  0.005582  0.0  12.790068  0.788462  0.0   0.0  0.0  0.0
78   13.483612  0.005540  0.0  12.815073  0.773331  0.0   0.0  0.0  0.0
79   13.454492  0.005500  0.0  12.839046  0.758944  0.0   0.0  0.0  0.0
80   13.425872  0.005461  0.0  12.862017  0.745269  0.0   0.0  0.0  0.0
81   13.397780  0.005424  0.0  12.884016  0.732274  0.0   0.0  0.0  0.0
82   13.370241  0.005388  0.0  12.905074  0.719930  0.0   0.0  0.0  0.0
83   13.357652  0.005371  0.0  12.913665  0.714151  0.0   0.0  0.0  0.0
84   13.347555  0.005357  0.0  12.919552  0.709354  0.0   0.0  0.0  0.0
85   13.337980  0.005343  0.0  12.924096  0.704635  0.0   0.0  0.0  0.0
86   13.328919  0.005330  0.0  12.927316  0.699991  0.0   0.0  0.0  0.0
87   13.320364  0.005316  0.0  12.929229  0.695416  0.0   0.0  0.0  0.0
88   13.312309  0.005303  0.0  12.929853  0.690908  0.0   0.0  0.0  0.0
89   13.304747  0.005290  0.0  12.929199  0.686463  0.0   0.0  0.0  0.0
90   13.297675  0.005277  0.0  12.927281  0.682077  0.0   0.0  0.0  0.0
91   13.291086  0.005264  0.0  12.924110  0.677747  0.0   0.0  0.0  0.0
92   13.284977  0.005251  0.0  12.919695  0.673470  0.0   0.0  0.0  0.0
93   13.279345  0.005238  0.0  12.914045  0.669244  0.0   0.0  0.0  0.0
94   13.274187  0.005226  0.0  12.907168  0.665065  0.0   0.0  0.0  0.0
95   13.269501  0.005214  0.0  12.899071  0.660933  0.0   0.0  0.0  0.0
96   13.265284  0.005201  0.0  12.889761  0.656844  0.0   0.0  0.0  0.0
97   13.261535  0.005189  0.0  12.879244  0.652796  0.0   0.0  0.0  0.0
98   13.258252  0.005177  0.0  12.867528  0.648788  0.0   0.0  0.0  0.0
99   13.255433  0.005165  0.0  12.854621  0.644819  0.0   0.0  0.0  0.0
100  13.253079  0.005154  0.0  12.840530  0.640887  0.0   0.0  0.0  0.0
101  13.251186  0.005142  0.0  12.825267  0.636991  0.0   0.0  0.0  0.0
102  13.249752  0.005131  0.0  12.808842  0.633130  0.0   0.0  0.0  0.0
103  13.248777  0.005119  0.0  12.791268  0.629305  0.0   0.0  0.0  0.0
104  13.248257  0.005108  0.0  12.772561  0.625514  0.0   0.0  0.0  0.0
105  13.248188  0.005097  0.0  12.752738  0.621757  0.0   0.0  0.0  0.0
106  13.248567  0.005086  0.0  12.731823  0.618036  0.0   0.0  0.0  0.0
107  13.249390  0.005076  0.0  12.709837  0.614349  0.0   0.0  0.0  0.0
108  13.250649  0.005065  0.0  12.686811  0.610698  0.0   0.0  0.0  0.0
109  13.252339  0.005055  0.0  12.662776  0.607084  0.0   0.0  0.0  0.0
110  13.254451  0.005045  0.0  12.637771  0.603508  0.0   0.0  0.0  0.0
111  13.256976  0.005035  0.0  12.611830  0.599970  0.0   0.0  0.0  0.0
112  13.259904  0.005025  0.0  12.585004  0.596473  0.0   0.0  0.0  0.0
113  13.263221  0.005016  0.0  12.557341  0.593018  0.0   0.0  0.0  0.0
114  13.266916  0.005007  0.0  12.528894  0.589607  0.0   0.0  0.0  0.0
115  13.270973  0.004998  0.0  12.499720  0.586241  0.0   0.0  0.0  0.0
116  13.275376  0.004989  0.0  12.469881  0.582924  0.0   0.0  0.0  0.0
117  13.280109  0.004981  0.0  12.439440  0.579656  0.0   0.0  0.0  0.0
118  13.285154  0.004973  0.0  12.408464  0.576439  0.0   0.0  0.0  0.0
119  13.290492  0.004965  0.0  12.377022  0.573276  0.0   0.0  0.0  0.0
120  13.296103  0.004957  0.0  12.345182  0.570168  0.0   0.0  0.0  0.0

Save Output#

All of the output can be saved to csv files for future use, for example, uncomment the following:

# phase_masses.to_csv('pMELTS_phase_masses.csv')
# agg_liq_comps.to_csv('pMELTS_aggregated_liquid_comps.csv')

Total running time of the script: (0 minutes 48.565 seconds)

Gallery generated by Sphinx-Gallery