emod_api.spatialreports.plot_spat_means module

This script assumes local SpatialReport_XXX.bin files which have been downloaded (from COMPS) using pyCOMPS getexpout function or equivalent. Note that this interacts with files on an experiment basis, not simulation basis. It assumes the files are in a subdirectory named after the experiment id, and then in subdirectories of that named after the simulation id.

<exp_id>/
<sim1_id>/

SpatialReport_XXX.bin

<sim2_id>/

SpatialReport_XXX.bin

The idea is that the data is most interesting not on a simulation basis, but for an experiment, especially aggregated on a certain sweep param and value. This plot calculates means and plots those.

Option 1: For each node, plot the mean of the specified channel for all files (values) found in experiment. Option 2: For each node, plot the mean of the specified channel for all files (values) found in experiment _limited_ by specified tag key-value pair. There is little to no assistance here so you need to specify a valid key and value.

emod_api.spatialreports.plot_spat_means.collect(exp_id, chan='Prevalence', tag=None)[source]
emod_api.spatialreports.plot_spat_means.plot(exp_id, chan='Prevalence', tag=None)[source]