Section3: Section 3: Find a planetary or asteroid name

Section3R Documentation

Section 3: Find a planetary or asteroid name

Description

Find a planetary or asteroid name.

Usage

swe_get_planet_name(ipl)

Arguments

ipl

Body/planet as integer (SE$SUN=0, SE$Moon=1, ... SE$PLUTO=9)

Details

swe_get_planet_name()

Convert object number into object name.

Value

swe_get_planet_name returns the object's name as string

See Also

Section 3 in http://www.astro.com/swisseph/swephprg.htm. Remember that array indices start in R at 1, while in C they start at 0!

Examples

data(SE)
swe_get_planet_name(SE$MOON)

swephR documentation built on May 31, 2023, 5:31 p.m.