make_test_model

gammapy.image.models.make_test_model(nsources=100, npix=500, ampl=100, fwhm=30, random_state='random-seed')[source]

Create a model of several Gaussian sources.

Parameters:

random_state : {int, ‘random-seed’, ‘global-rng’, RandomState}

Defines random number generator initialisation. Passed to get_random_state.