LoadShotParameters

class caqtus.analysis.loading.LoadShotParameters(
which: Literal['sequence', 'all'] = attr_dict['which'].default,
)

Bases: CombinableLoader

Loads the parameters of a shot.

When it is evaluated on a shot, it returns a polars dataframe with a single row and with several columns named after each parameter requested.

If some parameters are quantity with units, the dtype of the associated column will be a quantity dtype with two fields, magnitude and units.

Parameters:

which

The parameters to load from a shot.

If it is “sequence”, only the parameters defined at the sequence level are loaded. If “all”, both sequence specific and global parameters are loaded.

load(
shot: Shot,
) DataFrame

Load the parameters of a shot.