Stack module
Stacks are collections of experiments that are grouped together for convenience.
Stacks are used to organize experiments and to run them in batch mode.
- class vot.stack.Stack(*args, **kwargs)
Stack class represents a collection of experiments.
Stacks are used to organize experiments and to run them in batch mode.
- property name
Returns the name of the stack.
- vot.stack.experiment_resolver(typename, context, **kwargs)
Resolves experiment objects from stack definitions. This function is used by the stack module to resolve experiment objects from stack definitions. It is not intended to be used directly.
- Parameters
typename (str) – Name of the experiment class
context (Attributee) – Context of the experiment
kwargs (dict) – Additional arguments
- Returns
Experiment object
- Return type
- vot.stack.list_integrated_stacks() Mapping[str, str]
List stacks that come with the toolkit.
- Returns
A mapping of stack ids and stack title pairs
- Return type
Map[str, str]
- vot.stack.resolve_stack(name: str, *directories: List[str]) str
Searches for stack file in the given directories and returns its absolute path. If given an absolute path as input it simply returns it.
- Parameters
name (str) – Name of the stack
directories (List[str]) – Directories that will be used
- Returns
Absolute path to stack file
- Return type
str