0001 function [wavestructss,wavestructids] = iluke_mod_P0_wavestructs(wavestructss,wavestructids,status,iw,P0_kW)
0002
0003 P0str = ['_P0_',num2str(P0_kW),'_kW'];
0004
0005 flag_shotimes = find(status.wavestructs(iw,:) == 1);
0006
0007 for it = flag_shotimes,
0008
0009 wavestructss{iw,it}.launch.angles.P0 = P0_kW*1e3;
0010 wavestructss{iw,it}.launch.angles.id = [wavestructss{iw,it}.launch.angles.id,P0str];
0011
0012 wavestructss{iw,it}.launch.yP_L = P0_kW*1e3;
0013 wavestructss{iw,it}.launch.id = [wavestructss{iw,it}.launch.id,P0str];
0014
0015 wavestructss{iw,it}.id = [wavestructss{iw,it}.id,P0str];
0016
0017 end
0018
0019 wavestructids{iw} = wavestructss{iw,it}.id;
0020
0021
0022
0023
0024
0025