{ } Raw JSON

bundles / scipy latest / scipy / constants / _codata / precision

function

scipy.constants._codata:precision

source: /scipy/constants/_codata.py :2181

Signature

def   precision ( key : str )  →  float

Summary

Relative precision in physical_constants indexed by key

Parameters

key : Python string

Key in dictionary physical_constants

Returns

prec : float

Relative precision in physical_constants corresponding to key

Notes

Array API Standard Support

precision is not in-scope for support of Python Array API Standard compatible backends other than NumPy.

See dev-arrayapi for more information.

Examples

from scipy import constants
constants.precision('proton mass')

Aliases

  • scipy.constants.precision