MapDatasetMetaData#

class gammapy.datasets.MapDatasetMetaData[source]#

Bases: MetaData

Metadata containing information about the Dataset.

Parameters:
creationCreatorMetaData, optional

The creation metadata.

obs_infolist of ObsInfoMetaData

info about the observation.

event_typeslist of int or str

Event types used in analysis.

pointing: list of `~gammapy.utils.PointingInfoMetaData`

Telescope pointing directions.

optionaldict

Additional optional metadata.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

stack(other)

Attributes Documentation

model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'coerce_numbers_to_str': True, 'extra': 'forbid', 'use_enum_values': True, 'validate_assignment': True, 'validate_default': True}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

stack(other)[source]#
__init__(**data)#

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Parameters:

data (Any)

Return type:

None

classmethod __new__(*args, **kwargs)#