theochem / iodata

Python library for reading, writing, and converting computational chemistry file formats and generating input files.
https://iodata.readthedocs.io/
GNU Lesser General Public License v3.0
127 stars 46 forks source link

Support GPAW #306

Open marco-2023 opened 7 months ago

marco-2023 commented 7 months ago

We should consider to support GPAW *.gpw files.

These files use the ase.io.ulm format.

Methods for reading and writing this files are in https://wiki.fysik.dtu.dk/ase/_modules/ase/io/ulm.html#Writer

PaulWAyers commented 7 months ago

@tovrstra do you have thoughts on this? I think there is some functionality already in denspart as I recall, which could (should?) be migrated over or copied to IOData I think.

tovrstra commented 7 months ago

Denspart does indeed have an interface to GPAW, which can be found here:

https://github.com/theochem/denspart/blob/main/src/denspart/adapters/gpaw.py

This interface does more than just reading data. It also imports GPAW to load the files and to compute the electron density on grids that are convenient for post-processing. Only a part of these features would fit well within IOData.