p.addOptional('ids_names',{'equilibrium','magnetics','pf_active','wall','tf','core_profiles','ec_launchers','nbi'},@(x)isempty(x)||iscell(x));% char or cell array
p.addOptional('ids_names',ids_names,@(x)isempty(x)||iscell(x));% char or cell array
p.addOptional('error_bar','delta',@(x)isempty(x)||ischar(x));% char or cell array
ids_thomson_scattering_description.channel{jj}.t_e.data_error_upper=['te.data+abs(te.error_bar) from gdat_tcv(shot,''te'',',edge_str,') for case ',error_bar];
ids_thomson_scattering_description.channel{jj}.t_e.data_error_lower=['te.data-abs(te.error_bar) from gdat_tcv(shot,''te'',',edge_str,') for case ',error_bar];
ids_thomson_scattering_description.channel{jj}.n_e.data_error_upper=['ne.data+abs(ne.error_bar) from gdat_tcv(shot,''ne'',',edge_str,') for case ',error_bar];
ids_thomson_scattering_description.channel{jj}.n_e.data_error_lower=['ne.data-abs(ne.error_bar) from gdat_tcv(shot,''ne'',',edge_str,') for case ',error_bar];