MulensModel.coordinates module¶
-
class
MulensModel.coordinates.Coordinates(*args, **kwargs)¶ Bases:
astropy.coordinates.sky_coordinate.SkyCoordA class for the coordinates (RA, Dec) of an event. Inherits from astropy.SkyCoord.
May be set as a str, pair of str, or SkyCoord object, e.g.
from astropy.coordinates import SkyCoord from astropy import units as u Coordinates('18:00:00 -30:00:00') Coordinates('18h00m00s', '-30d00m00s') Coordinates(SkyCoord('18:00:00 -30:00:00', unit=(u.hourangle, u.deg))) Coordinates(SkyCoord(270.000, -30.000, unit=u.deg))
If the unit keyword is not specified, defaults to unit=(u.hourangle, u.deg) where u is defined by “import astropy.units as u”.
-
galactic_l¶ astropy.coordinates.angles.Longitude
Galactic longitude. Note that for connivance, the values l > 180 degrees are represented as 360-l.
-
galactic_b¶ astropy.coordinates.angles.Latitude
Galactic latitude calculated from (RA, Dec)
-
ecliptic_lon¶ astropy.coordinates.angles.Longitude
ecliptic longitude calculated from (RA, Dec)
-
ecliptic_lat¶ astropy.coordinates.angles.Latitude
ecliptic latitude calculated from (RA, Dec)
-
north_projected¶ np.array
North projected on the plane of the sky.
-
east_projected¶ np.array
East projected on the plane of the sky.
-