qcodes/tests/drivers/test_MercuryiPS.py
def cylindrical_limits(x, y, z):
        """
        Checks that the field is inside a particular cylinder
        """
        rho_check = np.sqrt(x**2 + y**2) <= 2
        z_check = z < 3 and z > -1

        return rho_check and z_check

        Checks that the field is inside a particular cylinder
        
Checks that the field is inside a particular cylinder
Checks that the field is inside a particular cylinder
def cylindrical_limits(x, y, z):
        rho_check = np.sqrt(x**2 + y**2) <= 2
        z_check = z < 3 and z > -1
        return rho_check and z_check
def cylindrical_limits ( x , y , z ) : rho_check = np . sqrt ( x ** 2 + y ** 2 ) <= 2 z_check = z < 3 and z > - 1 return rho_check and z_check
Checks that the field is inside a particular cylinder
Checks that the field is inside a particular cylinder
"""
        Checks that the field is inside a particular cylinder
        """
x
y
z