ephemeris icon indicating copy to clipboard operation
ephemeris copied to clipboard

Query on how to compute planetary angles

Open GoChartingAdmin opened this issue 5 years ago • 2 comments

Hi, Is there any utility function available in this package that can help me compute the Heliocentric and Geocentric angles of a given planet on a given date.

Actually I have a time series stock price data and would like to overlay the planetary angles on every date as part of the Astro Trading package

In case, it is not possible, any direction or guidance to a npm package that addresses my requirement would be most appreciated.

Below is a picture of a software that computes the angles of the bodies based on date. I am assuming your package is my answer to create the below view. Now, I simply need a utility function that I can apply on every date of a timeseries dataset and compute the angles as given in the picture below

image

GoChartingAdmin avatar Feb 02 '20 20:02 GoChartingAdmin

Take a look on hello.js and and hello.html in the root of the project. (try node hello.js)

The function $processor.calc() returns an object with information about the body passed as parameters. I think apparentLongitude is what you want.

bittnkr avatar Feb 03 '20 10:02 bittnkr

Thank you

GoChartingAdmin avatar Feb 03 '20 20:02 GoChartingAdmin