point_source¶
-
simcado.source.
point_source
(spectrum='AOV', mag=0, filter_name='TC_filter_Ks.dat', x=0, y=0, **kwargs)[source]¶ Creates a simcado.Source object for a point source with a given magnitude
This is a variant for
simcado.source.star()
but can accept any SED as well as an user provided EmissionCurve object- Parameters
- spectrumstr, EmissionCurve, optional
The spectrum to be associated with the point source. Values can either be: - the name of a SimCADO SED spectrum : see get_SED_names() - an EmissionCurve with a user defined spectrum
- magfloat
magnitude of object
- filter_namefilter_name
Default is “Ks”. Values can be either: - the name of a SimCADO filter : see optics.get_filter_set() - or a TransmissionCurve containing a user-defined filter
- x, yfloat, int, optional
[arcsec] the x,y position of the point source on the focal plane
- Returns
- source
simcado.Source
- source
See also