EoN.SIS_effective_degree(Ssi0, Isi0, tau, gamma, tmin=0, tmax=100, tcount=1001, return_full_data=False)[source]
Encodes system (5.36) of Kiss, Miller, & Simon. Please cite the

book if using this algorithm.

Ssi0 and Isi0 : (square) numpy 2D arrays of same shape.

Entries are initial number susceptible or infected with given initial number of susceptible/infected neighbors.

tau positive float
transmission rate
gamma number
recovery rate
tmin number (default 0)
minimum report time
tmax number (default 100)
maximum report time
tcount integer (default 1001)
number of reports
return_full_data boolean (default False)

tells whether to just return times, S, I, R or all calculated data. if True,

return times, S, I, Ssi, Isi
if False,
return times, S, I
if return_full_data:

return times, S, I, Ssi, Isi


return times, S, I