Author Topic: Identifying Sidereal Zodiac  (Read 435 times)

0 Members and 1 Guest are viewing this topic.

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 692
    • View Profile
Identifying Sidereal Zodiac
« on: June 26, 2022, 10:14:26 AM »
Hi there - is there a way to identify which ayanamsa is being used? There is ayaname(), which identifies the name of the specific variation (Lahiri, Fagan/Bradley etc) to use in a string, but not the number in the list.

Thanks. Ed

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 735
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #1 on: June 26, 2022, 10:25:29 AM »
command(FUNCTION, 11, h, 0)
It was missing from the help, it returns sidereal setting for horoscope number h.
Greetings from Groningen Netherlands <)))><.`.><(((>

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 692
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #2 on: June 26, 2022, 10:53:43 AM »
Thanks Jean - much appreciated. Ed

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 692
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #3 on: July 04, 2022, 07:38:28 PM »
Hi Jean - another question! is there a function to return the value of the ayanamsa in degrees? Thanks. Ed

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 735
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #4 on: July 04, 2022, 07:54:01 PM »
No there isn't. I searched the SE code but couldn't find it, it should be in there but where.. Maybe there's a table online somewhere?
Greetings from Groningen Netherlands <)))><.`.><(((>

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 735
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #5 on: July 04, 2022, 08:51:25 PM »
maybe you could make a table with a small script calculating all ayanamsha's?
Greetings from Groningen Netherlands <)))><.`.><(((>

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 692
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #6 on: July 05, 2022, 07:05:15 PM »
Hi Jean - is there a command or function for using calcplanet() in tropical mode if the horoscope is sidereal. I think what I will need to do is calculate the tropical position of the sun, and then subtract the sidereal position of the sun. The difference is the ayanamsa.

Thanks. Ed

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 692
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #7 on: July 05, 2022, 07:17:49 PM »
Done!

You just need to calculate a new chart with calculatesid(), but make the final variable trop = 0.

char trop = 0;

calculatesid(1, julianDay, geoLong, geoLat, -2, trop);

real tropPlanets[PLANETS];

getplanets(1, tropPlanets);

Subtracting the sidereal position of the Sun from the tropical position given by this calculation gives the ayanamsa.

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 735
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #8 on: July 06, 2022, 08:11:04 AM »
Great you found it Ed.
Greetings from Groningen Netherlands <)))><.`.><(((>

ABer

  • Administrator
  • Hero Member
  • *****
  • Posts: 692
    • View Profile
Re: Identifying Sidereal Zodiac
« Reply #9 on: July 08, 2022, 06:53:56 AM »
Thanks Jean - this just demonstrates how flexible Astrobasic can be. Amazing! Ed