Esempio n. 1
0
def ReturnLines(theta=30):

    degree = math.pi / 180
    Kr.calculate(theta * degree, 0)
    MagneticFieldB = 2
    tr2 = HELIOS.trajectory(Kr.V2, Kr.thetalab2 * degree, 10, Kr.m[2], MagneticFieldB)
    tr3 = HELIOS.trajectory(Kr.V3, Kr.thetalab3 * degree, 1, Kr.m[3], MagneticFieldB)

    return tr2, tr3
Esempio n. 2
0
    def GenerateXYData(self,thetalab2):
        self.calculate(thetalab2*__constant_degree,0)
        tr2 = HELIOS.trajectory(v=self.V2,
                thetalab=self.thetalab2*__constant_degree, 
                charge=self.targetCharge2, 
                mass=self.m[2],
                B=self.MagneticFieldB)

        tr3 = HELIOS.trajectory(v=self.V3,
                thetalab=self.thetalab3*__constant_degree, 
                charge=self.targetCharge3, 
                mass=self.m[3],
                B=self.MagneticFieldB)
         
        return tr2, tr3