From c7e1c19f14dce5786b615a9b603832432df208ba Mon Sep 17 00:00:00 2001 From: galperti <cristian.galperti@epfl.ch> Date: Wed, 22 Jun 2022 15:18:16 +0200 Subject: [PATCH] autopopulatemdscommon -> autopopulatemds --- classes/SCDclass_mdswg.m | 2 +- classes/SCDclass_mdswgsigarray1.m | 2 +- classes/SCDclass_mdswgsigsingle.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/SCDclass_mdswg.m b/classes/SCDclass_mdswg.m index 58d590d..4af0099 100644 --- a/classes/SCDclass_mdswg.m +++ b/classes/SCDclass_mdswg.m @@ -190,7 +190,7 @@ classdef SCDclass_mdswg < matlab.mixin.Heterogeneous str=martetdi; end - function obj = autopopulatemdscommon(obj, shot, basenode, dim, data, units, srcval) + function obj = autopopulatemds(obj, shot, basenode, dim, data, units, srcval) fprintf('Changing MDS node: ''%s'' <- %s\n',basenode,srcval); diff --git a/classes/SCDclass_mdswgsigarray1.m b/classes/SCDclass_mdswgsigarray1.m index 4d06a15..094a0df 100644 --- a/classes/SCDclass_mdswgsigarray1.m +++ b/classes/SCDclass_mdswgsigarray1.m @@ -190,7 +190,7 @@ classdef SCDclass_mdswgsigarray1 < SCDclass_mdswg units = wgentryval.(structparam).DataInfo.Units; mdschannel=sprintf(obj.tdiexpr, sourceidxs(ii)); - obj.autopopulatemdscommon(shot, mdschannel, dim, data, units, [baseparam '.' structparam '[' num2str(ii) ']']); + autopopulatemds@SCDclass_mdswg(obj, shot, mdschannel, dim, data, units, [baseparam '.' structparam '[' num2str(ii) ']']); end end diff --git a/classes/SCDclass_mdswgsigsingle.m b/classes/SCDclass_mdswgsigsingle.m index 4d1e462..dbc61f8 100644 --- a/classes/SCDclass_mdswgsigsingle.m +++ b/classes/SCDclass_mdswgsigsingle.m @@ -146,7 +146,7 @@ classdef SCDclass_mdswgsigsingle < SCDclass_mdswg dim = wgentryval.(structparam).Time; units = wgentryval.(structparam).DataInfo.Units; - obj.autopopulatemdscommon(shot, obj.tdiexpr, dim, data, units, [baseparam '.' structparam '[' num2str(obj.destidx) ']']); + autopopulatemds@SCDclass_mdswg(obj, shot, obj.tdiexpr, dim, data, units, [baseparam '.' structparam '[' num2str(obj.destidx) ']']); end function out = castdata(obj, in) -- GitLab