| Home | Trees | Index | Help |
|
|---|
| Package coords :: Module position :: Class Position |
|
| Method Summary | |
|---|---|
| Position |
|
| string |
|
angsep.AngSep
|
Computes the angular separation (great circle distance) between two Positions. |
| (float,float) |
Return the position in Mean FK4 B1950 coordinates |
| (float,float) |
Return position in decimal degrees |
| string |
Return system & equinox |
| (float,float) |
Return the position in IAU 1980 Ecliptic coordinates |
| (float,float) |
Return the position in IAU 1958 Galactic coordinates. |
| string |
Return position in hms dms |
| (float, float) |
Return the position in Mean FK5 J2000 coordinates |
| (float,float) |
Return position in radians |
| (float,float) |
This method allows the expert user to call the blackbox routine of the TPM library directly, for access to more state transitions than are supported in this interface. |
| Boolean |
returns true if "other" is within "epsilon" of "self" |
| None |
Convert from input string into internal representation (decimal degrees) by invoking the appropriate type of Coord. |
Define the state for TPM based on equinox and system | |
| Instance Variable Summary | |
|---|---|
Coord |
coord: a "smart" representation of the position |
equinox: at which the coordinates were specified | |
input: the input used to create the Position | |
| string | system: celestial, galactic, ecliptic |
| string | units: in which the coords were specified (degrees, radians) |
| (float,float) | _internal: the internal representation of the position (decimal degrees) |
| integer | _tpmstate: the TPM state of the position |
| Method Details |
|---|
__init__(self,
input,
equinox='J2000',
system='celestial',
units='degrees')
|
__repr__(self)
|
angsep(self, other)Computes the angular separation (great circle distance) between two Positions.
|
b1950(self, timetag=None)Return the position in Mean FK4 B1950 coordinates
|
dd(self)
|
details(self)
|
ecliptic(self, timetag=None)Return the position in IAU 1980 Ecliptic coordinates
|
galactic(self, timetag=None)Return the position in IAU 1958 Galactic coordinates.
|
hmsdms(self)
|
j2000(self, timetag=None)Return the position in Mean FK5 J2000 coordinates
|
rad(self)
|
tpmstate(self, endstate, epoch=None, equinox=None, timetag=None)This method allows the expert user to call the blackbox routine of the TPM library directly, for access to more state transitions than are supported in this interface. Little documentation is provided here because it is assumed you know what you are doing if you need this routine.
|
within(self, other, epsilon, units='arcsec')returns true if "other" is within "epsilon" of "self"
|
_parsecoords(self)Convert from input string into internal representation (decimal degrees) by invoking the appropriate type of Coord. Default float values will be interpreted as decimal degrees; radians will have to be specified as such. Legitimate units: hmsdms, decimal degrees, radians
|
_set_tpmstate(self)Define the state for TPM based on equinox and system |
| Instance Variable Details |
|---|
coorda "smart" representation of the position
|
equinoxat which the coordinates were specified |
inputthe input used to create the Position |
systemcelestial, galactic, ecliptic
|
unitsin which the coords were specified (degrees, radians)
|
_internalthe internal representation of the position (decimal degrees)
|
_tpmstatethe TPM state of the position
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Feb 12 15:01:04 2007 | http://epydoc.sf.net |