In [1]:
%cat 0Source_Citation.txt
In [2]:
%matplotlib inline
# %matplotlib notebook # for interactive
For high dpi displays.
In [3]:
%config InlineBackend.figure_format = 'retina'
This example compares pressure calculated from pytheos
and original publication for the platinum scale by Dorogokupets 2015.
In [4]:
import matplotlib.pyplot as plt
import numpy as np
from uncertainties import unumpy as unp
import pytheos as eos
In [5]:
eta = np.linspace(1., 0.70, 7)
print(eta)
In [6]:
dorogokupets2015_pt = eos.platinum.Dorogokupets2015()
In [7]:
help(eos.platinum.Dorogokupets2015)
In [8]:
dorogokupets2015_pt.print_equations()
In [9]:
dorogokupets2015_pt.print_equations()
In [10]:
dorogokupets2015_pt.print_parameters()
In [11]:
v0 = 60.37930856339099
In [12]:
dorogokupets2015_pt.three_r
Out[12]:
In [13]:
v = v0 * (eta)
temp = 3000.
In [14]:
p = dorogokupets2015_pt.cal_p(v, temp * np.ones_like(v))
In [15]:
print('for T = ', temp)
for eta_i, p_i in zip(eta, p):
print("{0: .3f} {1: .2f}".format(eta_i, p_i))
The table is not given in this publication.
In [16]:
v = dorogokupets2015_pt.cal_v(p, temp * np.ones_like(p), min_strain=0.6)
print((v/v0))
In [ ]: