Skip to main content

Pack of physical constants.

Project description

This module provides physical constants in uniform format.

[C], electron charge.

q_e = 1.60217662e-19

[J * s], Planks constant.

h = 6.62e-34

[m / s], speed of light.

c = 299792458

[kg], electron mass.

m_e = 9.10938356e-31

[m], electron radius

r_o = 2.8179403267e-15

[K], room temperature

t_room = 273 + 23

[J / K], Boltzmann constant

k_b = 1.38064852e-23

Coverts pressure from [Torr] to [Pa]

def torr_to_pa(torr): return torr * 7.5006 * 1e-3

floating point infinity

inf = float('inf')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phys_const-0.0.1.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

phys_const-0.0.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page