pymovements.measure.SampleMeasureLibrary.add#

classmethod SampleMeasureLibrary.add(method: Callable[[...], Expr]) None[source]#

Add a measure method to the library.

Parameters:

method (Callable[..., pl.Expr]) – The measure method to add to the library.