コード例 #1
0
def demo1():
    theta = Axis('th', unit=u'deg')
    theta2 = Axis('tth', unit=u'deg')
    theta.position = 5.
    theta.speed = 10.
    theta2.position = 24
    theta2.speed = 5

    move(theta2, 30, theta, 40)
コード例 #2
0
def demo2():
    theta = Axis('th', unit=u'deg')
    theta2 = Axis('tth', unit=u'deg')
    chi = Axis('chi', unit='deg')
    phi = Axis('phi', unit='deg')
    mu = Axis('mu', unit='deg')
    gam = Axis('gam', unit='deg')
    theta.position = 10.
    theta.speed = 9.
    theta2.position = 10.
    theta2.speed = 8.
    chi.position = 10.
    chi.speed = 7.
    phi.position = 10.
    phi.speed = 6.
    mu.position = 10.
    mu.speed = 5.
    gam.position = 10.
    gam.speed = 4.
    move(theta, 90.5, theta2, 45.5, chi, 55.2, phi, 35.5, mu, 27.9, gam, 12.40)
コード例 #3
0
def demo0():
    theta = Axis('th', unit=u'deg')
    theta.position = 5.
    theta.speed = 10.

    move(theta, 50)