xraydb 0.4.0

X-ray reference data for the elements: absorption edges, emission lines, and Elam/Chantler cross-sections
Documentation
//! Physical constants (CODATA 2018), in the units used throughout this crate.

/// Avogadro's number (mol^-1)
pub const AVOGADRO: f64 = 6.02214076e23;

/// Planck's constant times speed of light (eV·nm)
pub const PLANCK_HC: f64 = 1239.84193;

/// Planck's constant times speed of light (eV·Å)
pub const PLANCK_HC_ANGSTROM: f64 = 12398.4193;

/// Classical electron radius (cm)
pub const R_ELECTRON_CM: f64 = 2.8179403262e-13;

/// Classical electron radius (Å)
pub const R_ELECTRON_ANG: f64 = 2.8179403262e-5;

/// Elementary charge (C)
pub const ELEMENTARY_CHARGE: f64 = 1.602176634e-19;