makeObservationInfo¶
-
astro_metadata_translator.
makeObservationInfo
(**kwargs)¶ Construct an
ObservationInfo
from the supplied parameters.Raises: - KeyError
Raised if a supplied parameter key is not a known property.
- TypeError
Raised if a supplied value does not match the expected type of the property.
Notes
The supplied parameters should use names matching the property. The type of the supplied value will be checked against the property. Any properties not supplied will be assigned a value of
None
.