Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SPC
gdat
Commits
a58c6ef1
Commit
a58c6ef1
authored
Jan 17, 2022
by
Olivier Sauter
Browse files
temp
parent
48034ef9
Changes
1
Hide whitespace changes
Inline
Side-by-side
matlab/TCV/gdat_tcv.m
View file @
a58c6ef1
function
[
gdat_data
,
gdat_params
,
error_status
,
varargout
]
=
gdat_tcv
_OS
(
shot
,
data_request
,
varargin
)
function
[
gdat_data
,
gdat_params
,
error_status
,
varargout
]
=
gdat_tcv
(
shot
,
data_request
,
varargin
)
%
% function [gdat_data,gdat_params,error_status,varargout] = gdat(shot,data_request,varargin)
%
...
...
@@ -2574,8 +2574,8 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
end
if
any
(
strmatch
(
'dnbi'
,
gdat_data
.
gdat_params
.
source
))
% NB2
nodenameeff
=
'\RESULTS::DNBI:POWR_TCV'
;
% NB2
nodenameeff
=
'\RESULTS::DNBI:POWR_TCV'
;
nb2_data_tdi
=
tdi
(
nodenameeff
);
if
~
isempty
(
nb2_data_tdi
.
data
)
&&
~
ischar
(
nb2_data_tdi
.
data
)
&&
~
isempty
(
nb2_data_tdi
.
dim
)
nbi_neutral_power_tot
=
nb2_data_tdi
.
data
.*
1e6
;
% in W
...
...
@@ -3315,7 +3315,7 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
gdat_data
.
x
=
[
1
:
size
(
sig
,
1
)];
gdat_data
.
dimunits
=
{
'20 chords per camera'
;
's'
};
else
%
keyboard
keyboard
% extract only given channels
gdat_data
.
data
=
sig
(
channel_xtomo
,:);
gdat_data
.
x
=
channel_xtomo
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment