Skip to content
Snippets Groups Projects
Commit ce221d8b authored by Olivier Sauter's avatar Olivier Sauter Committed by Olivier Sauter
Browse files

add R0 to tf.b_field_tor_vacuum_r

parent 2fa878f9
No related branches found
No related tags found
1 merge request!23Small fixes
...@@ -15,11 +15,11 @@ ids_tf = ids_tf_empty; ...@@ -15,11 +15,11 @@ ids_tf = ids_tf_empty;
tmp = gdat_tcv(shot, 'b0'); tmp = gdat_tcv(shot, 'b0');
if ~ischar(tmp.data) if ~ischar(tmp.data)
ids_tf.b_field_tor_vacuum_r.data = tmp.data;
ids_tf.b_field_tor_vacuum_r.time = tmp.t;
ids_tf.r0 = tmp.r0; ids_tf.r0 = tmp.r0;
ids_tf_description.b_field_tor_vacuum_r.data = ' gdat_tcv(shot, ''b0'')';
ids_tf_description.r0 = ' b0.r0 from gdat_tcv(shot, ''b0'')'; ids_tf_description.r0 = ' b0.r0 from gdat_tcv(shot, ''b0'')';
ids_tf.b_field_tor_vacuum_r.data = tmp.data .* ids_tf.r0;
ids_tf_description.b_field_tor_vacuum_r.data = ' gdat_tcv(shot, ''b0'') * .r0';
ids_tf.b_field_tor_vacuum_r.time = tmp.t;
else else
% leave defaults % leave defaults
ids_tf_description = struct([]); ids_tf_description = struct([]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment