Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Asc or Mc for Whole Sign - House System Selection #124

Open
1OnesAndZeros0 opened this issue Jul 24, 2024 · 4 comments
Open

No Asc or Mc for Whole Sign - House System Selection #124

1OnesAndZeros0 opened this issue Jul 24, 2024 · 4 comments

Comments

@1OnesAndZeros0
Copy link

Thank you so much for implementing the house system selection! This is great!

However there's still the problem of showing the Asc and Mc as 00°00'00 when generating the SVG.

Using the John Lenon example, they should be Asc: 16°04' and Mc: 5°33' (rounded by the generator I used) for the Whole Sign system.

Unless there's something I'm doing wrong?

          Closing, here the example of the implementation:

https://www.kerykeion.net/docs/examples/houses-systems

Originally posted by @g-battaglia in #105 (comment)

@g-battaglia
Copy link
Owner

Hi, can you share a code snippet of the issue?

@1OnesAndZeros0
Copy link
Author

Here's a sample of a script I'm using:
`from kerykeion import AstrologicalSubject, KerykeionChartSVG

def get_user_input():
name = input("Enter the person's name: ")
year = int(input("Enter birth year: "))
month = int(input("Enter birth month (1-12): "))
day = int(input("Enter birth day: "))
hour = int(input("Enter birth hour (0-23): "))
minute = int(input("Enter birth minute (0-59): "))
city = input("Enter birth city: ")
nation = input("Enter birth country code (e.g., US, CA, UK): ")
return name, year, month, day, hour, minute, city, nation

def generate_birthchart():
print("Please enter the birth information:")
name, year, month, day, hour, minute, city, nation = get_user_input()

# Create an AstrologicalSubject instance with user input
person = AstrologicalSubject(
    name=name,
    year=year,
    month=month,
    day=day,
    hour=hour,
    minute=minute,
    city=city,
    nation=nation,
    houses_system_identifier="W"  # Whole House system
)

# Create a KerykeionChartSVG instance
person_chart = KerykeionChartSVG(person)

# Generate the SVG
person_chart.makeSVG()

print("\nSVG generated successfully!")
print(f"The Whole House system chart has been saved as '{name}_Chart.svg' in your home directory.")

if name == "main":
generate_birthchart()`

I've tried hard coding as well. 
You can see in the attached image.

WholeHouseChartNoASCorMC_Kanye

@g-battaglia
Copy link
Owner

Hi @1OnesAndZeros0, I'm not much of an expert of the Whole Sign system. Can you provide me more details about how it should work?
I checked and it looks there are not issues with the code, the data is correctly generated by the underling implementation of the swiss ephemeris.

@fkostadinov
Copy link
Contributor

@g-battaglia In the whole-sign house system (preferred in India), the sign which the ascendant falls into is simply considered house 1. For example, if the ascendant is in 20° gemini then house 1 spans from 0° gemini to 30° gemini, HOWEVER the AC/DC axis itself is still defined as being in 20° gemini / 20° sagittarius. Even in an extreme situation where the AC falls into e.g. 29°59' of gemini, house 1 is still defined as 0° gemini to 30° gemini. But only a few minutes later all the houses "jump" from gemini to cancer. (That's why birth time correction is very important in this situation.)

Once house 1 is defined taking this approach then all the remaining houses are simply counted according to the signs, so house 2 is 0° cancer to 30° cancer, house 3 from 0° leo to 30° leo, and so on. Cusps of house 10/4 are NOT aligned with the MC/IC! The effect is that the MC may end up anywhere in the houses 9, 10 or 11 (and the IC accordingly anywhere between h3, 4 or 5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants