g-battaglia / kerykeion

Data driven Astrology 💫
Kerykeion is a python library for astrology. It can generate SVG charts and extract all data about a birthchart, a synastry chart and a transit chart.
https://kerykeion.net
GNU Affero General Public License v3.0
297 stars 103 forks source link

Whole Sign System #105

Closed 1OnesAndZeros0 closed 1 month ago

1OnesAndZeros0 commented 6 months ago

I don't see any documentation about changing house systems, but I was able to modify the astrological_subject.py to use "swisseph" with the "whole sign" option by adding b'W' as seen in the following line:

self.houses_degree_ut = swe.houses(self.julian_day, self.lat, self.lng, b'W')[0]

But now the ASC and MC are showing as 000000.

It's so very close to working, but can you provide any insight into how to get the appropriate ASC, MC, etc calculations? They were accurate before I made the change.

Thanks and amazing work by the way!

molnaredom commented 6 months ago

what type of housing system the application is currently using by default?

1OnesAndZeros0 commented 6 months ago

what type of housing system the application is currently using by default?

Thanks for replying! I'm still trying to get this working for my girlfriend. It will make her very happy!

It is by default using the Placidus house system.

g-battaglia commented 1 month ago

Closing, here the example of the implementation: https://www.kerykeion.net/docs/examples/houses-systems