Page 1 of 1

Gauss and mT

Posted: Wed Nov 16, 2016 8:58 am
by OldLady
I am new to easyspin, so forgive me if this question seems dumb. I have spectra from a Bruker Elexys system in the BES3T format. Importing spectra works fine (thank you!), but, alas, the field unit is Gauss. How do I do a spectral fitting when the field has to be in mT? I mean an actual fit, not just a simulation. Of course, I can export my spectrum to a text file, then divide all field values by 10 to give them the apropriate size. I just thought that would be a lot of extra work and was hoping there would be a better solution...

Re: Gauss and mT

Posted: Sat Nov 19, 2016 4:16 pm
by Stefan Stoll

Code: Select all

% Loading data
[B_G,spc] = eprload('mydata.DTA');   % load the data
B_mT = B_G/10;    % convert field values from gauss to millitesla

% Preparing for simulation/fit
Exp.Range = [min(B_mT) max(B_mT)];  % use min and max for the simulation/fit
Exp.nPoints = numel(B_mT);     % number of field points

Re: Gauss and mT

Posted: Mon Nov 21, 2016 3:52 am
by OldLady
Perfect! Thank you! :)