LoadShotId

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

Bases: CombinableLoader

Loads the id of a shot.

When it is evaluated on a shot, it returns a polars dataframe with a single row and two columns: sequence and shot index that allows to identify the shot.

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.