def magpath(wBx, wBy):
    '\n    Takes the perpendicular deflection field and reconstructs the path\n    integrated magnetic field.\n\n    Args:\n        wBx (array): x-component perpendicular deflection field.\n        wBy (array): y-component perpendicular deflection field.\n\n    Returns:\n        Bxpath (array): Path integrated magnetic field x-component. \n        Bypath (array): Path integrated magnetic field y-component.\n    '
    Bxpath = ((- ((M_PROTON_G * C_CMS) / ESU)) * wBy)
    Bypath = (((M_PROTON_G * C_CMS) / ESU) * wBx)
    return (Bxpath, Bypath)
Takes the perpendicular deflection field and reconstructs the path
integrated magnetic field.

Args:
    wBx (array): x-component perpendicular deflection field.
    wBy (array): y-component perpendicular deflection field.

Returns:
    Bxpath (array): Path integrated magnetic field x-component. 
    Bypath (array): Path integrated magnetic field y-component.
def magpath(wBx, wBy):
    '\n    Takes the perpendicular deflection field and reconstructs the path\n    integrated magnetic field.\n\n    Args:\n        wBx (array): x-component perpendicular deflection field.\n        wBy (array): y-component perpendicular deflection field.\n\n    Returns:\n        Bxpath (array): Path integrated magnetic field x-component. \n        Bypath (array): Path integrated magnetic field y-component.\n    '
    Bxpath = ((- ((M_PROTON_G * C_CMS) / ESU)) * wBy)
    Bypath = (((M_PROTON_G * C_CMS) / ESU) * wBx)
    return (Bxpath, Bypath)