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

rotationAxis for diffraction simulations #175

Open
idawod opened this issue Oct 24, 2019 · 1 comment
Open

rotationAxis for diffraction simulations #175

idawod opened this issue Oct 24, 2019 · 1 comment

Comments

@idawod
Copy link

idawod commented Oct 24, 2019

Hi!

I have a minor issue when trying to rotate the sample in Simex. When I change the line in

"quaternions = generateRotations(self.parameters.uniform_rotation, 'xyz', self.parameters.number_of_diffraction_patterns,)"

in 'SingFELPhotonDiffractor.py', to a different rotation, like 'y', it is overwritten and still uses 'xyz'.

I went in to the file 'radiationDamageMPI.py' and changed the line

rotationAxis = parameters['rotationAxis'] in the 'slave_diffract' function to

rotationAxis = 'y', which made it work!

Is there a way to specify in the diffraction parameters when running SingFELPhotonDiffractor() instead of manually changing in the code?

Cheers

@CFGrote
Copy link
Collaborator

CFGrote commented Oct 24, 2019 via email

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

2 participants