-
Notifications
You must be signed in to change notification settings - Fork 8
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
相位 #5
Comments
Hi, are you able to rephrase in English? According to Google Translate you are looking to calculate a "phase" but I am unsure what kind of phase, or if this is a mistranslation. To find the moon phase you can simply try: print(natal.moon_phase) but I am not sure if this is what you're after in view of the progressed chart. I noticed you passed the natal date to the progressed chart too - this should be a future date to calculate progressions for that date. |
OK you should be able to reproduce that data like this: from immanuel import charts
native = charts.Subject(
date_time='2024-04-12 10:07:06',
latitude='39N55',
longitude='116E28',
)
natal = charts.Natal(native)
print(natal.native, end='\n\n')
for object in natal.objects.values():
print(f'{object}, {object.movement}' if hasattr(object, 'movement') else object)
print()
for house in natal.houses.values():
print(house) That should give you this output:
Hope this helps! |
FYI the "Direct" etc. is now included by default as of v1.3.2, so if you upgrade you won't need Closing this issue as it appears to be solved - let me know if it is not. |
hey, @theriftlab ! I gotta an idea. For example: in my project, I'd love to have the info for "non-default state". For example: Planets are generally in direct motion. So, if a planet is in direct motion, I prefer to not have this info printed, but, if it's stationary or retrograde, I want this information to be shown. North and South Nodes are generally retrogrades, so I don't need to be remembered about it everytime, but I really want to know on those rare moments when they are direct. Of course, I have a couple of "if-clauses" and "f-prints" that can deal with it, but maybe you get inspired to allow users to set this. |
This is a good idea to prevent visual clutter with the textual output. I've pushed a change to make this the default, with a setting to toggle on/off. The next package release should have this included (which will likely be the Spanish translation unless any other major fixes/changes need to be released beforehand). |
您好,想要相位数据,需要怎么设置
native = charts.Subject(
date_time='2024-04-11 16:44',
latitude='39.55',
longitude='116.28',
)
settings.set({
'house_system': chart.CAMPANUS,
'mc_progression_method': calc.DAILY_HOUSES,
})
settings.aspect_rules[chart.ASC] = settings.default_aspect_rule
settings.objects.append(chart.CERES)
settings.aspects.append(calc.OPPOSITION)
settings.aspects.append(calc.SESQUISQUARE)
natal = charts.Natal(native)
progressed = charts.Progressed(native, '2024-04-11 16:44')
for object2 in progressed.objects.values():
print("===",object2)
The text was updated successfully, but these errors were encountered: