gaia_cob_pmp.app.models.source

Classes

Source

Root model for an astrophysical source.

Module Contents

class gaia_cob_pmp.app.models.source.Source(*args, **kwargs)

Bases: django.db.models.Model

Root model for an astrophysical source.

is_valid
name
other_names
ra
dec
get_aladin_coordinates() str

Gets the ‘target’ coordinates for this source on Aladin.

Returns:

The Aladin-format RA & Dec.

Gets the link to the source on Aladin

Parameters:
  • survey – Selection of survey image.

  • fov – Initial field of view. If none, defaults to value from settings.

Returns:

The link to a view of the source’s sky location.

get_absolute_url() str
__str__() str
__repr__() str