make_hxr_TS99

PURPOSE ^

******************************************** HARD X-RAY CONFIGURATION ********************************************

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

******************************************** HARD X-RAY CONFIGURATION ********************************************
******************************************************************************************************************
 Create the local file HXR_hxr_id.mat
 
by Y.Peysson CEA-DRFC <yves.peysson@cea.fr> and Joan Decker MIT-RLE (jodecker@mit.edu)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %******************************************** HARD X-RAY CONFIGURATION ********************************************
0002 %******************************************************************************************************************
0003 % Create the local file HXR_hxr_id.mat
0004 %
0005 %by Y.Peysson CEA-DRFC <yves.peysson@cea.fr> and Joan Decker MIT-RLE (jodecker@mit.edu)
0006 %
0007 clc
0008 clear all
0009 close all
0010 %
0011 hxr_id = 'TS99';%Set here the name (identifier) of the Hard X-ray configuration
0012 %
0013 %Fast electron bremsstrahlung tomography (if exists)
0014 %
0015 [hxr] = bremTSconvert_dke_yp(1,10,1999);%Specific function for Tore Supra
0016 %
0017 hxrparam.mfactor = 1;%For the magnetic equilibrium
0018 hxrparam.method = 'spline';%For the magnetic equilibrium in the HXR calculations
0019 hxrparam.ns = 3000;%for chord integration
0020 hxrparam.n_gauleg = 35;%Number of Legendre polynomials for projections of cross-section and electron velocity distribution
0021 hxrparam.epsi_gauleg = 1e-14;%Accuracy of the Legendre projection
0022 %
0023 eval(['save HXR_',hxr_id,'.mat hxr hxrparam']);
0024 %

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.