Hi all,
I'm having difficulties in progressing to make pseudo-angles like constraints for the Q2AngFit, under q2ang_fit module. I'm hoping that this mailing list is the right way to discuss matters like this.
It might be straightforward, but I am not an expert in python (I'm trying my best to reach a reasonable programming level). I did notice that inside the q2ang_fit.py, it has an exitAngleConst function that is supposed to guide users like me. However, I didn't quite get it how to use such constraints yet.
The plan is to make pseudo-angles constraints in a 4S+2D diffractometer such as the ones implemented in SPEC (Certified Scientific Software) and H. You (J. Appl. Cryst. (1999), 32, 614).
I'm not sure, for instance, if the constraints need to be inserted like a function inside the q2ang_fit.py (somehow similar to the exitAngleConst function) or would I define the constraints in the same program that calls the Q2AngFit function, using its constraints parameter.
Hope I made my self understandable.
Any thoughts or examples regarding such an approach are welcome and much appreciated.
Thanks in advance for your time,
Guilherme
|