scopesim_templates.stellar.stellar.star_grid#
- scopesim_templates.stellar.stellar.star_grid(n, mmin, mmax, filter_name='V', separation=1, ra=0, dec=0)#
Create a square grid of A0V stars at equal magnitude intervals.
- Parameters:
n (int) – the number of stars in the grid
mmin (float) – [vega mag] the minimum (brightest) magntude of stars in the grid
mmax (float) – [vega mag] maximum (faintest) magnitudes for stars in the grid
filter_name (str) – any filter that is in the SimCADO package directory. See
scopesim.optics.get_filter_set()separation (float, optional) – [arcsec] an average speration between the stars in the grid can be specified. Default is 1 arcsec
ra (float or str) – RA of the center of the field (not used at the moment)
dec (float or str) – DEC of the center of the field (not used at the moment)
- Returns:
src
- Return type:
scopesim.Source