NAME

HaspectedBy

Find out if there is a Hindu aspect between two planets.

USAGE

HAspectedBy np_aspected np_aspecting [-navamsa]

PARAMETERS

np_aspected : number of the planet receiving the hindu aspect.

np_aspecting : number of the planet sending the hindu aspect.

OPTIONS

-navamsa:

If given, Proastro will check if there is an aspect in the Navamsa horoscope instead of the Rasi horoscope (Rasi means "normal horoscope" with first house being As).

RETURN

1 to say yes, 0 to say no

Remark: Hindu aspects are from sign to sign, depending on the aspecting planet.

For example, Mars send an aspect to sign 3, 6, 7 from its sign (0 is its own sign)

EXAMPLE

foreach {i} {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14} {
    foreach {j} {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14} {
    # i is the aspected planet, j is the aspecting planet
    PutTxt -nonewline [HAspectedBy $i $j]
    }
    PutTxt ""
}

Output

000000100000000
000110100000100
000000100000000
010001000000000
010001000000000
000000000000000
101001000001010
000000000000000
101001000001010
000010000000000
000000100000000
000000100000000
010001000000000
000000100000000
101001000001010