CompositeAnalyzer.from_model

classmethod CompositeAnalyzer.from_model(model, analyzers_cls, max_distance=None)[source]

Create a CompositeAnalyzer from a TimberModel and a list of analyzers.

Parameters:
modelTimberModel

The TimberModel to analyze.

analyzers_clslist[type[BeamGroupAnalyzer]] | type[BeamGroupAnalyzer]

A list of analyzer classes to use for finding clusters.

max_distancefloat | None

The max distance to use for the analysis. If None, a default max distance is used.

Returns:
CompositeAnalyzer

An instance of CompositeAnalyzer with the specified analyzers.