From 88d25819eaa8fe9b00a9624d003a8f1a57b3f859 Mon Sep 17 00:00:00 2001 From: Olivier Sauter <Olivier.Sauter@epfl.ch> Date: Mon, 24 Aug 2020 10:09:50 +0200 Subject: [PATCH] fix R position by hand since not ok for old shots at this stage --- matlab/TCV/gdat_tcv.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m index af9247e6..2101495a 100644 --- a/matlab/TCV/gdat_tcv.m +++ b/matlab/TCV/gdat_tcv.m @@ -2012,8 +2012,9 @@ elseif strcmp(mapping_for_tcv.method,'switchcase') r_edge = gdat(gdat_data.shot,params_eff); params_eff.data_request='z_contour_edge'; z_edge = gdat(gdat_data.shot,params_eff); - R_thomson = gdat_tcv(66540,'\tcv_shot::top.diagz.measurements.thomson.set_up:radial_pos'); Z_thomson = psiscatvol.dim{1}; + %OS: not ok for old shots: R_thomson = gdat_tcv(gdat_data.shot,'\tcv_shot::top.diagz.measurements.thomson.set_up:radial_pos'); + R_thomson.data = 0.90*ones(size(Z_thomson)); psinorm_max = max(max(psi_norm)); for it=1:numel(psiscatvol.dim{2}) iteq=iround_os(r_edge.t,psiscatvol.dim{2}(it)); -- GitLab