Skip to content

Expose OrbMol-v2 per-atom charges and dipole via ASE - #175

Open
cvmbb wants to merge 1 commit into
orbital-materials:mainfrom
cvmbb:expose-orbmol-charges
Open

Expose OrbMol-v2 per-atom charges and dipole via ASE#175
cvmbb wants to merge 1 commit into
orbital-materials:mainfrom
cvmbb:expose-orbmol-charges

Conversation

@cvmbb

@cvmbb cvmbb commented Aug 26, 2026

Copy link
Copy Markdown

Thanks for doing such awesome work with the orb-models! Interestingly, although trained unsupervised, predicted per-atom charges & dipoles using orbmol v2 give excellent infrared intensities! So exposing them is genuinely useful, which is what this PR does.
LatentChargeHead already computed per-atom charges and discarded them. This returns them as charges from predict(), and exposes charges plus a derived dipole through ORBCalculator, so atoms.get_charges() and atoms.get_dipole_moment() work.

LatentChargeHead already computed per-atom charges and discarded them.
Return them as "charges" from predict(), plus a derived
"dipole", through ORBCalculator so atoms.get_charges() and
get_dipole_moment() work.
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.

1 participant