Comments (4)
There is no aspect detected between the Sun and Mars for that date. The key error just means there is no entry for Mars in the Sun's aspect list. A safer way to output aspects:
from immanuel import charts
from immanuel.const import chart
native = charts.Subject(
date_time='1992-01-14 12:00:06',
latitude='57N00',
longitude='00W00',
)
natal = charts.Natal(native)
# Output aspects to Sun only
for aspect in natal.aspects[chart.SUN].values():
print(aspect)
# ...or output all aspects
for index, aspects in natal.aspects.items():
print(f'Aspects for {natal.objects[index].name}:')
for aspect in aspects.values():
print(f' - {aspect}')
from immanuel-python.
Thank you very much for your work. The following piece of code is not working. Could you please take a look at it for me? Thank you very much!
from immanuel import charts
from immanuel.const import chart
def SearchKiteJupiter():
# Search for astrological kite configurations with Jupiter as the vertex.
native = charts.Subject(
date_time='2022-04-14 13:00:00',
latitude='57N00',
longitude='00W00',
)
natal = charts.Natal(native)
pointseq = []
# seq-->1.jupiter--SEXTILE--2.unknownpoint--TRINE--3.point(and oppo-->1.jupiter)--TRINE--4.unknownpoint
for aspect in natal.aspects[chart.JUPITER].values():
pointseq.append(aspect._active_name) if aspect.type == "Sextile" else None
pointseq2 = aspect._active_name if aspect.type == "Opposition" else None
for aspect2 in natal.aspects[chart.[pointseq[0]]].values():
pointseq3 = aspect2._active_name if aspect2.type == "Trine" and aspect2._active_name == pointseq2 else None
for aspect3 in natal.aspects[chart.[pointseq3]].values():
pointseq.append(aspect3._active_name) if aspect3.type == "Trine" else None
close = natal.aspects[pointseq[0]][pointseq[1]]
return "kite_j" if close.type == "Sextile" else None
from immanuel-python.
I have purposely avoided including aspect patterns in Immanuel simply because of the complexity involved in calculating them accurately. This is due to the chart objects having different orbs and aspect rules, so what initially looks like a kite might not really be a kite.
Taking Jupiter as an example: Jupiter might oppose a certain object and trine two others (one on each side) which looks like a kite, but the opposing object is not always guaranteed to sextile those same two others. Differing orbs and rules might mean it aspects one and not the other, or neither of them. Often there are multiple objects opposing and trining/sextiling, and in that case every combination will need to be checked. The complexity grows exponentially with every added object.
It is of course possible, but not something I am ready to tackle just yet!
from immanuel-python.
It's quite difficult for a beginner like me. Thank you for your advice and good luck!
from immanuel-python.
Related Issues (13)
- Progressed Charts Question HOT 8
- True Lilith: Wierd calculation HOT 2
- Aspect rules for specific objects HOT 3
- Points not working properly HOT 1
- Regarding the issue of calculating differences in house cusps HOT 3
- how to include dignities and scores in natal.objects HOT 2
- Translations HOT 31
- Find Function - Angles and Houses HOT 3
- ηΈδ½ HOT 6
- swisseph.Error: swisseph.calc_ut: SwissEph file 'seas_18.se1' not found in PATH '.:/users/ephe2/:/users/ephe/' HOT 1
- have below picture data HOT 1
- Aspects: Start and End HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immanuel-python.