teneto.generatenetwork

teneto.generatenetwork Package

Imports when importing generatenetwork

Functions

rand_binomial(size, prob[, netrep, nettype, ...])

Creates a random binary network following a binomial distribution.

rand_poisson(nnodes, ncontacts[, lam, ...])

Generate a random network where intervals between contacts are distributed by a poisson distribution