-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
🔥CriticalCriticalAffects-devPRs and issues that do not impact an existing Astropy releasePRs and issues that do not impact an existing Astropy releaseBugcoordinates
Milestone
Description
Minimal bug example:
>>> c = coord.ICRS(ra=[1,2]*u.degree, dec=[1,2]*u.degree,
... distance=[1,2]*u.pc,
... pm_ra_cosdec=[1,2]*u.mas/u.yr,
... pm_dec=[1,2]*u.mas/u.yr,
... radial_velocity=[1,2]*u.km/u.s)
>>> c
<ICRS Coordinate: (ra, dec, distance) in (deg, deg, pc)
[( 1., 1., 1.), ( 2., 2., 2.)]
(pm_ra_cosdec, pm_dec, radial_velocity) in (mas / yr, mas / yr, km / s)
[( 1., 1., 1.), ( 2., 2., 2.)]>
>>> c[0]
<ICRS Coordinate: (ra, dec, distance) in (deg, deg, pc)
( 1., 1., 1.)
(pm_ra, pm_dec, radial_velocity) in (mas / yr, mas / yr, km / s)
( 1.00015233, 1., 1.)>That is: it displays with a SphericalDifferential instead?!
cc @eteq
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🔥CriticalCriticalAffects-devPRs and issues that do not impact an existing Astropy releasePRs and issues that do not impact an existing Astropy releaseBugcoordinates