def rhophi_z_tau(lib, gamma, rho, phi, z, tau): gam = lib.absolute(gamma) bgam = lib.copysign(lib.sqrt(gam**2 - 1), gamma) exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z tee = t.rhophi_z_tau(lib, rho, phi, z, tau) return (exx, gam * why + bgam * tee, zee, tau)
def rhophi_z_tau(lib, beta, rho, phi, z, tau): gam = (1 - beta**2)**-0.5 bgam = beta * gam exx = x.rhophi(lib, rho, phi) why = y.rhophi(lib, rho, phi) zee = z tee = t.rhophi_z_tau(lib, rho, phi, z, tau) return (exx, gam * why + bgam * tee, zee, tau)
def rhophi_z_tau(lib, rho, phi, z, tau): return rhophi_z_t(lib, rho, phi, z, t.rhophi_z_tau(lib, rho, phi, z, tau))
def rhophi_z_tau(lib, rho, phi, z, tau): return lib.nan_to_num( mag.rhophi_z(lib, rho, phi, z) / t.rhophi_z_tau(lib, rho, phi, z, tau), nan=0 )
def rhophi_z_tau(lib, beta, rho, phi, z, tau): gam = (1 - beta**2)**-0.5 bgam = beta * gam zee = z tee = t.rhophi_z_tau(lib, rho, phi, z, tau) return (rho, phi, gam * zee + bgam * tee, tau)
def rhophi_z_tau(lib, gamma, rho, phi, z, tau): gam = lib.absolute(gamma) bgam = lib.copysign(lib.sqrt(gam**2 - 1), gamma) zee = z tee = t.rhophi_z_tau(lib, rho, phi, z, tau) return (rho, phi, gam * zee + bgam * tee, tau)
def rhophi_z_tau(lib, rho, phi, z, tau): return lib.nan_to_num(t.rhophi_z_tau(lib, rho, phi, z, tau) / tau, nan=lib.inf)