scopesim_templates.misc.uniform_source

scopesim_templates.misc.uniform_source(sed, amplitude=None, filter_curve='V', extend=60, ra=0, dec=0) Source

Create an extended uniform source with an arbitrary spectrum.

This function reates an image with extend^2 pixels with size of 1 arcsec^2 so provided amplitudes. are in flux or magnitudes per arcsec^2

Parameters:
sedsynphot or spextra sed
amplitudefloat

magnitude or flux (PER ARCSEC^2) of the spectrum in the specified filter_curve.

filter_curvestr

any filter curve

extendint

extension of the field in arcsec, will always produce a square field

rafloat

RA of the field center (not used)

decfloat

DEC of field center (not used)