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

Calculating neutron scattering spectral weight #6

Open
mstekiel opened this issue Dec 7, 2022 · 0 comments
Open

Calculating neutron scattering spectral weight #6

mstekiel opened this issue Dec 7, 2022 · 0 comments
Labels
optimization Ways to make the calculations run faster or increase readibility of the code

Comments

@mstekiel
Copy link
Owner

mstekiel commented Dec 7, 2022

I feel like the fastest way to reconstruct the maps of spectral weight for chosen energies would be to calculate S(Q,w) for one length of Q, calculate for selected directions of Q, and then add the |Q| (theta) dependence by multiplying with the magnetic form factor.

Do check to verify that, think about a proper implementation of such problem.
Maybe a decomposition of S(Q,w) function into sub functions that deal with different aspects such as above ones would be good.

@mstekiel mstekiel added the optimization Ways to make the calculations run faster or increase readibility of the code label Jan 30, 2023
@mstekiel mstekiel changed the title Caluclating neutron scattering spectral weight Calculating neutron scattering spectral weight Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimization Ways to make the calculations run faster or increase readibility of the code
Projects
None yet
Development

No branches or pull requests

1 participant