This PR turns longitude_semimajor_axis (renamed to semimajor_axis_longitude) into an optional attribute that is used to instantiate triaxial ellipsoids.
Previously, this parameter was found as an optional argument to the geocentric radius function. However, this parameter is an intrinsic property of the ellipsoid, and will be necessary for all routines that make use of longitude coordinates. As this is now declared as a class attribute, I have thus remove this optional parameter from geocentric radius.
The test_geocentric_radius_semimajor_axis_longitude was somewhat modified: I declared a new ellipsoid triaxialellipsoid_90 that set semimajor_axis_longitude to 90.
As soon as this PR is merged, I will add the centrifugal_potential method (which requires the updated geocentric_radius function).
Note that at some point, we may want to allow for ellipsoids that are not rotating about the z axis, but this is probably far off into the future.
This PR turns
longitude_semimajor_axis
(renamed tosemimajor_axis_longitude
) into an optional attribute that is used to instantiate triaxial ellipsoids.Previously, this parameter was found as an optional argument to the
geocentric radius
function. However, this parameter is an intrinsic property of the ellipsoid, and will be necessary for all routines that make use of longitude coordinates. As this is now declared as a class attribute, I have thus remove this optional parameter fromgeocentric radius
.The
test_geocentric_radius_semimajor_axis_longitude
was somewhat modified: I declared a new ellipsoidtriaxialellipsoid_90
that setsemimajor_axis_longitude
to 90.As soon as this PR is merged, I will add the
centrifugal_potential
method (which requires the updatedgeocentric_radius
function).Note that at some point, we may want to allow for ellipsoids that are not rotating about the z axis, but this is probably far off into the future.
Relevant issues/PRs: