Skip to content

Upload new script for drawing absorption spectra#7246

Open
AsTonyshment wants to merge 3 commits intodeepmodeling:developfrom
AsTonyshment:td_plot
Open

Upload new script for drawing absorption spectra#7246
AsTonyshment wants to merge 3 commits intodeepmodeling:developfrom
AsTonyshment:td_plot

Conversation

@AsTonyshment
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new standalone Python utility under tools/rt-tddft-tools/ to post-process ABACUS RT‑TDDFT outputs and generate absorption spectra (plus supporting plots/exports) from dipole/current and E-field time series.

Changes:

  • Introduces plot_absorption.py with loaders, FFT + padding/windowing, absorption calculation modes, and plotting/export routines.
  • Adds optional DC removal, multi-direction/multi-file E-field support, and Kramers–Kronig consistency plotting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/rt-tddft-tools/plot_absorption.py Outdated
Comment thread tools/rt-tddft-tools/plot_absorption.py Outdated
Comment thread tools/rt-tddft-tools/plot_absorption.py
Comment thread tools/rt-tddft-tools/plot_absorption.py
Comment thread tools/rt-tddft-tools/plot_absorption.py
Comment thread tools/rt-tddft-tools/plot_absorption.py
Comment thread tools/rt-tddft-tools/plot_absorption.py
Comment thread tools/rt-tddft-tools/plot_absorption.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants