SatelliteCameraViewer.full_sky module

camera_display.py

class SatelliteCameraViewer.full_sky.FullSky(root=None, font_family='san-serif', font_size=10)[source]

Bases: object

FullSky - the core drawing code for the stars - also includes logic for the user interface

Parameters:
  • root (Tk) – The tk root value.

  • font_family – Name of font to use inside pyplot area.

  • font_size (str) – Size of font to use inside pyplot area.

Attributes:
ax

ax

canvas

canvas

fig

fig

nikon

nikon - return NikonD5 class.

root

root

Methods

camera_image_matched_stars()

camera_image_register([label, nx, ny, w, h])

camera_image_register - setup Camera Image.

cubesat_viewer_register([u, label, w, h])

cubesat_viewer_register - setup Cubesat.

do_focal_length()

do_mag()

do_match_stars()

do_realtime()

do_reset()

do_rpy()

do_stars()

do_stars_clear()

draw()

draw - flush everything to the screen.

items_plotted_add()

items_plotted_clear()

plot_border_vectors()

plot_center()

plot_center_clear()

plot_center_data()

plot_corners()

plot_ecliptic()

plot_ecliptic - add ecliptic line to the sky plot

plot_galactic_plane()

plot_galactic_plane - add galactic plan line to the sky plot.

plot_hull()

plot_matched_closest_star()

plot_pixels()

plot_polygons()

plot_stars()

plot_star - add all the stars to the sky plot

plot_sun_moon()

plot_sun_moon - add sun and moon to the sky plot.

pyplot_canvas_area_register()

timer_reset()

timer_went_off()

update_full_sky()

update_full_sky - primary logic to redraw the sky plot.

FullSky - the core drawing code for the stars - also includes logic for the user interface

Parameters:
  • root (Tk) – The tk root value.

  • font_family – Name of font to use inside pyplot area.

  • font_size (str) – Size of font to use inside pyplot area.

Attributes:
ax

ax

canvas

canvas

fig

fig

nikon

nikon - return NikonD5 class.

root

root

Methods

camera_image_matched_stars()

camera_image_register([label, nx, ny, w, h])

camera_image_register - setup Camera Image.

cubesat_viewer_register([u, label, w, h])

cubesat_viewer_register - setup Cubesat.

do_focal_length()

do_mag()

do_match_stars()

do_realtime()

do_reset()

do_rpy()

do_stars()

do_stars_clear()

draw()

draw - flush everything to the screen.

items_plotted_add()

items_plotted_clear()

plot_border_vectors()

plot_center()

plot_center_clear()

plot_center_data()

plot_corners()

plot_ecliptic()

plot_ecliptic - add ecliptic line to the sky plot

plot_galactic_plane()

plot_galactic_plane - add galactic plan line to the sky plot.

plot_hull()

plot_matched_closest_star()

plot_pixels()

plot_polygons()

plot_stars()

plot_star - add all the stars to the sky plot

plot_sun_moon()

plot_sun_moon - add sun and moon to the sky plot.

pyplot_canvas_area_register()

timer_reset()

timer_went_off()

update_full_sky()

update_full_sky - primary logic to redraw the sky plot.

property ax
camera_image_matched_stars()[source]
camera_image_register(label=None, nx=400, ny=300, w=400, h=300)[source]

camera_image_register - setup Camera Image.

property canvas
cubesat_viewer_register(u=3, label=None, w=400, h=300)[source]

cubesat_viewer_register - setup Cubesat.

do_focal_length()[source]
do_mag()[source]
do_match_stars()[source]
do_realtime()[source]
do_reset()[source]
do_rpy()[source]
do_stars()[source]
do_stars_clear()[source]
draw()[source]

draw - flush everything to the screen.

property fig
items_plotted_add()[source]
items_plotted_clear()[source]
property nikon

nikon - return NikonD5 class.

plot_border_vectors()[source]
plot_center()[source]
plot_center_clear()[source]
plot_center_data()[source]
plot_corners()[source]
plot_ecliptic()[source]

plot_ecliptic - add ecliptic line to the sky plot

plot_galactic_plane()[source]

plot_galactic_plane - add galactic plan line to the sky plot.

plot_hull()[source]
plot_matched_closest_star()[source]
plot_pixels()[source]
plot_polygons()[source]
plot_stars()[source]

plot_star - add all the stars to the sky plot

plot_sun_moon()[source]

plot_sun_moon - add sun and moon to the sky plot.

pyplot_canvas_area_register()[source]
property root
timer_reset()[source]
timer_went_off()[source]
update_full_sky()[source]

update_full_sky - primary logic to redraw the sky plot.

class SatelliteCameraViewer.full_sky.StarsConstellationsBSC5[source]

Bases: object

Attributes:
max_mag

max_mag

skycoords

skycoords

stars

stars

Methods

get_constellations([constellations])

constellations

get_stars()

stars

StarsConstellationsBSC5

Attributes:
max_mag

max_mag

skycoords

skycoords

stars

stars

Methods

get_constellations([constellations])

constellations

get_stars()

stars

get_constellations(constellations=['Orion', 'Leo'])[source]

constellations

get_stars()[source]

stars

property max_mag
property skycoords
property stars
class SatelliteCameraViewer.full_sky.UserInterface[source]

Bases: object

Methods

camera_info()

camera_info_box()

do_focal_length()

do_mag()

do_match_stars()

do_realtime()

do_reset()

do_rpy()

do_stars()

focal_length_buttons()

focal_length_buttons_set([focal_length])

focal_length_set

match_stars_button()

misc_text()

misc_text_box()

photo_label()

realtime_button()

realtime_button_set()

register_full_sky()

reset_everything_button()

rpy_label()

rpy_sliders()

sat_label()

star_found_text()

star_found_text_box()

star_mag_buttons()

star_mag_buttons_set()

stars_button()

stars_button_set(value)

set_stars_button

title_label()

match_stars_button_set

classmethod camera_info()[source]
classmethod camera_info_box()[source]
classmethod do_focal_length()[source]
classmethod do_mag()[source]
classmethod do_match_stars()[source]
classmethod do_realtime()[source]
classmethod do_reset()[source]
classmethod do_rpy()[source]
classmethod do_stars()[source]
classmethod focal_length_buttons()[source]
classmethod focal_length_buttons_set(focal_length=50)[source]

focal_length_set

classmethod match_stars_button()[source]
classmethod match_stars_button_set(value)[source]
classmethod misc_text()[source]
classmethod misc_text_box()[source]
classmethod photo_label()[source]
classmethod realtime_button()[source]
classmethod realtime_button_set()[source]
classmethod register_full_sky()[source]
classmethod reset_everything_button()[source]
classmethod rpy_label()[source]
classmethod rpy_sliders()[source]
rpy_values_deg = {'pitch': 0.0, 'roll': 0.0, 'yaw': 0.0}

rpy_values_deg - values of Roll, Pitch, and Yaw sliders.

classmethod sat_label()[source]
classmethod star_found_text()[source]
classmethod star_found_text_box()[source]
classmethod star_mag_buttons()[source]
classmethod star_mag_buttons_set()[source]
classmethod stars_button()[source]
classmethod stars_button_set(value)[source]

set_stars_button

classmethod title_label()[source]