ICRSCoordinates

class astropy.coordinates.builtin_systems.ICRSCoordinates(*args, **kwargs) [edit on github][source]

Bases: astropy.coordinates.coordsystems.SphericalCoordinatesBase

A coordinate in the ICRS.

If you’re looking for “J2000” coordinates, and aren’t sure if you want to use this or FK5Coordinates, you probably want to use ICRS. It’s more well-defined as a catalog coordinate and is an inertial system.

Parameters :

coordstr : str

A single string with the coordinates. Cannot be used with dec and ra nor x/y/z.

ra : Angle, float, int, str

This must be given with dec.

dec : Angle, float, int, str

This must be given with ra.

distance : Distance, optional

This may be given with dec and ra or coordstr and not x, y, or z. If not given, None (unit sphere) will be assumed.

x : number

The first cartesian coordinate. Must be given with y and z and not with ra or dec nor coordstr.

y : number

The second cartesian coordinate. Must be given with x and z and not with ra or dec nor coordstr.

z : number

The third cartesian coordinate. Must be given with x and y and not with ra or dec nor coordstr.

cartpoint : CartesianPoints

A cartesian point with the coordinates. Cannot be used with any other arguments.

unit :

The unit parameter’s interpretation depends on what other parameters are given:

  • If ra and dec or coordstr are given:

    unit must be a length-2 sequence specifying the units of ra and dec, respectively. They can be either UnitBase objects or strings that will be converted using Unit. They can also be None to attempt to automatically interpret the units (see Angle for details.) If unit is just None, this will be interpreted the same as (None, None).

  • If x, y, and z are given:

    unit must be a single unit with dimensions of length

obstime : Time or None

The time of observation for this coordinate. If None, it will be taken to be the same as the equinox.

Alternatively, a single argument that is any kind of spherical coordinate :

can be provided, and will be converted to ICRSCoordinates and used as this :

coordinate. :

Attributes Summary

equinox
obstime
lonangle
latangle

Attributes Documentation

equinox[source]
obstime[source]
lonangle[source]
latangle[source]

Page Contents