From faf3ce46165624b1f45be4b44487f1edf5347515 Mon Sep 17 00:00:00 2001 From: Muhammad Umar Nadeem Date: Thu, 3 Dec 2026 14:47:10 +0500 Subject: [PATCH] docs: update pycalphad ternary tutorial links --- doc/python/ternary-contour.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/python/ternary-contour.md b/doc/python/ternary-contour.md index 41e63baf273..4aedb1ac97d 100644 --- a/doc/python/ternary-contour.md +++ b/doc/python/ternary-contour.md @@ -51,7 +51,7 @@ Al = np.array([0. , 0. , 0., 0., 1./3, 1./3, 1./3, 2./3, 2./3, 1.]) Cu = np.array([0., 1./3, 2./3, 1., 0., 1./3, 2./3, 0., 1./3, 0.]) Y = 1 - Al - Cu # synthetic data for mixing enthalpy -# See https://pycalphad.org/docs/latest/examples/TernaryExamples.html +# See https://pycalphad.org/docs/latest/examples/1_Phase_Diagrams/2_TernaryExamples.html enthalpy = (Al - 0.01) * Cu * (Al - 0.52) * (Cu - 0.48) * (Y - 1)**2 fig = ff.create_ternary_contour(np.array([Al, Y, Cu]), enthalpy, pole_labels=['Al', 'Y', 'Cu'], @@ -68,7 +68,7 @@ Al = np.array([0. , 0. , 0., 0., 1./3, 1./3, 1./3, 2./3, 2./3, 1.]) Cu = np.array([0., 1./3, 2./3, 1., 0., 1./3, 2./3, 0., 1./3, 0.]) Y = 1 - Al - Cu # synthetic data for mixing enthalpy -# See https://pycalphad.org/docs/latest/examples/TernaryExamples.html +# See https://pycalphad.org/docs/latest/examples/1_Phase_Diagrams/2_TernaryExamples.html enthalpy = 2.e6 * (Al - 0.01) * Cu * (Al - 0.52) * (Cu - 0.48) * (Y - 1)**2 - 5000 fig = ff.create_ternary_contour(np.array([Al, Y, Cu]), enthalpy, pole_labels=['Al', 'Y', 'Cu'], @@ -91,7 +91,7 @@ Al = np.array([0. , 0. , 0., 0., 1./3, 1./3, 1./3, 2./3, 2./3, 1.]) Cu = np.array([0., 1./3, 2./3, 1., 0., 1./3, 2./3, 0., 1./3, 0.]) Y = 1 - Al - Cu # synthetic data for mixing enthalpy -# See https://pycalphad.org/docs/latest/examples/TernaryExamples.html +# See https://pycalphad.org/docs/latest/examples/1_Phase_Diagrams/2_TernaryExamples.html enthalpy = 2.e6 * (Al - 0.01) * Cu * (Al - 0.52) * (Cu - 0.48) * (Y - 1)**2 - 5000 fig = ff.create_ternary_contour(np.array([Al, Y, Cu]), enthalpy, pole_labels=['Al', 'Y', 'Cu'],