BPM Calibration

BPM Calibration

This script computes the calibration factors for the LHC BPMs using either a beta from phase method or a dispersion one by comparison of beam optics quantities calculated independent of and dependent on BPM calibration. Namely, the default method compares beta-functions calculated from phase advances (BPM-calibration independent) and from amplitude of betatron oscillation (calibration dependent). The other method compares dispersion, and its use is currently discouraged due to worse resolution.

Arguments:

--Required--

  • inputdir (Path):

    Measurements path.

    flags: [‘--input’]

  • ips (int):

    IPs to compute calibration factors for.

    flags: [‘--ips’]

    choices: [1, 4, 5]

  • outputdir (Path):

    Output directory where to write the calibration factors.

    flags: [‘--outputdir’]

--Optional--

  • method (str):

    Method to be used to compute the calibration factors. The Beta function is used by default.

    flags: [‘--method’]

    choices: ('beta', 'dispersion')

    default: beta