Logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec.models.find_models  (  model sub_model model_list = None  )[source]

Parameters:
modelqspec.models._base.Model | None

The model to search in.

sub_modeltype[T]

The submodel to find.

model_listIterable[T] | None

A list of models to append the found submodel to.

Returns:
outlist[T]

This function returns a list of the first models of type or with the same type as sub_model for every branch in model.

API navigation