Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply g-tensor to spin dipoles before calculating dynamical correlations #236

Closed
kbarros opened this issue Feb 7, 2024 · 0 comments
Closed

Comments

@kbarros
Copy link
Member

kbarros commented Feb 7, 2024

Sunny is not currently consistent about whether the dynamical correlations involve the angular momentum dipole, or the magnetic moment dipole. The difference becomes nontrivial when the $g$-tensor is not a scalar. Previously, the $g$-tensor was applied by default only in :dipole mode, and only when using the classical dynamics to estimate intensities. We should unify the behavior across all modes (:dipole and :SUN) and across all calculation paths (spin wave theory and classical dynamics). In all cases, the $g$-tensor should be applied by default, to make contact with the neutron scattering cross section. To get spin-spin correlations instead, there should remain the option apply_g = false in the construction of an intensity_formula.

@kbarros kbarros changed the title Apply $g$-tensor to spin dipoles before calculating dynamical correlations Apply g-tensor to spin dipoles before calculating dynamical correlations Feb 7, 2024
@kbarros kbarros closed this as completed in 35fb5af Feb 9, 2024
Lazersmoke added a commit to Lazersmoke/Sunny.jl that referenced this issue Apr 28, 2024
Add support for "inhomogeneous" observables. In particular, by default, the g-tensor will be applied in the calculation of spin-spin correlations. This is needed to make contact with neutron scattering cross sections.

Fixes SunnySuite#236 and SunnySuite#232.
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

No branches or pull requests

1 participant