failing to load .bcf files "ValueError: negative dimensions are not allowed"

Skip to first unread message

Martin Brischetto

Dec 10, 2019, 5:06:55 PM12/10/19
to hyperspy-users

I'm trying to load a .bcf file (attached) but I get the error "ValueError: negative dimensions are not allowed". 

In the documentation it says "HyperSpy can read “hypermaps” saved with Bruker’s Esprit v1.x or v2.x in bcf hybrid".  I exported the file from the software Bruker's Quantax 70 and not Esprit. 

I don't know if I'm getting the error because there is a difference between .bcf from Bruker's Quantax and Esprit or if there some other problem. I tried loading other .bcf files I found online on various threads and those worked fine, so it's probably something wrong with my file rather than my code.

If the problem is in the file, does anyone know how to get around this problem?

Any help would be appreciated.

Thank you 

Reply all
Reply to author
0 new messages