You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Intensity and the first element of the "Size" tuple give the same information. Like, sampling a unit square at intensity 2 should be the same as sampling two points from it.
The intensity is returned from the parse function just in case future functions find it easier to work with that than with the sizes. Right now, though, we're always using the sizes, either inferred from intensity or given by the user.
The intensity is returned from the parse function just in case future functions find it easier to work with that than with the sizes. Right now, though, we're always using the sizes, either inferred from intensity or given by the user.
Would you be against me putting in a PR that adds some information to the docstring to remind us (me) for future reference?
Within
random.parse_size_and_intensity()
theintensity
variable is returned when called within each available distribution (poisson
,normal
,cluster_poisson
, andcluster_normal
). However,intensity
does not appear to used outsideparse_size_and_intensity()
.Does
intensity
actually need to be returned fromparse_size_and_intensity()
?The text was updated successfully, but these errors were encountered: