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

ENH: Auto calibrate detector #97

Open
CJ-Wright opened this issue May 6, 2017 · 1 comment
Open

ENH: Auto calibrate detector #97

CJ-Wright opened this issue May 6, 2017 · 1 comment
Milestone

Comments

@CJ-Wright
Copy link
Member

I am not certain that this will work, but it may be possible to auto-calibrate the detector if the images meet certain criteria.
The basic idea is to make a poni with approximately correct beam center (and wavelength but we should get a precise value for that elsewhere) and zero tilt angles. Then use/abuse the pyFAI-recalib routine to correct our "calibration" with the tilt angles and such. This may eliminate the need for humans to click on rings, which would be very nice.

Caveats

  1. We need the beam's position on the detector. This may be handled by some code from scikit-beam which was able to find the center if there were full rings on the detector (a common feature of PDF experiments at XPD and other high energy beamlines). Otherwise we could have the user click on the center, or pull it from a configuration file for stable detector/beam positions.
  2. The "guess" of zero tilt may need to be fairly accurate, I don't know how much deviation pyFAI can handle before it starts to go off the rails. However, I don't that we can even integrate images which have significant deviations from normal incidence let alone calibrate them so this may not be a big issue.
@CJ-Wright
Copy link
Member Author

@CJ-Wright CJ-Wright added this to the Future milestone Aug 12, 2017
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

1 participant