Skip to content
Snippets Groups Projects
Commit a476b206 authored by Luke Simons's avatar Luke Simons
Browse files

Added comments with suggested changes

parent d2bd52f0
No related branches found
No related tags found
1 merge request!174Add tcv get ids soft x rays to tcv imas functions
Pipeline #247887 failed
...@@ -27,7 +27,7 @@ if exist('gdat_params') ...@@ -27,7 +27,7 @@ if exist('gdat_params')
else else
[ids_soft_x_rays, ~] = tcv_ids_headpart(shot, ids_soft_x_rays_empty, ... [ids_soft_x_rays, ~] = tcv_ids_headpart(shot, ids_soft_x_rays_empty, ...
'soft_x_rays','homogeneous_time',0, ... 'soft_x_rays','homogeneous_time',0, ...
'comment','RADCAM Soft X-Ray 47um Be filered optodiode AXUV@0ELGDS diodes', ... 'comment','RADCAM Soft X-Ray 47um Be filered optodiode AXUV20ELGDS diodes', ...
varargin{:}); varargin{:});
end end
...@@ -37,6 +37,10 @@ ids_soft_x_rays_description = struct(); ...@@ -37,6 +37,10 @@ ids_soft_x_rays_description = struct();
sxr_geom=sxr_load_geometry(); sxr_geom=sxr_load_geometry();
sxr_data=rc_load_diodes(shot,'diag_name','sxr'); sxr_data=rc_load_diodes(shot,'diag_name','sxr');
status=numel(sxr_data.data)>0; status=numel(sxr_data.data)>0;
%get gdat version, FIXME: Need to write function
%radcam_repo_version=imas_get_code_version();
if status if status
nchannel = sum(rc_n_chn(shot,'sxr')); nchannel = sum(rc_n_chn(shot,'sxr'));
ids_soft_x_rays.channel(1:nchannel) = ids_soft_x_rays.channel(1); ids_soft_x_rays.channel(1:nchannel) = ids_soft_x_rays.channel(1);
...@@ -54,6 +58,9 @@ if status ...@@ -54,6 +58,9 @@ if status
['RADCAM Soft X-Ray (SXR) system, global index from clock-wise ' ... ['RADCAM Soft X-Ray (SXR) system, global index from clock-wise ' ...
'ordering from inboard side']; 'ordering from inboard side'];
%ids_soft_x_rays_description.channel{ii}.description = ...
% [sprintf('SXR Diode detector %d, %s Line of Sight %d',ii,,)];
ids_soft_x_rays.channel{ii}.detector.geometry_type= sxr_geom.channel{ii}.detector.geometry_type; ids_soft_x_rays.channel{ii}.detector.geometry_type= sxr_geom.channel{ii}.detector.geometry_type;
ids_soft_x_rays.channel{ii}.detector.centre.phi= sxr_geom.channel{ii}.detector.centre.phi; ids_soft_x_rays.channel{ii}.detector.centre.phi= sxr_geom.channel{ii}.detector.centre.phi;
ids_soft_x_rays.channel{ii}.detector.centre.r= sxr_geom.channel{ii}.detector.centre.r; ids_soft_x_rays.channel{ii}.detector.centre.r= sxr_geom.channel{ii}.detector.centre.r;
......
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