wtf section

wtf stands for what to fit. This section parametrizes the failed cavities, as well as how they are fixed.

If you want to use the k out of n method:

If you want to use the l neighboring lattices method:

If you want to manually associate each failed cavity with its compensating cavities:

Note

You can type the index of failed cavities on several lines if you want to study several fault scenarios at once.

Example

# Indexes are cavity indexes
idx = "cavity"
failed = [
   [0, 1],       # First simulation first cryomodule is down
   [0],          # Second simulation only first cavity is down
   [1, 45]       # Third simulation second and 46th cavity are down
]