NAME

GetAspectPH

Find out if there is an Occidental aspect between a planet and a house.

USAGE

GetAspectPH np nh

PARAMETERS

np : number of the planet

nh : number of the second planet, from 1 to 12

OPTIONS

none

RETURN

If an aspect is found, will return a list having the following item
item0: the name of the aspect
item1: the value of the aspect in degrees
item2: the orb of the aspect in degrees
item3: the value of the angle between np and nh in degrees
item4: the quality of the aspect

If no aspect is found, return an empty list

Quality of aspect is a integer value with the following meaning:
2: Very Benefic
1: Benefic
0: Neutral
-1: Malefic
-2: Very Malefic
99: Unknown quality

Remarks:

EXAMPLE


# Open here the horoscope for Agatha Christie 
SetCurrentHoroscope

PutTxt "---Checking aspects on houses for [FirstName] [Name]---"

for { set p 0 } { $p < 18 } { incr p } {
 for { set h 1 } { $h < 13 } { incr h } {
  
  set list [GetAspectPH $p $h]
  
  if { [ llength $list] != 0 } {
     PutTxt "---Aspect found between [NameOfPlanet $p] and house $h"	
     PutTxt "Name: [lindex $list 0]" 
     PutTxt "Value: [lindex $list 1]"
     PutTxt "Orb: [lindex $list 2]"
     PutTxt "Diff between planet and house: [lindex $list 3]"
     PutTxt "Quality aspect: [lindex $list 4]"
   }
 }
}

PutTxt "------"

Output

---Aspect found between house 1 and Saturn
Name: Conjunction
Value: 0.0
Orb: 10.0
Diff between planet and house: 7.480042851213739
Quality aspect: 1
---Aspect found between house 1 and AS
Name: Conjunction
Value: 0.0
Orb: 10.0
Diff between planet and house: 0.0
Quality aspect: 1
---Aspect found between house 1 and Rahu
Name: Angle72
Value: 72.0
Orb: 2.0
Diff between planet and house: 73.00446101120836
Quality aspect: 99
...