@@ -20,17 +20,17 @@ import unxt as u
2020
2121# Transform a point from Cartesian to spherical (with Quantities)
2222p_cart = {" x" : u.Q(1 , " km" ), " y" : u.Q(2 , " km" ), " z" : u.Q(3 , " km" )}
23- p_sph = cxt.point_transform (cxc.sph3d, cxc.cart3d, p_cart)
23+ p_sph = cxt.point_transition (cxc.sph3d, cxc.cart3d, p_cart)
2424
2525# Transform a point (with bare arrays - no units)
2626p_cart_arr = {" x" : 1.0 , " y" : 2.0 , " z" : 3.0 }
27- p_sph_arr = cxt.point_transform (
27+ p_sph_arr = cxt.point_transition (
2828 cxc.sph3d, cxc.cart3d, p_cart_arr, usys = u.unitsystems.galactic
2929)
3030
3131# Transform a velocity vector (requires base point)
3232v_cart = {" x" : u.Q(10 , " km/s" ), " y" : u.Q(20 , " km/s" ), " z" : u.Q(30 , " km/s" )}
33- v_sph = cxt.physical_tangent_transform (cxc.sph3d, cxc.cart3d, v_cart, at = p_cart)
33+ v_sph = cxt.phys_tangent_basis_change (cxc.sph3d, cxc.cart3d, v_cart, at = p_cart)
3434```
3535
3636## Core Functions
@@ -42,7 +42,7 @@ Transform point coordinates from one chart to another:
4242<!-- skip: next -->
4343
4444``` python
45- p_new = cxt.point_transform (to_chart, from_chart, p)
45+ p_new = cxt.point_transition (to_chart, from_chart, p)
4646```
4747
4848The transformation is a coordinate-wise map that preserves the geometric
@@ -62,12 +62,12 @@ import unxt as u
6262
6363# With Quantities (explicit units)
6464p_qty = {" r" : u.Q(10 , " m" )}
65- p_cart = cxt.point_transform (cxc.cart1d, cxc.radial1d, p_qty)
65+ p_cart = cxt.point_transition (cxc.cart1d, cxc.radial1d, p_qty)
6666# Result: {'x': Quantity(Array(10, dtype=int64, ...), unit='m')}
6767
6868# With bare values (no units)
6969p_arr = {" r" : 5 }
70- p_cart = cxt.point_transform (cxc.cart1d, cxc.radial1d, p_arr, usys = u.unitsystems.si)
70+ p_cart = cxt.point_transition (cxc.cart1d, cxc.radial1d, p_arr, usys = u.unitsystems.si)
7171# Result: {'x': 5}
7272```
7373
@@ -78,7 +78,7 @@ Transform tangent vectors (velocities, accelerations) between charts:
7878<!-- skip: next -->
7979
8080``` python
81- v_new = cxt.physical_tangent_transform (to_chart, from_chart, v, at = p)
81+ v_new = cxt.phys_tangent_basis_change (to_chart, from_chart, v, at = p)
8282```
8383
8484This uses the Jacobian of the coordinate transformation to correctly transform
0 commit comments