Skip to content

Suggested improvements #1

@ljbade

Description

@ljbade

The locationcart() functions for Sun, planets and the Moon don't document their reference frame (e.g. equatorial vs ecliptic). So far I have worked out the planets return equatorial plane Cartesian coords.

In addition they all need to clearly state the origin of the coordinate system (e.g. heliocentric, geocentric or barycentric). So far I have worked out the SUN positions are geocentric, but the planets are heliocentric.

The Date struct is not very clear what julian() is, it should explicitly state it's the Julian Date in units of days.

The Coord struct could also do with some improvements, for example it isn't easy to get Cartesian coordinates in the ecliptic plane which I wanted in my project. It could also do with some functions to convert au coords to metres or kilometres,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions