Skip to content

Conversation

@LingxiaS
Copy link

No description provided.

break # Found the phase, no need to check further keys

# Convert lists to dictionaries for kwell, cmin, and fmin
kwell_dict = dict(kwell_list)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be attributes of the object. Right now they aren't stored or returned.

D_dict = {T: 0.5 * kwell_dict[T] * cmin_dict[T] * cmin_dict[T] + fmin_dict[T] for T in kwell_dict.keys()}

# Fit and plot A, B, D
self.fit_and_plot(A_dict, phase_name, 'A', 'blue')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep plotting out of this file. This stuff can go in a separate example like this: https://github.com/wband/AMMBER_python/blob/examples/examples/example_AlCu_eutectic.py

I think we were waiting to merge that in until we had permission to republish the TDB files or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants