PyPhysics

Sample Package


Keywords
python, image, converter
License
MIT
Install
pip install PyPhysics==1.0.2

Documentation

PyPhysics

A comprehensive library to tackle the issues of Physical constants and conversions required from time to time for scientific computations. Taking from gravity to gravitation constants to reaching the horizons of micro-level values it can handle issues for Bohr-radius, electronic charge and mass. It can also handle thermodynamic components like Boltzmann constants. Work is under progress to enhance the umbrella of physics based conversions.

All the constants' value has been taken reference from: http://web.mit.edu/birge/Public/formulas/phys-const.pdf

import physics.pyphysics as phy

print(phy.g)

print(phy.mu)

print(phy.plank)

print(pyphysics.impedance)

print(phy.charge)

print(phy.flux)

print(phy.me) #-> Gives the mass of electron

print(phy.mp) # -> Gives the mass of proton

print(phy.boltzman)

print(phy.rydberg)

print(phy.gravitation)

print(phy.bohr_radius)