create_map_dataset_geoms#

gammapy.datasets.create_map_dataset_geoms(geom, energy_axis_true=None, migra_axis=None, rad_axis=None, binsz_irf=<Quantity 0.2 deg>, reco_psf=False)[source]#

Create map geometries for a MapDataset.

Parameters:
geomWcsGeom

Reference target geometry with a reconstructed energy axis. It is used for counts and background maps. Additional external data axes can be added to support e.g. event types.

energy_axis_trueMapAxis, optional

True energy axis used for IRF maps.

migra_axisMapAxis, optional

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, optional

Rad axis for the PSF map.

binsz_irffloat, optional

IRF Map pixel size in degrees.

reco_psfbool, optional

Use reconstructed energy for the PSF geometry. Default is False.

Returns:
geomsdict

Dictionary with map geometries.