i3deployer

Contains an IceCube-specific implementation of Deployer.

class graphnet.deployment.icecube.i3deployer.I3Deployer(modules, gcd_file, n_workers)[source]

Bases: Deployer

A generic baseclass for applying DeploymentModules to analysis files.

Modules are applied in the order that they appear in modules.

Initialize Deployer.

Will apply DeploymentModules to files in the order in which they appear in modules. Each module is run independently.

Parameters:
  • modules (Union[I3InferenceModule, Sequence[I3InferenceModule]]) – List of DeploymentModules. Order of appearence in the list determines order of deployment.

  • gcd_file (str) – path to gcd file.

  • n_workers (int, default: 1) – Number of workers. The deployer will divide the number of input files across workers. Defaults to 1.