calphy 1.3.7__tar.gz → 1.3.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {calphy-1.3.7/calphy.egg-info → calphy-1.3.8}/PKG-INFO +1 -1
- {calphy-1.3.7 → calphy-1.3.8}/calphy/__init__.py +1 -1
- {calphy-1.3.7 → calphy-1.3.8}/calphy/input.py +1 -1
- {calphy-1.3.7 → calphy-1.3.8}/calphy/phase_diagram.py +3 -1
- {calphy-1.3.7 → calphy-1.3.8}/calphy/scheduler.py +1 -1
- {calphy-1.3.7 → calphy-1.3.8/calphy.egg-info}/PKG-INFO +1 -1
- {calphy-1.3.7 → calphy-1.3.8}/setup.py +1 -1
- {calphy-1.3.7 → calphy-1.3.8}/LICENSE +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/MANIFEST.in +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/README.md +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/alchemy.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/clitools.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/composition_transformation.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/errors.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/helpers.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/integrators.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/kernel.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/liquid.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/phase.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/queuekernel.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/routines.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/solid.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/splines.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy/utils.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy.egg-info/SOURCES.txt +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy.egg-info/dependency_links.txt +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy.egg-info/entry_points.txt +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy.egg-info/not-zip-safe +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy.egg-info/requires.txt +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/calphy.egg-info/top_level.txt +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/setup.cfg +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/tests/test_helpers.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/tests/test_integrators.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/tests/test_options.py +0 -0
- {calphy-1.3.7 → calphy-1.3.8}/tests/test_solid_methods.py +0 -0
|
@@ -329,6 +329,7 @@ def get_common_tangents(dict_list,
|
|
|
329
329
|
tangents = []
|
|
330
330
|
energies = []
|
|
331
331
|
tangent_colors = []
|
|
332
|
+
phases = []
|
|
332
333
|
|
|
333
334
|
for d in dist:
|
|
334
335
|
t = [convex_x[sargs][d], convex_x[sargs][d+1]]
|
|
@@ -339,6 +340,7 @@ def get_common_tangents(dict_list,
|
|
|
339
340
|
tangents.append(t)
|
|
340
341
|
energies.append(e)
|
|
341
342
|
tangent_colors.append(color_dict[phase_str])
|
|
343
|
+
phases.append(phase_str.split("-"))
|
|
342
344
|
|
|
343
345
|
if plot:
|
|
344
346
|
for d in dict_list:
|
|
@@ -347,7 +349,7 @@ def get_common_tangents(dict_list,
|
|
|
347
349
|
plt.plot(t, e, color="black", ls="dashed")
|
|
348
350
|
plt.ylim(top=0.0)
|
|
349
351
|
|
|
350
|
-
return np.array(tangents), np.array(energies), np.array(tangent_colors), color_dict
|
|
352
|
+
return np.array(tangents), np.array(energies), np.array(tangent_colors), color_dict, np.array(phases)
|
|
351
353
|
|
|
352
354
|
|
|
353
355
|
def plot_phase_diagram(tangents, temperature,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|