scopesim.source.source_templates.star

Contents

scopesim.source.source_templates.star#

scopesim.source.source_templates.star(x=0, y=0, flux=0)#

Source object for a single star in either vega, AB magnitudes, or Jansky

The star is associated with the reference spectrum for each photometric system, therefore a reference wavelength or filter does not need to be given

Parameters:
  • x (float) – [arcsec] position from centre of field of view

  • y (float) – [arcsec] position from centre of field of view

  • flux (float) – [vega mag, AB mag, Jy] Stellar brightness

Returns:

src – A source object with a single entry table field and a reference spectrum

Return type:

Source