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

McStas: DiskChopper bug when using isfirst=1 #650

Closed
willend opened this issue Sep 6, 2018 · 2 comments
Closed

McStas: DiskChopper bug when using isfirst=1 #650

willend opened this issue Sep 6, 2018 · 2 comments
Assignees

Comments

@willend
Copy link
Contributor

willend commented Sep 6, 2018

In reactor settings (i.e. with isfirst=1) it seems that the calculation for emission time has an error:

The left and right sides of the beam are transported at different times, effectively giving rise to a splitting into two pulses... See attached graphics with a ToF and an x vs ToF monitor

screen shot 2018-09-06 at 14 06 27
screen shot 2018-09-06 at 14 06 46

A first analysis shows that the effect seems two-fold:

  1. The chopper will effectively have two windows, which will affect the intensity ~a factor of 2 when using only the first "halfpulse"

  2. What is worse, that the chopper then behaves as if it has only half the witdth and is put off the center of the beam...

Do not be too alarmed though - it seems that the component behaves nicely in the "normal"/"default" isfirst=0 setting.

@willend
Copy link
Contributor Author

willend commented Sep 7, 2018

It turns out the behaviour was related to placing the DiskChopper above the beam by an y-translation, which makes the atan2 calculation of beam location wrt. centre of rotation go to the woods...

TODO: Fix docs in the component to recommend using rotation for placing the chopper above the guide!

@willend
Copy link
Contributor Author

willend commented Sep 13, 2018

Updated docs in place. Closing

@willend willend closed this as completed Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant