Bases: Serializer
Serializer for external database cone search results, i.e. SIMBAD and NED.
Source code in vast_pipeline/serializers.py
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202 | class ExternalSearchSerializer(serializers.Serializer):
"""Serializer for external database cone search results, i.e. SIMBAD and NED.
"""
object_name = serializers.CharField()
database = serializers.CharField(
help_text="Result origin database, e.g. SIMBAD or NED."
)
separation_arcsec = serializers.FloatField()
otype = serializers.CharField(allow_blank=True, help_text="Object type, e.g. QSO.")
otype_long = serializers.CharField(
allow_blank=True,
help_text="Longer form of object type, e.g. quasar. Only supplied for SIMBAD results.",
)
ra_hms = serializers.CharField()
dec_dms = serializers.CharField()
|