aces.obsplan.sphere_plotting

Utiliies to create matplotlib figures of positions on the sky sphere.

Module Contents

Classes

SphereView

Functions

prefix(word, pfx)

rd_xyz(ra, dec)

TBD

xyz_rd(v)

mollweide_theta(z)

get_gc_intersect(s1, s2)

Given two great circles, specified by their poles, find the two intersection points.

aces.obsplan.sphere_plotting.prefix(word, pfx)[source]
aces.obsplan.sphere_plotting.rd_xyz(ra, dec)[source]

TBD

aces.obsplan.sphere_plotting.xyz_rd(v)[source]
aces.obsplan.sphere_plotting.mollweide_theta(z)[source]
class aces.obsplan.sphere_plotting.SphereView(projection='CAR', axis=None)[source]

Bases: object

npole[source]
spole[source]
origin[source]
set_projection(projection)[source]
set_subpoint(sub)[source]
set_style(style)[source]
draw_point(p1, **style)[source]
draw_gc(p1, p2, **style)[source]
draw_gc_c(p1, **style)[source]
draw_sc(p, radius, ends=None, **style)[source]
join_gc(p_array, close=False, **style)[source]
join_gc_fill(p_array, **style)[source]
fill(pnts, **style)[source]
draw_text(p, text, **style)[source]
draw_outline()[source]
draw_coord_grid(dlon=15.0, dlat=10.0)[source]
draw_label()[source]
_set_axes()[source]
_project(vectors, rotate=True)[source]
_draw_y(vectors, rotate=True, **style)[source]
_draw(vectors, rotate=True, **style)[source]
_text(vectors, text, rotate=True, **style)[source]
_make_matrix()[source]
static _rotate_vectors(m, vectors)[source]
static _get_gc_vec(p, q)[source]
static _get_gc_vec_c(p)[source]
classmethod get_projection(projection)[source]
aces.obsplan.sphere_plotting.get_gc_intersect(s1, s2)[source]

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.