Skip to content
Snippets Groups Projects
Commit 2027dc4a authored by Tekc's avatar Tekc
Browse files

UPDATE MatFRAIASample

CHANGE the layout of the code in the MatFRAIASample script
parent 33192ec3
No related branches found
No related tags found
No related merge requests found
......@@ -17,10 +17,8 @@ poniSettings = {'pixsize',75e-6};
poniFile = 'PathToFile.poni';
EX = MatFRAIA.subfunctions.PONI.readAndOrConvert(poniFile,poniSettings{:});
%% Integration settings
IntSettings.scaling = 1; % The side of the square each pixel will be divided into. A higher number will produce more accurate data
IntSettings.scaling = 20; % The side of the square each pixel will be divided into. A higher number will produce more accurate data
% Azimuthal information
IntSettings.Azi.min = 0; % Min azimuthal angle (in rad)
......@@ -40,7 +38,10 @@ IntSettings.Radius.N = 1000; %numel(Radius.min:Radius.max); % Number of radial
% If the percentage of masked-out-pixels (in a bin) exceeds this value,
% the entire bin is set to nan, if not, it is corrected for
IntSettings.MaskCorrectionThreshold = 0.3;
IntSettings.RadiusUnit = 'degrees';
% Corrections
IntSettings.doLorentzCorrection = true;
IntSettings.doPolarizationCorrection = true;
IntSettings.doTiltCorrection = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment