I was wondering if there are plans to incorporate additional support for CP2K / periodic calculations in general? I was just trying to visualize a TDDFT spectrum and some cube files but couldn’t, hence the post.
Yes - @brockdyer03 wrote some support for reading xsf files. I can post that as a plugin for testing if you like.
I’d like to have more support - but obviously, without knowing what people want (e.g., the survey and the forum) it’s hard to do everything possible. I’ve wanted better support for DOS and band structure plots, but don’t have many example files.
For this one, it would be nice to be able to (a) simply read the structure to ensure it makes sense (b) plot the TDDFT spectra. I have not yet ran DOS and band structure calculations yet but Im certain I will encounter them at some point.
Also, the cube file with the TDDFT NTOs (see previous attachment) doesn’t work… From what I could see it is formatted like any other cube file I’ve seen. I don’t know how cube files are handled for periodic systems though.
The cube file should be an “easy” fix when I have some time this afternoon.
Support for more output formats will take a bit, since writing good parsers takes time.
As I said, it’s probably easiest to go through a Python parser first. I’ll check if that cp2k-output tool offers up the spectral data, band structure, etc. If so, it’s probably 30 minutes to an hour to hook up a format plugin.
If you can get some examples of DOS / PDOS, band structures, etc. it would be great. I’m not sure I can get all that into the 2.1 release, but there’s already code for DOS / PDOS and band structure plots in there.
(Note they come with .dos & .pdos extensions, it would be cool if these were enabled to upload in the forum). Still figuring out how to get the band structure.