Interface NISTConstantsProvider

All Known Implementing Classes:
NISTConstantsProvider.CODATA2018

public interface NISTConstantsProvider
Provider interface for NIST physical constants.

Intended to allow fetching the latest CODATA values from NIST archives.

*

References:
Mohr, P. J., et al. (2016). CODATA Recommended Values of the Fundamental Physical Constants. Reviews of Modern Physics.
Data Source: NIST Reference on Constants, Units, and Uncertainty (https://physics.nist.gov/cuu/Constants/Table/allascii.txt).

Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Default implementation that attempts to query NIST, falls back to local knowledge.
  • Method Summary

    Modifier and Type
    Method
    Description
    Fetches the latest constants.
  • Method Details

    • fetchConstants

      Map<String,Real> fetchConstants() throws Exception
      Fetches the latest constants.
      Returns:
      map of constant name to value (Real)
      Throws:
      Exception - if unreachable