MCPcopy Index your code
hub / github.com/TracePy-Org/tracepy

github.com/TracePy-Org/tracepy @v0.2.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.1 ↗ · + Follow
55 symbols 213 edges 22 files 48 documented · 87%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

TracePy

Documentation Status PyPI version

Ray Tracing and Optical Design in Python

Overview

TracePy is a sequential ray tracing package written in Python 3 for designing optical systems in the geometric optics regime. It features lens optimization from Scipy.

Installation

To use TracePy you can either clone the repository and use the command "pip install ." in the download directory, or you can download TracePy directly through pypi with the command below.

pip install tracepy

Examples

To get started using the software, you can look at the examples provided in the 'examples' folder. The UI for TracePy is most similar to BEAM4, and TracePy's ray tracing algorithm was recreated from Spencer and Murty's iconic paper, "General Ray-Tracing Procedure".

Core symbols most depended-on inside this repo

to_ray_list
called by 8
tracepy/ray.py
conics
called by 7
tracepy/geometry.py
_gen_object_points
called by 5
tracepy/optplot.py
_plot_rays
called by 2
tracepy/geoplot.py
_plot_surfaces
called by 2
tracepy/geoplot.py
transform_points
called by 2
tracepy/transforms.py
lab_frame_points
called by 2
tracepy/transforms.py
gen_rot
called by 2
tracepy/utils.py

Shape

Function 33
Method 16
Class 6

Languages

Python100%

Modules by API surface

tracepy/ray.py9 symbols
tracepy/geometry.py9 symbols
tracepy/geoplot.py7 symbols
tracepy/optplot.py6 symbols
tracepy/transforms.py4 symbols
tracepy/exceptions.py4 symbols
tracepy/optimize.py3 symbols
tests/test_geometry.py3 symbols
tracepy/index.py2 symbols
tracepy/utils.py1 symbols
tracepy/raygroup.py1 symbols
tracepy/iotables.py1 symbols

For agents

$ claude mcp add tracepy \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact