SIAQuery#
- pydantic model mobu.models.business.siaquerysetrunner.SIAQuery#
The parameters of an SIA (v2) query.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "SIAQuery", "description": "The parameters of an SIA (v2) query.", "type": "object", "properties": { "ra": { "title": "Ra", "type": "number" }, "dec": { "title": "Dec", "type": "number" }, "radius": { "title": "Radius", "type": "number" }, "time": { "items": { "type": "number" }, "title": "Time", "type": "array" } }, "required": [ "ra", "dec", "radius", "time" ] }
- field dec: float [Required]#
- field ra: float [Required]#
- field radius: float [Required]#
- field time: list[float] [Required]#
- to_pyvo_sia_params()#
Return the query as a dictionary in a form that pyvo’s SIA search expects it. We transform the time strings to astropy Time objects and then to datetime.
- Returns:
The query as a dictionary.
- Return type: