From PyPI
Install the released package
python -m pip install nomogeo
This is the fastest way to use the public kernel.
The released package is small and straightforward to install. It requires Python 3.11 or newer and depends only on NumPy and SciPy.
python -m pip install nomogeo
This is the fastest way to use the public kernel.
git clone https://github.com/jrdunkley/observer-geometry.git
cd observer-geometry
python -m pip install -e .
Use this if you want the tests, examples, and documentation sources as well.
import numpy as np
from nomogeo import visible_precision
H = np.array([[3.0, 1.0], [1.0, 2.0]])
C = np.array([[1.0, 0.0]])
phi = visible_precision(H, C)
print(phi)
python -m pytest -qpython tools/validation_sweep.pypython -m examples.entanglement_hidden_load.run_allpython tools/stack_soak.py