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
d8345f07
Commit
d8345f07
authored
22 years ago
by
Olivier Sauter
Browse files
Options
Downloads
Patches
Plain Diff
add sxR
git-svn-id:
https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@1871
d63d8f72-b253-0410-a779-e742ad2e26cf
parent
c6b3bd6a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AUG/loadAUGdata.m
+15
-16
15 additions, 16 deletions
AUG/loadAUGdata.m
with
15 additions
and
16 deletions
AUG/loadAUGdata.m
+
15
−
16
View file @
d8345f07
...
...
@@ -167,8 +167,8 @@ AUGsigtimeindx=ones(size(AUGkeywrdall));
AUGsiglocation
=
cell
(
2
,
size
(
AUGkeywrdall
,
2
));
AUGsiglocation
(:)
=
{
''
};
AUGsiglocation
(:,
AUGsig
.
iip
)
=
{
'MAG'
;
'Ipi'
};
AUGsiglocation
(:,
AUGsig
.
izmag
)
=
{
''
;
''
};
AUGsiglocation
(:,
AUGsig
.
irmag
)
=
{
''
;
''
};
AUGsiglocation
(:,
AUGsig
.
izmag
)
=
{
'
FPG
'
;
'
Zmag
'
};
AUGsiglocation
(:,
AUGsig
.
irmag
)
=
{
'
FPG
'
;
'
Rmag
'
};
AUGsiglocation
(:,
AUGsig
.
ircont
)
=
{
''
;
''
};
AUGsigtimeindx
(
AUGsig
.
ircont
)
=
2
;
AUGsiglocation
(:,
AUGsig
.
izcont
)
=
{
''
;
''
};
AUGsigtimeindx
(
AUGsig
.
izcont
)
=
2
;
AUGsiglocation
(:,
AUGsig
.
ivol
)
=
{
''
;
''
};
...
...
@@ -302,20 +302,19 @@ switch AUGkeywrdcase{index}
trace
.
units
=
'W/m^2'
;
trace
.
name
=
[
num2str
(
shot
)
'/'
ppftype
'/'
tracename
];
% calculating intersection of the view lines with magnetics axis
% if strcmp(data_type_eff_noext,'sxR')
% if nargin>=5 & ~isempty(varargin{3})
% zmag=varargin{3};
% else
% zmag=loadAUGdata(shot,'zmag');
% end
% zmageff=interp1(zmag.t,zmag.data,trace.t);
% for i=starti:endi
% radius.data(i,:)=2.848 + (2.172-zmageff') .* tan(-4.5/180.*3.14159 - atan2(0.99.*(i-18),35.31));
% end
% radius.t=t;
varargout
{
1
}
=
{
struct
([])};
trace
.
R
=
[];
% end
if
strcmp
(
data_type_eff_noext
,
'sxR'
)
if
nargin
>=
5
&
~
isempty
(
varargin
{
3
})
zmag
=
varargin
{
3
};
else
zmag
=
loadAUGdata
(
shot
,
'zmag'
);
end
zmageff
=
interp1
(
zmag
.
t
,
zmag
.
data
,
trace
.
t
);
[
R_B
,
Z_B
,
ang_B
,
Rsxr
]
=
sxrbgeometry
(
zmageff
);
radius
.
data
=
Rsxr
;
radius
.
t
=
trace
.
t
;
varargout
{
1
}
=
{
radius
};
trace
.
R
=
radius
;
end
otherwise
disp
(
'case not yet defined'
)
...
...
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