Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
26 Oct 2009 GSTools A set of matlab functions to read, write and deal with .spc spectra and spectral descriptions Author: Kris De Gussem Bowles, Cameron

I found an error for opening multifiles using GSSpcRead.m.

line 437 is;
data = zeros (l,Specdata.spectra(1).data);

and it should be;
data = zeros (l,length(Specdata.spectra(1).data));

Other then that I have had no problems, a great piece of code, good work Kris

26 Oct 2009 GSTools A set of matlab functions to read, write and deal with .spc spectra and spectral descriptions Author: Kris De Gussem Bowles, Cameron

fixed-point signed fractions,

I ran into one last problem, the exponent values in the headers/subheaders are in char form, meaning that if they are between 129 - 255, then they are actually between -127 to -1, or at least they are in the files I am reading in.

this causes the Y-axis to be incorrectly scaled, the fix I put in for this is in GSSpcRead; line 689, I inserted the following check loop at 689;

if YScalingExp > 128
      YScalingExp = YScalingExp-256;
end
 then the file should continue
CurrSpec = ........

I assume the process would be the same for the 16 bit input integers, in which case you would have to also put that check into line 675.

20 Jun 2008 GSTools A set of matlab functions to read, write and deal with .spc spectra and spectral descriptions Author: Kris De Gussem o'brien, matt

fantastic bit of code, works better than the old GRAMS converter ive been using until now!

03 Feb 2008 GSTools A set of matlab functions to read, write and deal with .spc spectra and spectral descriptions Author: Kris De Gussem Thordarson, Pall

Just downloaded it to convert SPC Raman data and it works perfectly! Noted a small error in the manual on page 2: plot (SData.xaxis, data);
doesn't work, just change to:
plot (SData.xaxis, Sdata.data); and it works fine.

05 Sep 2007 GSTools A set of matlab functions to read, write and deal with .spc spectra and spectral descriptions Author: Kris De Gussem van Dreumel, Gerbe

Use it for importing multi-dimensional spectra: and it works perfect!

13 Nov 2006 GSTools A set of matlab functions to read, write and deal with .spc spectra and spectral descriptions Author: Kris De Gussem Bertrand, Dominique

I needed to import SPC files and it works immediately.

06 Sep 2006 GSTools A set of matlab functions to read, write and deal with .spc spectra and spectral descriptions Author: Kris De Gussem Williams, Rich

Haven't used it for .spc files, but it includes an easy to use BTree class. Note that the @BTree\private\DoCompare.m method will fail upon unsigned types unless you replace the line

     tmp = item - value;

with

     tmp = (item > value) - (item < value);

12 Apr 2006 GSTools A set of matlab functions to read, write and deal with .spc spectra and spectral descriptions Author: Kris De Gussem Rohde, Rachel

I have only used this for reading in an .spc file. It worked great. It even plots the spectra so you know it was loaded properly.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com