create_map_dataset_geoms#

gammapy.datasets.create_map_dataset_geoms(geom, energy_axis_true=None, migra_axis=None, rad_axis=None, binsz_irf=None)[source]#

Create map geometries for a MapDataset

Parameters
geomWcsGeom

Reference target geometry in reco energy, used for counts and background maps

energy_axis_trueMapAxis

True energy axis used for IRF maps

migra_axisMapAxis

If set, this provides the migration axis for the energy dispersion map. If not set, an EDispKernelMap is produced instead. Default is None

rad_axisMapAxis

Rad axis for the psf map

binsz_irffloat

IRF Map pixel size in degrees.

Returns
geomsdict

Dict with map geometries.