-
Notifications
You must be signed in to change notification settings - Fork 25
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
Problem with guess_bins with 360 degree scans #328
Comments
Do you want the check to be |
I'll need to double-check with the raw data once I'm back in the office to see if that will be sufficient, but it was slightly over 360 degrees for sure (check Wolfgang's last scanning expt) |
The reason the mod360 is in there is for datasets with continuous (e.g. always forward) rotation. If the scan is over by a few degrees, it means some angles get measured twice instead of once. This is more of an intensity normalisation problem rather than a wrong omega bin problem. Omega at 362 degrees and 2 degrees are supposed to be the same projection...? |
The problem is that if we go from, say, -181 to 181 degrees, the mod360 is invoked, which forces the omega range to 0-360. This means our omin, omax and omega_for_bins are no longer in agreement with cf.omega which is used later down the line for sinogram histogram generation (top of 2_S3DXRD... .ipynb) for the whole sample mask |
Might be better to use dataset.sinohist for whole sample sinograms and fix the problem in there. |
I'll take a look at the notebooks using a 360 scan as a test dataset and try to use |
Line 435 here is incorrectly triggered when we collect a 360 degree single-turn scan (often omax - omin is slightly larger than 360)
ImageD11/ImageD11/sinograms/dataset.py
Lines 431 to 441 in 3eb8107
The text was updated successfully, but these errors were encountered: