scippneutron.metadata.Source#
- class scippneutron.metadata.Source(**data)[source]#
Information about a neutron source.
The ESS source is provided as
scippneutron.metadata.ESS_SOURCE.Attributes
model_computed_fieldsConfiguration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
model_extraGet extra fields set during validation.
model_fieldsmodel_fields_setReturns the set of fields that have been explicitly set on this model instance.
Name of the source.
Type of this source.
Radiation probe of the source.
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- name: Annotated[str | None, BeforeValidator(_unpack_variable)]#
Name of the source.
- probe: RadiationProbe#
Radiation probe of the source.
- source_type: SourceType#
Type of this source.