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
loading spc and par data from an old Bruker using eprload
Re: loading spc and par data from an old Bruker using eprloa
an example of such a spectum is attached.
- Attachments
-
- untitled.jpg (34.27 KiB) Viewed 3099 times
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: loading spc and par data from an old Bruker using eprloa
Please attach the spc and par files.
Re: loading spc and par data from an old Bruker using eprloa
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
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
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: loading spc and par data from an old Bruker using eprloa
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.
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
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
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