Skip to content
Snippets Groups Projects
Commit 1ad9043d authored by Luke Simons's avatar Luke Simons
Browse files

Fixed bug in bolou_confidence variable

parent 322a501e
No related branches found
No related tags found
1 merge request!171Resolve "Add tcv_get_ids_bolometer to TCV_IMAS functions"
Pipeline #255135 passed
......@@ -173,12 +173,12 @@ if status
% Translate bolo_u_confidence values to ids_bolometer.code.output_flag values
if bolo_u_confidence == 0
if bolo_u_confidence.data == 0
ids_bolometer.code.output_flag=1;
elseif bolo_u_confidence == 1
elseif bolo_u_confidence.data == 1
ids_bolometer.code.output_flag=0;
else
ids_bolometer.code.output_flag=-abs(bolo_u_confidence);
ids_bolometer.code.output_flag=-abs(bolo_u_confidence.data);
end
ids_bolometer.time = bolo_u_intensity.t;
else
......
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