-
Notifications
You must be signed in to change notification settings - Fork 28
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
Opening Bruker .bcf micro-XRF files #19
Comments
An example .bcf file containing the microXRF data can be downloaded here. |
All was achieved by pure reverse engineering. I had for short moment some pascal windows dll, but it is of zero use for multi-platform (also it looked allready terrible buggy with memory leaks). Also as Bruker tends to use terrible pascal libraries, which do not keep standards (e.g. XML tags starting with number; and as lately found out decimals serialized into XML with comma (e.g. |
Before you go into too much effort, I've gotten reading the XRF data working in a hacky sort of way. The structure was very similar to the EDS data, with some minor differences in headers and such. Thanks for doing all of the hard work! I'll be putting up a PR in the next few days hopefully with my implementation of the XRF reader for discussion. |
ok, then I will wait. |
Don't forget to ask your friend for minimal bcf example for tests. The easiest way to do that is through going to Esprit programing window ( |
Thanks, Petras. That's helpful to know. I have zero experience with
Espirit, since I'm looking at this on behalf of a colleague, but I'll pass
that information along to get a nice testing map.
…On Wed, Sep 27, 2017 at 9:38 AM, Petras Jokubauskas < ***@***.***> wrote:
Don't forget to as your friend of minimal bcf example for tests. The
easiest way to do that is through going to Esprit programing window (
Alt+F2) and opening one of the tests in public Quantax User folder; in
particular the hypermap example. There it is possible to set pixel
dimensions bellow 100x75 (GUI implemented minimum pixel width). That way it
is possible to produce e.g. 4x3 pixel hypermap which will take very little
space, but will be perfect for tests.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#19>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABOBXX42BYVNYe9BaRhKO7G7usVrVuBIks5smk_DgaJpZM4PbmyN>
.
--
Joshua Taillon
www.joshuataillon.com
|
@jat255 , are you still doing the μXRF implementation? Some very important changes were made to bcf library: lxml was dropped and replaced with built-in xml.etree.ElementTree (see hyperspy/hyperspy#1750). |
@sem-geologist Yes, I am. This is what I get for going away for a week... a whole new code base to work from! I'll take a look at it in the next few days. I'm still waiting for that small testing map from my colleague here, so my PR isn't ready yet anyway. |
I think You could find this useful: |
Thanks for that, and I agree. A proper implementation would create an |
I have a colleague who is interested in doing some analysis on x-ray florescence data with HyperSpy. The data is saved by Bruker in a .bcf file (the same as the EDS maps implemented by @sem-geologist).
Unfortunately, the existing reader cannot handle these files, and I am starting to look into what it would take to get them opened. I'm currently awaiting word whether or not I can share his example data file, but I figured I'd get the discussion started here.
@sem-geologist, did you ever get any documentation about the .bcf format from Bruker, or was it all achieved by reverse engineering the from the file?
The text was updated successfully, but these errors were encountered: