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