:py:mod:`aces.obsplan.sphere_plotting` ====================================== .. py:module:: aces.obsplan.sphere_plotting .. autoapi-nested-parse:: Utiliies to create matplotlib figures of positions on the sky sphere. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: aces.obsplan.sphere_plotting.SphereView Functions ~~~~~~~~~ .. autoapisummary:: aces.obsplan.sphere_plotting.prefix aces.obsplan.sphere_plotting.rd_xyz aces.obsplan.sphere_plotting.xyz_rd aces.obsplan.sphere_plotting.mollweide_theta aces.obsplan.sphere_plotting.get_gc_intersect .. py:function:: prefix(word, pfx) .. py:function:: rd_xyz(ra, dec) TBD .. py:function:: xyz_rd(v) .. py:function:: mollweide_theta(z) .. py:class:: SphereView(projection='CAR', axis=None) Bases: :py:obj:`object` .. py:attribute:: npole .. py:attribute:: spole .. py:attribute:: origin .. py:method:: set_projection(projection) .. py:method:: set_subpoint(sub) .. py:method:: set_style(style) .. py:method:: draw_point(p1, **style) .. py:method:: draw_gc(p1, p2, **style) .. py:method:: draw_gc_c(p1, **style) .. py:method:: draw_sc(p, radius, ends=None, **style) .. py:method:: join_gc(p_array, close=False, **style) .. py:method:: join_gc_fill(p_array, **style) .. py:method:: fill(pnts, **style) .. py:method:: draw_text(p, text, **style) .. py:method:: draw_outline() .. py:method:: draw_coord_grid(dlon=15.0, dlat=10.0) .. py:method:: draw_label() .. py:method:: _set_axes() .. py:method:: _project(vectors, rotate=True) .. py:method:: _draw_y(vectors, rotate=True, **style) .. py:method:: _draw(vectors, rotate=True, **style) .. py:method:: _text(vectors, text, rotate=True, **style) .. py:method:: _make_matrix() .. py:method:: _rotate_vectors(m, vectors) :staticmethod: .. py:method:: _get_gc_vec(p, q) :staticmethod: .. py:method:: _get_gc_vec_c(p) :staticmethod: .. py:method:: get_projection(projection) :classmethod: .. py:function:: get_gc_intersect(s1, s2) Given two great circles, specified by their poles, find the two intersection points. :param s1: Pole of first great circle as Skypos object :param s2: Pole of second great circle as Skypos object :return: A list of the two Skypos objects representing the two intersection points.