make_example_dataset#

regions.make_example_dataset(data='simulated', config=None)[source]#

Deprecated since version 0.12: The make_example_dataset function is deprecated and will be removed in a future version.

Make an example dataset.

This is a factory function for ExampleDataset objects.

The following config options are available (default values shown):

  • crval = 0, 0

  • crpix = 180, 90

  • cdelt = -1, 1

  • shape = 180, 360

  • ctype = 'GLON-AIT', 'GLAT-AIT'

Parameters:
data{‘simulated’, ‘fermi’}

The dataset to use.

configdict or None

Configuration options.

Returns:
datasetExampleDataset

An example dataset object.