bundles / scipy latest / scipy / constants / _codata / find
function
scipy.constants._codata:find
Signature
def find ( sub : str | None = None , disp : bool = False ) → Any Summary
Return list of physical_constant keys containing a given string.
Parameters
sub: strSub-string to search keys for. By default, return all keys.
disp: boolIf True, print the keys that are found and return None. Otherwise, return the list of keys without printing anything.
Returns
keys: list or NoneIf
dispis False, the list of keys is returned. Otherwise, None is returned.
Notes
Array API Standard Support
find 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.constants import find, physical_constants
✓find('boltzmann')
✗physical_constants['Boltzmann constant in Hz/K']
✗find('radius') physical_constants['classical electron radius']✗
Aliases
-
scipy.constants.find