getStar(star_grid,
modelid,
idtype=' GASTRONOOM ' )
| source code
|
Grab a Star() object from a list of such objects, given a model
id.
If no modelid is found, an empty list is returned. If Star() objects
are found (even only one), a list of them is returned.
Based on the cooling modelid.
- Parameters:
star_grid (list[Star()]) - the Star() objects
modelid (string) - the given modelid for which the selection is made.
idtype (string) - The type of model id
(default: GASTRONOOM)
- Returns: list[Star()]
- The models matching the modelid
|