LoadShotTime

class caqtus.analysis.loading.LoadShotTime(*args, **kwargs)

Bases: CombinableLoader

Loads the time of a shot.

When it is evaluated on a shot, it returns a polars dataframe with a single row and two columns: start time and end time with dtype polars.Datetime indicates when the shot started and ended.

load(shot: Shot)

Load data from a shot and return it as a DataFrame.

This method must be implemented by subclasses. It must return a dataframe containing the data loaded from the shot.