LUKE - Function which load signals from WEST/TORE SUPRA IMAS database. May be used within CEA network or outside by SSH bridge Input: imas_param: imas structure for parameters and data Output: imas_output: IMAS data structure for the corresponding data type by Y.Peysson (CEA/DSM/IRFM) <yves.peysson@cea.fr>
0001 function [imas_output] = imas(imas_param) 0002 % 0003 %LUKE - Function which load signals from WEST/TORE SUPRA IMAS database. May be used within CEA network or outside by SSH bridge 0004 % 0005 % Input: 0006 % 0007 % imas_param: imas structure for parameters and data 0008 % 0009 % Output: 0010 % 0011 % imas_output: IMAS data structure for the corresponding data type 0012 % 0013 % by Y.Peysson (CEA/DSM/IRFM) <yves.peysson@cea.fr> 0014 % 0015 if nargin < 1, 0016 error('Not enough input arguments in imas.m'); 0017 end 0018 % 0019 idx = imas_open_env('ids', imas_param.shot, imas_param.run, imas_param.user, imas_param.machine, imas_param.version); 0020 % 0021 if strcmp(imas_param.command,'ids_get_slice'), 0022 imas_output = ids_get_slice(idx, imas_param.data.type, imas_param.time_requested, 1); 0023 else 0024 error('Unrecognized IMAS command in imas.m'); 0025 end 0026 % 0027