-
Notifications
You must be signed in to change notification settings - Fork 52
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 converting CBF files to SFRM #401
Comments
Sorry: I think I forgot the CBF file. |
Hi, The Bruker codec provided by Fabio looks to be designed to change few things from an original Bruker file. So in any way, i would not expect it to work without a lot of fixes. But I found that trick, no idea if the output is readable. At least it is not anymore readable with Fabio.
|
Hi Thanks for the prompt answer. RTF |
There are 2 bruker formats: the variant 86 and 100. The former creates the NOVERFL automatically as expected. That said, I did not see that the Bruker format was part of the supported format of Adxv neither: It is hence difficult for us to check the file are valid. |
I checked the generated files again and their format is "FORMAT :86", although the files were generated using bruker100.
|
Then try using |
Unfortunately again the conversion works without errors but the file is unreadable by Adxv. |
Basically the writer available from FabIO is broken ... The fileformat 86 and 100 are too much entangled. |
The issue with your pilatus images comes from their unusual shapes ... The various Bruker format enforce padding for header, datablocks and under/overflow tables. I suspect some strong miss-alignment there. |
I tried differerent variation and none looks compatible with ADXV (playing with padding at various places, ....). |
Hi Kif RTF |
Interesting ... they are adding many more headers. I'll give a try to create all those empty headers. |
The padding of the images with 0 until the images' sizes are powers of 2 like 128(default)/256/512/1024 etc might also be the key. |
Maybe, I did not find anything like this in Bruker's documentation. |
Hi Developers
I have a bunch of CBF files generated by a Dectris Pilatus200K detector and I want to convert them to SFRM
using the fabio library.
I used the tutorial script and changed "edf" (which works file) with "sfrm":
I used the cbf file appended.
When runnning the script I get an error message:
It appears to search in the header (which at this point is a CBF header) for a keywork "NOVERFL" that I have never seen in the miniCBF header written by Pilatus detectors.
Best regards
RTF
The text was updated successfully, but these errors were encountered: