Gauss and mT
Gauss and mT
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...
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: Gauss and mT
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