MapDatasetMetaData#
- class gammapy.datasets.MapDatasetMetaData[source]#
Bases:
MetaDataMetadata containing information about the Dataset.
- Parameters:
- creation
CreatorMetaData, 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.
- creation
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.selfis explicitly positional-only to allowselfas a field name.Attributes Summary
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
- __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.selfis explicitly positional-only to allowselfas a field name.- Parameters:
data (Any)
- Return type:
None
- classmethod __new__(*args, **kwargs)#