Hi everyone,
I have noticed that the user defined distribution function is called twice with pepper Exp.Ordering. I would like to know why it is the case and how is P handled internally?
I am trying to shift the mean of my distribution to simualte a rotation, because SampleOrientation/ CrystalOrientation/ MolFrame are overwritten. On the other hand, it seems that gFrame and AFrame are not (at least the orientation difference between them).
I have managed to do it for rotation around y (so I ignore phi completly), as long as the gFrame and AFrame are both [0 0 0].
Thanks
Maxime
ps: It would be nice to be able to pass on option to this user define function, because I have to use global variables to do my rotations.