ortk95 / planetmapper

PlanetMapper: An open source Python package for visualising, navigating and mapping Solar System observations
https://planetmapper.readthedocs.io
MIT License
10 stars 1 forks source link

Add `terminator_lonlat` and `limb_lonlat` methods to get terminator and limb longitude/latitude coordinate arrays #380

Closed ortk95 closed 2 months ago

ortk95 commented 2 months ago

Added terminator_lonlat and limb_lonlat to generate arrays of longitude and latitude coordinates for the terminator and limb respectively. These are equivalents to the already-existing terminator_radec and limb_radec methods that generate RA/Dec coordinate arrays. The only difference is that the default value of only_visible is True for terminator_radec, but False for terminator_lonlat, as the lon/lat arrays are less directly linked to the observer's perspective.

These new methods are mainly useful when plotting the limb and terminator lines on mapped data.

Closes #376

Pull request checklist

See CONTRIBUTING.md for more details.

coveralls commented 2 months ago

Pull Request Test Coverage Report for Build 9713849711

Details


Totals Coverage Status
Change from base Build 9713261710: 0.001%
Covered Lines: 3116
Relevant Lines: 3128

💛 - Coveralls