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
bfaeccde
Commit
bfaeccde
authored
2 years ago
by
Olivier Sauter
Browse files
Options
Downloads
Patches
Plain Diff
improve variable names
parent
4e88cbac
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!125
add li3 and conversion factor with li efit in AUG requests
Pipeline
#111071
passed
2 years ago
Stage: test
Stage: post-test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
matlab/AUG/aug_requests_mapping.m
+6
-5
6 additions, 5 deletions
matlab/AUG/aug_requests_mapping.m
with
6 additions
and
5 deletions
matlab/AUG/aug_requests_mapping.m
+
6
−
5
View file @
bfaeccde
...
...
@@ -25,7 +25,7 @@ mapping.label = data_request;
% for AUG, following choices are set so far:
% method = 'signal' then expression contains the shotfile, diagnostic and if needed the experiment
% expression is a cell array
% method = 'expression', then expression is
the expression to re
tur
n
gdat_tmp
...
% method = 'expression', then expression is
executed and it should provide the struc
tur
e
gdat_tmp
, which fields are copied to gdat_data
% method = 'switchcase', then there will be a specific case within gdat_aug (usual case when not directly a signal)
%
% label is used for plotting
...
...
@@ -187,11 +187,12 @@ switch lower(data_request)
mapping
.
label
=
'li3'
;
mapping
.
method
=
'expression'
;
mapping
.
expression
=
[
'params_eff = gdat_data.gdat_params;params_eff.data_request=
''
li
''
;'
...
'gdat_tmp=gdat_aug(shot,params_eff);params_eff.data_request=
''
volume
''
;r0exp=1.65;gdat_tmp.r0=r0exp;'
...
'gdat_tmp2=gdat_aug(shot,params_eff);ij=find(gdat_tmp2.data==0);gdat_tmp2.data(ij)=NaN;'
...
'gdat_tmp=gdat_aug(shot,params_eff);r0exp=1.65;gdat_tmp.r0=r0exp;'
...
'params_eff.data_request=
''
volume
''
;'
...
'gdat_vol=gdat_aug(shot,params_eff);ij=find(gdat_vol.data==0);gdat_vol.data(ij)=NaN;'
...
'params_eff.data_request=[{
''
FPG
''
},{
''
Circumf
''
}];'
...
'gdat_
tmp3
=gdat_aug(shot,params_eff);ij=find(gdat_
tmp3
.data==0);gdat_
tmp3
.data(ij)=NaN;'
...
'gdat_tmp.conversion_factor_liefit_li3=gdat_tmp.r0./2.*gdat_
tmp3
.data.^2./gdat_
tmp2
.data;'
...
'gdat_
pol_length
=gdat_aug(shot,params_eff);ij=find(gdat_
pol_length
.data==0);gdat_
pol_length
.data(ij)=NaN;'
...
'gdat_tmp.conversion_factor_liefit_li3=gdat_tmp.r0./2.*gdat_
pol_length
.data.^2./gdat_
vol
.data;'
...
'gdat_tmp.data = gdat_tmp.data./gdat_tmp.conversion_factor_liefit_li3;'
];
case
'mhd'
mapping
.
timedim
=
1
;
...
...
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