#10368: spherical coordinates should allow specifying an 'elevation' angle as an
alternative to the 'inclination' angle
------------------------------+---------------------------------------------
Reporter: jason | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-4.6.1
Component: graphics | Keywords: beginner
Author: Benjamin Jones | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------------+---------------------------------------------
Changes (by newvalueoldvalue):
* status: new => needs_review
* author: => Benjamin Jones
Comment:
** n.b. this is my first contribution of new code to Sage **
I've implemented the spherical coordinate system which uses elevation
instead of inclination. This is a new class called ``SphericalElevation``.
Initially, I wanted to simply change the ``Spherical`` class so that it
would accept 'elevation' as a variable instead of 'inclination'. This
didn't seem to be possible in the existing framework (as a base class of
``_Coordinates``) since the constructor checks the variable names against
the arguments specified in the transform method, so a separate transform
method is needed in any case (?).
I've included similar examples to those under ``Spherical`` along with
some new ones which illustrate the difference between ``Sphereical
Elevation`` and ``Spherical``. I made sure that the doctests pass and that
all the examples included work as expected.
Comments & suggestions are appreciated.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10368#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.