Installation
Prerequisites
- Python >= 3.12
- CUDA-capable GPU (recommended for performance)
Install from GitHub
Development Install
Conda Environment (Recommended)
Verify GPU Support
Run the GeoLens Demo
The root-level demo loads a geometric lens, runs layout/spot/MTF/distortion analysis, and renders a chart with both ray tracing and PSF-map simulation:
Troubleshooting
torch.cuda.is_available() returns False:
Install PyTorch with CUDA support following pytorch.org.
Import errors after install: Make sure you're using Python >= 3.12:
Missing dependencies: The package installs all required dependencies automatically. If you encounter issues, try: