| name | local-coordinates |
| description | Entry point for the local_coordinates JAX library for differential geometry computations, including Riemannian metrics, connections, curvature, geodesics, pullback metrics, Riemann normal coordinates, and second-order Jet differentiation. The library is pip-installable from https://github.com/EddieCunningham/local_coordinates. Use when the user asks about the library as a whole, needs an orientation, or is unsure which of the related skills applies to their task. |
local_coordinates library
Use this skill as the hub for work in the local_coordinates JAX library. Route to the more specific skill once the task is clear.
Installation and source
The library is pip-installable directly from GitHub.
pip install git+https://github.com/EddieCunningham/local_coordinates
The canonical source of truth for usage is the GitHub repo at https://github.com/EddieCunningham/local_coordinates. When examples or up-to-date APIs are needed, fetch from there rather than assuming a local checkout.
Related skills
| Skill | Use case |
|---|
create-riemannian-metric | Constructing RiemannianMetric objects from metric component functions |
compute-curvature | Levi-Civita connection, Christoffel symbols, Riemann and Ricci tensors, scalar curvature |
pullback-metric | Pullback of a metric under a smooth map or coordinate change |
riemann-normal-coordinates | Transforming geometric objects into RNC at a point |
compute-geodesics | Exponential and logarithmic maps, geodesic ODE integration |
jet-differentiation | Second-order Jets and the @jet_decorator pattern |
Primary documentation
These are the canonical references for usage examples. Prefer them over the per-skill references when looking for complete end-to-end patterns.
Test examples
The tests/ directory in the repo doubles as a usage example set.
For a brief pointer index, see references/REFERENCE.md. The script at scripts/sanity_check.py runs a minimal end-to-end computation on a position-dependent metric and is safe to run from any directory that has local_coordinates importable.