This function generates a spatial point process within the window of the 'sim_object'
using a Poisson point pattern with intensity 'lambda'. The simulated point pattern is added
to the 'Patterns' slot of the 'sim_object'. Additional arguments can be passed to the 'rpoispp' function.
The gridded parameter is used for simulating point patterns that would represent som spatial transcriptomic
technologies such as visium, where rather than like cell being randomly distributed in a sample, the spots where
data is measured is evenly spaced.