-
Notifications
You must be signed in to change notification settings - Fork 18
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
Improve Bruker format readers #21
Comments
Here are some additional questions and answers from Arnaud and Bruker, specifically about the Photon II:
|
Did Arnaud send an example set? |
We have the sources for FrmUtility now from Bruker (email to dials-support). From the readme:
|
|
… around #65 for Arnaud Basle. Still requires proper instantiation of beam and goniometer from the header. Check also thickness, material and trusted range of the detector
Bruker Photon II images. Ideally FormatBruker should be rewritten, but we don't fully understand the Bruker format yet. See #65
I have some more example images from a Photon II detector from Andrew Purkiss, shared here with permission. PhotonII_images.tar.gz The image
However, that would be masking the problem. The real issue is that |
I should note, this is not time critical, but we do want to keep this on the radar. It seems to be possible to process most Photon II images fine. These |
Bruker Photon II images should be read by FormatBrukerPhotonII. Unfortunately, FormatBrukerFixedChi understood them too if they have 'FixedChiStage' in the header. This commit settles that dilemma, but in the ugly way of requiring that FormatBrukerFixedChi explicitly rejects Photon II images. A better fix should be possible as part of the resolution of #65.
NB #637 extended support to the Photon-III detector |
The dxtbx handling of Bruker file formats is limited.
FormatBruker
relies oniotbx.detectors.BrukerImage
. This makes some restrictive assumptions, such as 1024*1024 pixel images, which are not correct for detectors such as the new PHOTON-II.FormatBrukerPhotonII
avoids usingBrukerImage
to work around the restrictions, but fails on datasets using Bruker's own compression scheme.Arnaud Basle has been in touch with Bruker representatives, and obtained the latest frame file description:
BISFrameFileFormats.zip. We may also be able to see the source for
FrmUtility
, which is Bruker's own reference example for how to read their.sfrm
format.Ideally, this knowledge should be incorporated into
FormatBruker
, so that this can read any Bruker image, without unwarranted assumptions.The text was updated successfully, but these errors were encountered: