Vibronic spectroscopy post-processing tools#4581
Conversation
|
Nice work! Since we don't have a lot of Python code, we usually just test it in test_misc.sh. As a test, maybe you could add a folder with a complete example and run your script on that? As an additional safety net, you could add Python type hints and have them checked with And finally, would it make sense to add a short comparison between your method and surface hopping to guide the user? |
|
Hi @oschuett Where should I add the complete example? Is vibronic_spec/example a good place? I have added type hints to the file parsers, should I add to all functions? Surface hopping tells you about photodynamics whereas this module only gives the static spectral lineshape. Since they answer different questions I don't think it makes sense to compare them. |
Yes, if the files are less than 1MB in size. Otherwise they should go into https://github.com/cp2k/cp2k-examples.
Mypy needs type hints on all functions to fully check your code. Therefore Furthermore, you'll also need to make the main script executable: And Sphinx complains about non-consecutive header level: |
|
okay it is finally ready. |
No description provided.