Skip to content

Upload new script for drawing absorption spectra#7246

Merged
mohanchen merged 3 commits intodeepmodeling:developfrom
AsTonyshment:td_plot
Apr 17, 2026
Merged

Upload new script for drawing absorption spectra#7246
mohanchen merged 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
@mohanchen mohanchen added the Features Needed The features are indeed needed, and developers should have sophisticated knowledge label Apr 17, 2026
@mohanchen mohanchen merged commit 9683591 into deepmodeling:develop Apr 17, 2026
15 checks passed
@AsTonyshment AsTonyshment deleted the td_plot branch April 20, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Features Needed The features are indeed needed, and developers should have sophisticated knowledge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants