Quickstart

Get running in minutes with working snippets for TypeScript and Python.

TypeScript

npm install ./measey-cpt-physics-1.0.0.tgz

import { constants, topology, particles, nuclear } from "@measey/cpt-physics";

// Particle masses from T(2,3) torus knot topology
console.log(particles.proton_mass_MeV());      // 938.254
console.log(particles.w_boson_mass_MeV());      // 80391
console.log(particles.weak_mixing_angle());     // 0.23077 (= 3/13)

// Nuclear binding energy
const iso = nuclear.get_isotope(26, 56);        // Iron-56
console.log(iso.binding_energy_MeV);            // ~492.9
console.log(iso.binding_energy_per_nucleon_MeV); // ~8.8

// S3 Clifford torus topology
console.log(topology.torusKnotLength(3, 2));    // knot arc-length
console.log(constants.c);                       // speed of light

Python

pip install cpt_physics-1.0.0-py3-none-any.whl

from cpt_physics import cpt

# Particle masses from T(2,3) torus knot topology
print(cpt.particles.proton_mass_MeV())          # 938.254
print(cpt.particles.w_boson_mass_MeV())          # 80391
print(cpt.particles.weak_mixing_angle())         # 0.23077 (= 3/13)

# Nuclear binding energy
iso = cpt.nuclear.get_isotope(26, 56)            # Iron-56
print(iso.binding_energy_MeV)                    # ~492.9
print(iso.binding_energy_per_nucleon_MeV)        # ~8.8

# Gravitational constant from alpha^17
print(cpt.particles.gravitational_constant())    # 6.671e-11

What you can compute

Particle masses

Proton, neutron, muon, W boson, Z boson — all from torus knot topology.

Nuclear binding

Binding energies for all elements Z=1..118 via the V4 polyhedral shell engine.

Gravity

The gravitational constant G derived from alpha to the 17th power.

Weber electrodynamics

Velocity-dependent electrodynamic force, potential, and correction factor.

Full docs: cpt-physics.com/software