Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gdat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
gdat
Commits
214f9f18
Commit
214f9f18
authored
5 years ago
by
Olivier Sauter
Browse files
Options
Downloads
Patches
Plain Diff
ids_get included in gdat, so get_IDS_ITER_4_LIUQE.m not needed anymore, see modif inside
parent
9eaa2de7
No related branches found
No related tags found
1 merge request
!41
Add corsica liuqe complete ids from meq
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
IDS/complete_IDS_CORSICA.m
+23
-16
23 additions, 16 deletions
IDS/complete_IDS_CORSICA.m
with
23 additions
and
16 deletions
IDS/complete_IDS_CORSICA.m
+
23
−
16
View file @
214f9f18
clear
all
doread
=
0
;
close
all
dosave
=
0
;
clc
if
doread
% This script will complete the IDS of CORSICA with the missing fields recomputing the missing quantities from available information
clear
all
close
all
data_path_in
=
'/NoTivoli/carpanes/LIU_RAP_ITER/CORSICA_ids/CORSICA_130510.mat'
;
clc
%path_IDS = '/NoTivoli/carpanes/LIU_RAP_ITER/CORSICA_ids/CORSICA_130506.mat';
% This script will complete the IDS of CORSICA with the missing fields recomputing the missing quantities from available information
data_path_out
=
'/NoTivoli/carpanes/LIU_RAP_ITER/CORSICA_ids/CORSICA_130510_extended_COCOS17.mat'
;
data_path_in
=
'/NoTivoli/carpanes/LIU_RAP_ITER/CORSICA_ids/CORSICA_130510.mat'
;
% Load the IDS file
%path_IDS = '/NoTivoli/carpanes/LIU_RAP_ITER/CORSICA_ids/CORSICA_130506.mat';
IDS
=
load
(
data_path_in
);
data_path_out
=
'/NoTivoli/carpanes/LIU_RAP_ITER/CORSICA_ids/CORSICA_130510_extended_COCOS17.mat'
;
% Load the IDS file
IDS
=
load
(
data_path_in
);
end
%% Correct COCOS convention on original data
%% Correct COCOS convention on original data
...
@@ -127,11 +132,13 @@ IDS.tf.b_field_tor_vacuum_r.data = LXC.rBt;
...
@@ -127,11 +132,13 @@ IDS.tf.b_field_tor_vacuum_r.data = LXC.rBt;
%% Convert from 11 to 17
%% Convert from 11 to 17
IDS
.
magnetics
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
magnetics
,
'magnetics'
,
11
,
17
);
IDS
.
magnetics
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
magnetics
,
'magnetics'
,
11
,
17
);
IDS
.
pf_active
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
pf_active
,
'pf_active'
,
11
,
17
);
IDS
.
pf_active
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
pf_active
,
'pf_active'
,
11
,
17
,[],[],[],[],[],
3
);
IDS
.
tf
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
tf
,
'tf'
,
11
,
17
);
IDS
.
tf
=
ids_generic_cocos_nodes_transformation_symbolic
(
IDS
.
tf
,
'tf'
,
11
,
17
);
%% Store the resulting data
%% Store the resulting data
save
(
data_path_out
,
'-struct'
,
'IDS'
)
if
dosave
fprintf
(
'\n wrote file %s \n'
,
data_path_out
);
save
(
data_path_out
,
'-struct'
,
'IDS'
)
fprintf
(
'\n wrote file %s \n'
,
data_path_out
);
end
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