Beispiel #1
0
def xy_theta_tau(lib, beta, x, y, theta, tau):
    gam = (1 - beta**2)**-0.5
    bgam = beta * gam
    exx = x
    why = y
    zee = z.xy_theta(lib, x, y, theta)
    tee = t.xy_theta_tau(lib, x, y, theta, tau)
    return (exx, gam * why + bgam * tee, zee, tau)
Beispiel #2
0
def xy_theta_tau(lib, gamma, x, y, theta, tau):
    gam = lib.absolute(gamma)
    bgam = lib.copysign(lib.sqrt(gam**2 - 1), gamma)
    exx = x
    why = y
    zee = z.xy_theta(lib, x, y, theta)
    tee = t.xy_theta_tau(lib, x, y, theta, tau)
    return (exx, gam * why + bgam * tee, zee, tau)
Beispiel #3
0
def xy_theta_tau(lib, x, y, theta, tau):
    return xy_theta_t(lib, x, y, theta, t.xy_theta_tau(lib, x, y, theta, tau))
Beispiel #4
0
def xy_theta_tau(lib, x, y, theta, tau):
    return lib.nan_to_num(
        mag.xy_theta(lib, x, y, theta) / t.xy_theta_tau(lib, x, y, theta, tau), nan=0
    )
Beispiel #5
0
def xy_theta_tau(lib, beta, x, y, theta, tau):
    gam = (1 - beta**2)**-0.5
    bgam = beta * gam
    zee = z.xy_theta(lib, x, y, theta)
    tee = t.xy_theta_tau(lib, x, y, theta, tau)
    return (x, y, gam * zee + bgam * tee, tau)
Beispiel #6
0
def xy_theta_tau(lib, gamma, x, y, theta, tau):
    gam = lib.absolute(gamma)
    bgam = lib.copysign(lib.sqrt(gam**2 - 1), gamma)
    zee = z.xy_theta(lib, x, y, theta)
    tee = t.xy_theta_tau(lib, x, y, theta, tau)
    return (x, y, gam * zee + bgam * tee, tau)
Beispiel #7
0
def xy_theta_tau(lib, x, y, theta, tau):
    return lib.nan_to_num(t.xy_theta_tau(lib, x, y, theta, tau) / tau,
                          nan=lib.inf)
Beispiel #8
0
def xy_theta_tau(lib, x, y, theta, tau):
    return xy_z_t(lib, x, y, z.xy_theta(lib, x, y, theta),
                  t.xy_theta_tau(lib, x, y, theta, tau))