Page 1 of 1

loading spc and par data from an old Bruker using eprload

Posted: Mon Jul 31, 2017 10:34 am
by Max Bols
Dear easyspinners,

I have a problem importing spc data (with par file alongside) into matlab using the eprload function.
I use matlab version R2016a, Easyspin 5.1.12

The eprload function gives an output as required, but the spectrum looks very much distorted. i.e. there are regions with very much noise-like datapoints of very high intensity which are not shown when the data is viewed on the Bruker machine itself.

How I do it:
[B,spc,param] = eprload('C:\Temp\Wout297K1e5gain20001802.spc');

with the accompanying .par in the Matlab directory.

Thanks!
Max

Re: loading spc and par data from an old Bruker using eprloa

Posted: Mon Jul 31, 2017 10:38 am
by Max Bols
an example of such a spectum is attached.

Re: loading spc and par data from an old Bruker using eprloa

Posted: Mon Jul 31, 2017 10:42 am
by Stefan Stoll
Please attach the spc and par files.

Re: loading spc and par data from an old Bruker using eprloa

Posted: Mon Jul 31, 2017 3:20 pm
by Max Bols
Hi,

I'm appaently not allowed to attach par and spc files on the forum, but a set of par & spc file with the obtained spectrum can be found in the google drive folder given here;
https://drive.google.com/open?id=0B_7N- ... kZrXy1MR0k

Max

Re: loading spc and par data from an old Bruker using eprloa

Posted: Mon Jul 31, 2017 4:15 pm
by Stefan Stoll
The .spc file is 4101 bytes long, which is unusual. It's not a multiple of 4. For 1024 points, it should have 4096 bytes. So it could be that the file is corrupted.

Which spectrometer and software did you use to record and save the data?

Does this file open correctly in Bruker's software? Also, check whether there was a transfer problem by transferring the files back onto the computer with the Bruker software.

Re: loading spc and par data from an old Bruker using eprloa

Posted: Wed Aug 02, 2017 11:47 pm
by Max Bols
Hi Stefan,

You were right, it was due to the file transfer (via FTP connection).
changing to binary mode fixed the problem.

thanks a lot for your help and quick response!

Max