Opened 6 months ago

Last modified 2 months ago

#31747 new enhancement

Euclidean 3-space: offer several flavours of spherical coordinates

Reported by: slelievre Owned by:
Priority: major Milestone: sage-9.5
Component: manifolds Keywords:
Cc: egourgoulhon, slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by egourgoulhon)

Spherical coordinates (r, theta, phi) involve one length coordinate r and two angle coordinates theta and phi, one representing longitude and varying in a length 2*pi interval, typically [0, 2*pi], the other representing latitude and varying in a length pi interval: either [0, pi] if the latitude is measured from one of the poles, or [-pi/2, pi/2] if the latitude is measured from the equator.

Sage's euclidean space has a spherical_coordinates method using pole-based latitude. Providing equator-based latitude would be a nice option.

Besides, the order of the angular coordinates could be customized.

Requested at

Change History (3)

comment:1 Changed 6 months ago by egourgoulhon

  • Description modified (diff)
  • Summary changed from Add spherical coordinates with equator-based latitude to Euclidean 3-space: offer several flavours of spherical coordinates

comment:2 Changed 6 months ago by gh-mjungmath

Possibly related: #30824

comment:3 Changed 2 months ago by mkoeppe

  • Milestone changed from sage-9.4 to sage-9.5
Note: See TracTickets for help on using tickets.