%***************************************************************************************************
%                      MATLAB script for visualising Episodic TopoART networks                     *
%***************************************************************************************************
%                             Created by Marko Tscherepanow, 24 May 2021                           *
%***************************************************************************************************

% Add <LibTopoART directory>/visualisation/MATLAB/ to the MATLAB search path

basePath = fileparts(mfilename('fullpath'));
addpath([basePath '/functions/'])

% Open Episodic TopoART network saved as a text file 
eta = EpisodicTopoART([basePath '/../../results/networks/Fast_Episodic_TopoART_TwoSpirals_dataset.txt']);

% Plot network weights and save them to images/ETA_x.pdf, where x denotes the module (a, b, c, d, e, ...).
eta.PlotNetwork(summer)