Page 1 of 1

Analysing the output data (supercomputers)

Posted: Wed Oct 24, 2018 11:03 pm
by parvinz

I am using supercomputers to run the model that I created using NetPyNe.
I have a problem with analysing the output data.
I tried using the file mentioned in the tutorial, but it seems that one of the functions are missing (df.popRates).
I was wondering how I could plot the same figures using 'plotConn' and 'plotTraces' on the output of supercomputers.

Many thanks.

Re: Analysing the output data (supercomputers)

Posted: Thu Nov 22, 2018 1:35 pm
by salvadord

The was just provided as an example of how to analyze output data. It may not work with all models. The reason that df.popRates might be missing is that you need to set cfg.printPopAvgRates = True -- this records the avg population rates and stores them in simData.

If you want to get the 'plotConn' and 'plotTraces' from the output of the supercomputer, you can load the output files using sim.load(filename). However, this assumes that the output file contains all the required data, including list of cells and connections. Once the file is loaded, you can use sim.analysis.plotConn() and .plotTraces() to get the plots.

Alternatively, you can generate these plots directly from the supercomputer simulations. Just add these plots to cfg.analysis (as in the tutorials) and set the options saveFig=True, showFig=False.

Let me know if you have further issues.