scopesim_templates.misc.point_source

scopesim_templates.misc.point_source(sed, amplitude=None, filter_curve='V', x=0, y=0, ra=0, dec=0) Source

Create a point source with an arbitrary spectrum.

This is similar to scopesim_templates.stellar.star.

Parameters:
sedstr or synphot.Source_Spectrum

Passing a str will try to download a sed from the speXtra database alternatively an user manipulated synphot.Source_Spectrum or compatible object can be provided.

amplitudefloat

flux or magnitude of the object. The SED will be scaled to that value if left to None (default) no scaling will be performed

filter_curvestr

any astronomical filter in the speXtra or the spanish VO database

xfloat

X-coordinate on the plane in arcsec

yfloat

Y-coordinate on the plane in arcsec

rafloat, str

RA coordinates of the center of the field (not used)

decfloat, str

DEC coordinates of the center of the field (not used)