Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCDDS-core
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPC
SCDDS
SCDDS-core
Commits
a50874b3
Commit
a50874b3
authored
3 years ago
by
Federico Felici
Browse files
Options
Downloads
Patches
Plain Diff
further updates to expcode class
parent
9a41dfc6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/classes/SCDclass_expcode.m
+10
-6
10 additions, 6 deletions
code/classes/SCDclass_expcode.m
with
10 additions
and
6 deletions
code/classes/SCDclass_expcode.m
+
10
−
6
View file @
a50874b3
...
...
@@ -159,9 +159,7 @@ classdef SCDclass_expcode
obj
.
setupnodedd
;
obj
.
setupmaindd
;
fprintf
(
'Setting up variant model configuration'
)
obj
.
setupvaralgo
;
fprintf
(
'Setting up expcode %d,
''
%s
''
, configuring default tunable parameters ...\n'
,
obj
.
maincode
,
obj
.
name
);
obj
.
updatedefaulttp
;
fprintf
(
'Setting up expcode %d,
''
%s
''
, configuring global data ...\n'
,
obj
.
maincode
,
obj
.
name
);
...
...
@@ -197,7 +195,14 @@ classdef SCDclass_expcode
dd
.
addDataSource
(
mydatasource
);
end
% Set up RFM bus
fprintf
(
'Setting up RFM main bus\n'
)
addRFMbus
(
obj
,
dd
)
fprintf
(
'Setting up variant model configuration'
)
obj
.
setupvaralgo
;
dd
.
saveChanges
;
end
function
actualize
(
obj
,
shot
,
varargin
)
...
...
@@ -463,7 +468,7 @@ classdef SCDclass_expcode
parse
(
p
,
varargin
{:});
myddname
=
p
.
Results
.
ddname
;
dim
=
obj
.
mdscontainer
.
printMARTe2wgbusconfig
(
shot
,
myddname
,
busname
,
frequency
);
obj
.
mdscontainer
.
printMARTe2wgbusconfig
(
shot
,
myddname
,
busname
,
frequency
);
end
function
printparameters
(
obj
)
...
...
@@ -693,8 +698,7 @@ classdef SCDclass_expcode
function
setupnodedd
(
obj
)
% For every node, add required wrapper datadicationaries as
% sources for the main data dicationary
% Getting main data dictionary and required data sources
datadictname
=
obj
.
ddname
;
fprintf
(
'opening %s\n'
,
datadictname
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment