Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the unit error in documentation of phonon.py #17

Merged
merged 5 commits into from
Jan 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions matcalc/phonon.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def calc(self, structure: Structure) -> dict:
thermal_properties:
{
temperatures: list of temperatures in Kelvin,
free_energy: list of Helmholtz free energies at corresponding temperatures in eV,
entropy: list of entropies at corresponding temperatures in eV/K,
heat_capacity: list of heat capacities at constant volume at corresponding temperatures in eV/K^2,
free_energy: list of Helmholtz free energies at corresponding temperatures in KJ/mol,
Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks! can you add a code comment with a link to where the units are documented?

Copy link
Contributor Author

@rul048 rul048 Jan 25, 2024

Choose a reason for hiding this comment

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

How about just writing the comments and links here? Or it may affect the aesthetics of the source code.

Copy link
Collaborator

Choose a reason for hiding this comment

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

feel free to insert the link where you think best

entropy: list of entropies at corresponding temperatures in J/K/mol,
heat_capacity: list of heat capacities at constant volume at corresponding temperatures in J/K/mol,
}
}
"""
Expand Down
Loading