-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Volume class to support multiple data types (#282)
* Refactor volume to allow multiple data types * Update code to pass tests * Update src/gemdat/path.py Co-authored-by: SCiarella <58949181+SCiarella@users.noreply.github.com> * Update src/gemdat/volume.py Co-authored-by: SCiarella <58949181+SCiarella@users.noreply.github.com> * Simplify Volume dataclass * Remove Volume.data * Pass tests * Calculate resolution from dims * Use more accurate voxel to frac conversion * Remove redundant frac/cart path methods, use volume methods instead * Merge voxel_size / resolution * Save multiple volumes to volumetric data / vesta output * Remove cost, duplicate of total_energy --------- Co-authored-by: SCiarella <58949181+SCiarella@users.noreply.github.com>
- Loading branch information
1 parent
63919cb
commit f73fc3e
Showing
8 changed files
with
166 additions
and
211 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.