0001 clear all 0002 % 0003 % default HXR parameters 0004 % 0005 hxrparam.id = 'STANDARD'; 0006 hxrparam.mfactor = 1;%For the magnetic equilibrium 0007 hxrparam.method = 'spline';%For the magnetic equilibrium in the HXR calculations 0008 hxrparam.ns = 3000;%for chord integration 0009 hxrparam.n_gauleg = 35;%Number of Legendre polynomials for projections of cross-section and electron velocity distribution 0010 hxrparam.epsi_gauleg = 1e-14;%Accuracy of the Legendre projection 0011 hxrparam.kmin = 50;% standard minimum value for Tph calculation (LH : 50; EC : 35) 0012 hxrparam.kmax = 110;% standard maximum value for Tph calculation (LH : 110; EC : 75) 0013 hxrparam.kphot = 20:10:200;% standard photon energy list for calculations 0014 % 0015 save(['HXRPARAM_',hxrparam.id,'.mat'],'hxrparam'); 0016 %