gnn_tracking.utils.nomenclature#

Attributes#

variable_manager

Classes#

Variable

Variable with latex expressions etc. To be used

VariableManager

Keep track of variables and their latex expressions etc.

Functions#

denote_pt(→ Any)

Append suffix to designate pt threshold.

random_trial_name(→ str)

Generate a random trial name.

Module Contents#

gnn_tracking.utils.nomenclature.denote_pt(inpt, pt_min=0.0) Any#

Append suffix to designate pt threshold. If string is given, return string. If dict is given, modify all keys.

gnn_tracking.utils.nomenclature.random_trial_name(print=True) str#

Generate a random trial name.

Parameters:

print – Whether to print the name

class gnn_tracking.utils.nomenclature.Variable(name: str, latex: str = '')#

Variable with latex expressions etc. To be used for VariableManager

property latex: str#
__str__() str#

Return str(self).

class gnn_tracking.utils.nomenclature.VariableManager#

Keep track of variables and their latex expressions etc.

__getitem__(name: str) Variable#
add(other: list | Variable | tuple) None#

Add more variables to the manager

gnn_tracking.utils.nomenclature.variable_manager#