-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Email (Optional)
No response
Problem
It's often difficult to know the units returned by matcalc, particularly for beginners.
- Some calculators like ElasticityCalc seem to mix units - with bulk and shear moduli returning eV/A^3 whereas Young's moduli in a unit I'm still unsure about.
- Furthermore, some properties are in atomic units (e.g., eV, A) whereas others like heat capacity are in SI units (J/mol*K), so one can't also just assume everything is in atomic units.
Proposed Solution
The easiest solution is probably to just include unit information in docstrings
Alternatives
Alternatives may include creating pydantic models with documentation on units for returned data or including units information in returned quantities
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels