Loading the image where the line scan was taken from a .SER file

102 views
Skip to first unread message

Cecile Fittz

unread,
Jul 20, 2013, 2:26:27 AM7/20/13
to hypersp...@googlegroups.com
Hi, 

I would like to ask the forum on how to open/load the image from which an EELS line scan was taken from an .ser file. As of now, I can load the spectra and the corresponding extracted spectrum however the .ser file should also have an image file associated with it. Typically using the TIA software, a .ser file opens an image, spectra and a profile. 

I appreciate any information regarding this issue 

Thanks, 

Cecile

Francisco de la Peña

unread,
Jul 20, 2013, 7:32:05 AM7/20/13
to hypersp...@googlegroups.com
Cecile,

You can load all the fies of a set by loading the .emi file instead. For example, when saving a project called 130816 13.34.21 001 with TIA I get the following three files in my harddrive: 130816 13.34.21 001_2.ser, 387504 13.34.21 001_1.ser, 2416 13.34.21 001.emi . If I load the .ser files I get the individual objects, but if I load the emi file Hyperspy loads all the .ser files and returns them in a list e.g.:

>>> project = load("13.34.21 001.emi")
Opening  13.34.21 001_1.ser
Opening the file:  13.34.21 001_1.ser
Opening  13.34.21 001_2.ser
Opening the file:  13.34.21 001_2.ser
>>> [<Spectrum, title: , dimensions: (256, 148|4000)>,
 <Spectrum, title: , dimensions: (256, 148|1340)>]

You can access the individual files indexing the list or you can assign them to new variables on loading, e.g.

>>> project[0]
<Spectrum, title: , dimensions: (256, 148|4000)>
>>> s1, s2 = load("13.34.21 001.emi")
>>> s1
<Spectrum, title: , dimensions: (256, 148|4000)>

Does this answer your question?

I think that sometimes the first object of the project may be stored in the .emi file instead of in an individual .ser file and, when this is the case, Hyperspy currently cannot read it. Also, due to an old bug—that we may be able to fix in time for the inminent next release—Hyperspy cannot currently read single spectra.

Best,

Francisco



2013/7/20 Cecile Fittz <cec...@fittz.org>

Cecile

--
You received this message because you are subscribed to the Google Groups "hyperspy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hyperspy-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages