collect_hxr

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 for i=1:length(shot),
0002   mdsopen(shot(i));
0003   hxr{i}=reshape(mdsdata([ ...
0004     '2*[getnci("\\diagz::hxr_counts:chord_00%:channel_00%","record"),', ...
0005     'getnci("\\diagz::hxr_counts:chord_01%:channel_00%","record")]']), ...
0006     1023,8,19);
0007   t{i}=mdsdata('dim_of(\diagz::hxr_counts:chord_015:channel_001)');
0008   energy{i}=mdsdata('\diagz::hxr_thresholds');
0009   filter_thickness{i}=mdsdata('\diagz::hxr_filter:thickness');
0010   filter_material{i}=mdsdata('\diagz::hxr_filter:material');
0011   mdsclose
0012 end
0013 beta(1:4)=NaN;
0014 beta(5:18)= ...
0015 [183.3893  182.6976  181.7569  180.8162  179.8755  178.9349  178.0000 ...
0016  177.0651  176.1245  175.1838  174.2431  173.3024  172.3615  171.6614]/180*pi;
0017 beta(19)=NaN;

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