nami_toys.shell#

Classes

GaussianShell([radius, width, bkg_scale])

2-D Gaussian shell (ring) signal with isotropic normal background.

class nami_toys.shell.GaussianShell(radius=2.5, width=0.25, bkg_scale=1.5)[source]#

Bases: object

2-D Gaussian shell (ring) signal with isotropic normal background.

Parameters:
  • radius (float) – Mean radius of the signal ring.

  • width (float) – Standard deviation of the radial spread.

  • bkg_scale (float) – Standard deviation of the isotropic background Gaussian.

bkg_scale: float = 1.5#
generate(n_expected, sig_frac, *, generator=None)[source]#

Draw a Poisson-fluctuated 2-D shell dataset.

Return type:

ToyDataset

Parameters:
radius: float = 2.5#
width: float = 0.25#