Closed matiscke closed 3 months ago
This adds the functionality of selecting desired spectral types in the star generator.
A selection of spectral types can be provided to the generated with a new keyword argument SpT.
SpT
Examples:
sample = generator.generate(SpT=['F', 'G', 'K'])
stars_args = { 'd_max': 30, # max. dist to stars (pc), 'SpT' : ['F', 'G', 'K'] } g = Generator(label=None) g.insert_step("read_stars_Gaia") [g.set_arg(key, val) for key, val in stars_args.items()] d = g.generate()
This adds the functionality of selecting desired spectral types in the star generator.
A selection of spectral types can be provided to the generated with a new keyword argument
SpT
.Examples: