def test_ecliptic_heliobary():
 icrs = ICRS((1 * u.deg), (2 * u.deg), distance=(1.5 * R_sun))
 bary = icrs.transform_to(BarycentricTrueEcliptic)
 helio = icrs.transform_to(HeliocentricTrueEcliptic)
 assert (np.abs((bary.distance - helio.distance)) > (1 * u.km))
 helio_in_bary_frame = bary.realize_frame(helio.cartesian)
 assert (bary.separation(helio_in_bary_frame) > (1 * u.arcmin))

def test_ecliptic_heliobary ( ) : icrs = ICRS ( ( 1 * u . deg ) , ( 2 * u . deg ) , distance = ( 1.5 * R_sun ) ) bary = icrs . transform_to ( BarycentricTrueEcliptic ) helio = icrs . transform_to ( HeliocentricTrueEcliptic ) assert ( np . abs ( ( bary . distance - helio . distance ) ) > ( 1 * u . km ) ) helio_in_bary_frame = bary . realize_frame ( helio . cartesian ) assert ( bary . separation ( helio_in_bary_frame ) > ( 1 * u . arcmin ) )
check that the ecliptic transformations for heliocentric and barycentric at least more or less make sense .