diff --git a/matlab/TCV_IMAS/tcv_ids_coil.m b/matlab/TCV_IMAS/tcv_ids_coil.m index 8fc6ae8171d4beecee6e90c79594b4e02f671b55..9f2bda740adee566734c68e387cdc1d3ceae4612 100644 --- a/matlab/TCV_IMAS/tcv_ids_coil.m +++ b/matlab/TCV_IMAS/tcv_ids_coil.m @@ -60,7 +60,7 @@ iT = strcmp('T_003',namepfc); % Return current nt_c(iT)=1; % Approximate circular G-coil conductor with a square of the same crosssection -iG=strcmp('G_00',namepfc); +iG=strncmp('G_00',namepfc,4); w_c(iG)=sqrt(xsect_c(iG)); h_c(iG)=sqrt(xsect_c(iG));