hera_sim.components.get_model¶
- hera_sim.components.get_model(mdl: str, cmp: str | None = None) type[hera_sim.components.SimulationComponent] [source]¶
Get a particular model, based on its name.
- Parameters:
mdl – The name (or alias) of the model to get.
cmp – If desired, limit the search to a specific component name. This helps if there are name clashes between models.
- Returns:
cmp – The
SimulationComponent
corresponding to the desired model.