Go to the source code of this file.
|
| | function [vorts] |
| |
| and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial | dataset |
| |
| and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step | size |
| |
| and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step and final % dataset to load for the vortex postions % lostCheck turns on the ability to test for vortex losses and ensure % that these vortices do not contribute to the dataset % The Data should be in the format of [X Y Sign UID IsLost] % | vorts =zeros(1,1,2) |
| |
| | a =zeros(2,1) |
| |
| | steps =start:step:fin |
| |
| vtxLost | count =0 |
| |
| vtxLost | idx =[] |
| |
| % Check if a vortex we can choose to discard it % This is indicated by a in the | column |
| |
| % Check if a vortex we can choose to discard it % This is indicated by a in the whose UID is then tagged if | lostCheck |
| |
| for | jj |
| |
| end % Arrange vortices in appropriate ordering and structuring for % trajectory plotting which are return by vorts data structure for | ii |
| |
| | f =csvread(strcat(strcat('vort_ord_',int2str(ii)),'.csv'),0,0) |
| |
◆ count()
◆ vanishes()
| % Check if a vortex vanishes |
( |
goes outside the |
boundary | ) |
|
◆ vorts()
◆ column
| % Check if a vortex we can choose to discard it % This is indicated by a in the column |
◆ count
| end end end vtxLost count =0 |
◆ dataset
| and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial dataset |
| f =csvread(strcat(strcat('vort_ord_',int2str(ii)),'.csv'),0,0) |
◆ function
Initial value:%loads the processed
vorts from the output of
vort.py
% Check if a vortex we can choose to discard it % This is indicated by a in the whose UID is then tagged if lostCheck
and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step and final % dataset to load for the vortex postions % lostCheck turns on the ability to test for vortex losses and ensure % that these vortices do not contribute to the dataset % The Data should be in the format of [X Y Sign UID IsLost] % vorts
Definition at line 1 of file loadVtx.m.
◆ idx
◆ ii
| end % Arrange vortices in appropriate ordering and structuring for % trajectory plotting which are return by vorts data structure for ii |
Initial value:end % Arrange vortices in appropriate ordering and structuring for % trajectory plotting which are return by vorts data structure for ii
Definition at line 34 of file loadVtx.m.
◆ jj
Initial value:end if(length(DT.vertexAttachments{ii})==5) if plotit plot(x(ii)
and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step size
Definition at line 23 of file loadVtx.m.
◆ lostCheck
| % Check if a vortex we can choose to discard it % This is indicated by a in the whose UID is then tagged if lostCheck |
Initial value:==1
f=csvread(strcat(strcat(
'vort_ord_',int2str(
ii)),
'.csv'),0,0)
end % Arrange vortices in appropriate ordering and structuring for % trajectory plotting which are return by vorts data structure for ii
Definition at line 20 of file loadVtx.m.
◆ size
| and structures them % into Matlab structs for Vortex position and index % start step and fin are the initial step size |
◆ steps
◆ vorts