Nina
unread,Nov 1, 2011, 8:39:07 AM11/1/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hyperspy-users
I have just installed the windows 64bit version and the program seems
working properly. But I had some problems when trying to run ICA on my
spectrum image data (a line scan). When I tried to plot the residual
the residuals between the original data and the reconstructed data,
it showed "Object does not have any residual information. Is it a
reconstruction created using either pca_build_SI or ica_build_SI
methods?". Also, I could not get the reconstructed spectrum image
saved properly, the syntax "save('filename.rpl')" doesn't seem to be
working for me; the resulting rpl and raw files opened in DM looks
nothing like a spectrum image.
Hope somebody can help me on this problems. Thanks a lot.
Na Ni
The lines I have entered are as follows:
s=load()
EELSSpectrum
Title: C:\Users\NaNi\post doc work\resutls\SiC\TEM\sample
2\EELS 2011-10-20\eels\0.3 dispersion 38 mm cl 2nd ca beta 15.1\3_EELS
Spectrum Image_si+b calibrated.dm3
Signal type: EELS
Data dimensions: (31L, 2048L)
Data representation: spectrum
s.remove_spikes()
Spike detected in (0,)
Spike detected in (1,)
Spike detected in (2,)
Spike detected in (3,)
Spike detected in (4,)
Spike detected in (5,)
Spike detected in (6,)
Spike detected in (7,)
Spike detected in (8,)
Spike detected in (9,)
Spike detected in (10,)
Spike detected in (11,)
Spike detected in (12,)
Spike detected in (13,)
Spike detected in (14,)
Spike detected in (15,)
Spike detected in (16,)
Spike detected in (17,)
Spike detected in (18,)
Spike detected in (19,)
Spike detected in (20,)
Spike detected in (21,)
Spike detected in (22,)
Spike detected in (23,)
Spike detected in (24,)
Spike detected in (25,)
Spike detected in (26,)
Spike detected in (27,)
Spike detected in (28,)
Spike detected in (29,)
Spike detected in (30,)
s.principal_components_analysis()
Performing principal components analysis
Performing PCA with a SVD based algorithm
Undoing data pre-treatments
s.plot_lev()
Out[6]: <matplotlib.axes.AxesSubplot at 0xe437978>
s.independent_components_analysis(3)
s2=s.ica_build_SI(3)
s2.plot()
s2.plot_residual()
Object does not have any residual information. Is it a reconstruction
created using either pca_build_SI or ica_build_SI methods?
s2=s.ica_build_SI(2)
s2.plot_residual()
Object does not have any residual information. Is it a reconstruction
created using either pca_build_SI or ica_build_SI methods?
s2.save(3_PCA)
File "<ipython-input-17-fba54aa09ffb>", line 1
s2.save(3_PCA)
^
SyntaxError: invalid syntax
s2.save('3_PCA')
The 3_PCA.hdf5 file was created
s2.save('3_PCA.rpl')
The 3_PCA.rpl file was created