powerbox.powerbox.LogNormalPowerBox.create_discrete_sample¶
-
LogNormalPowerBox.create_discrete_sample(nbar, randomise_in_cell=True, min_at_zero=False, store_pos=False, seed=None)¶ Assuming that the real-space signal represents an over-density with respect to some mean, create a sample of tracers of the underlying density distribution.
Parameters: - nbar : float
Mean tracer density within the box.