NAME

FixSubOfPlanet Get the number of the sub sign for a planet, in fixed (Hindu) zodiac.

USAGE

FixSubOfPlanet nSub nPlanet

PARAMETERS

nSub: number of the subdivision. (Always in fixed zodiac)

0 : sign
1 : Half sign (Hora)
2: 1/3 sign
3: 1/7 sign
4: 1/9 (Navamsa)
5: 1/12 sign
6: 1/30 sign

nplanet: number of the planet. Valid values are from 0 to 14.

OPTIONS

None

RETURN

Return the number of the sign holding the subdivision.

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 } {
        PutTxt [ FixSubOfPlanet $j $i ] -nonewline
        PutTxt " " -nonewline
    }
PutTxt ""
}

Ouput

4 3 0 9 6 1 2
0 4 0 2 2 3 10
4 4 8 6 3 8 8
6 4 6 6 6 6 0
6 3 10 10 11 0 8
2 4 2 2 6 2 0
10 4 2 1 10 3 8
2 3 10 7 0 11 2
10 3 6 4 2 9 1
1 3 1 9 11 4 2
7 3 7 3 5 10 2
4 3 8 7 4 10 8
6 3 10 10 11 1 2
4 3 8 7 5 10 8
10 4 10 0 8 1 10