star¶
-
simcado.source.
star
(spec_type='A0V', mag=0, filter_name='Ks', x=0, y=0, **kwargs)[source]¶ Creates a simcado.Source object for a star with a given magnitude
This is just the single star variant for
simcado.source.stars()
- Parameters
- spec_typestr
the spectral type of the star, e.g. “A0V”, “G5III”
- magfloat
magnitude of star
- filter_namestr
Filter in which the magnitude is given. Can be the name of any filter curve file in the simcado/data folder, or a path to a custom ASCII file
- x, yfloat, int, optional
[arcsec] the x,y position of the star on the focal plane
- Returns
- source
simcado.Source
- source
See also