deBroglie_wavelength¶
-
plasmapy.formulary.quantum.
deBroglie_wavelength
(V: Unit("m / s"), particle) -> Unit("m")¶ Calculates the de Broglie wavelength.
Aliases:
lambdaDB_
Parameters: Returns: lambda_dB – The de Broglie wavelength in units of meters.
Return type: Raises: TypeError
– The velocity is not aQuantity
and cannot be converted into a ~astropy.units.Quantity.UnitConversionError
– If the velocity is not in appropriate units.RelativityError
– If the magnitude ofV
is faster than the speed of light.
Warns: ~astropy.units.UnitsWarning – If units are not provided, SI units are assumed
Notes
The de Broglie wavelength is given by
\[\lambda_{dB} = \frac{h}{p} = \frac{h}{\gamma m V}\]where \(h\) is the Planck constant, \(p\) is the relativistic momentum of the particle, \(gamma\) is the Lorentz factor, \(m\) is the particle’s mass, and \(V\) is the particle’s velocity.
Examples
>>> from astropy import units as u >>> velocity = 1.4e7 * u.m / u.s >>> deBroglie_wavelength(velocity, 'e') <Quantity 5.18997095e-11 m> >>> deBroglie_wavelength(V = 0 * u.m / u.s, particle = 'D+') <Quantity inf m>