SatelliteCameraViewer.core module

core

class SatelliteCameraViewer.core.CoreCode(ui: UserInterface = None)[source]

Bases: object

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

Parameters:

ui – User interface class

Attributes:
nikon

nikon - return NikonD5 class.

ui

ui

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_accelerate()

do_earth_vector()

do_focal_length()

do_mag()

do_match_stars()

do_reset()

do_rpy()

do_satellite_attitude()

do_satellite_selection()

do_stars()

do_stars_clear()

draw()

draw - flush everything to the screen.

items_plotted_add()

items_plotted_clear()

plot_border_vectors()

plot_corners()

plot_earth_outline(earth_points_deg)

plot_earth_outline - add outline of earth to the sky plot.

plot_earthtrack_dot()

plot_earthtrack_dot_clear()

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_in_tk()

plot_matched_closest_star()

plot_pixels()

plot_polygons()

plot_starfield_centerline()

plot_starfield_centerline_clear()

plot_starfield_centerline_data()

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.

timer_reset()

timer_went_off()

update_starfield_and_more()

update_starfield_and_more - primary logic to redraw the sky plot.

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

Parameters:

ui (UserInterface) – User interface class

Attributes:
nikon

nikon - return NikonD5 class.

ui

ui

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_accelerate()

do_earth_vector()

do_focal_length()

do_mag()

do_match_stars()

do_reset()

do_rpy()

do_satellite_attitude()

do_satellite_selection()

do_stars()

do_stars_clear()

draw()

draw - flush everything to the screen.

items_plotted_add()

items_plotted_clear()

plot_border_vectors()

plot_corners()

plot_earth_outline(earth_points_deg)

plot_earth_outline - add outline of earth to the sky plot.

plot_earthtrack_dot()

plot_earthtrack_dot_clear()

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_in_tk()

plot_matched_closest_star()

plot_pixels()

plot_polygons()

plot_starfield_centerline()

plot_starfield_centerline_clear()

plot_starfield_centerline_data()

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.

timer_reset()

timer_went_off()

update_starfield_and_more()

update_starfield_and_more - primary logic to redraw the sky plot.

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.

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

cubesat_viewer_register - setup Cubesat.

do_accelerate()[source]
do_earth_vector()[source]
do_focal_length()[source]
do_mag()[source]
do_match_stars()[source]
do_reset()[source]
do_rpy()[source]
do_satellite_attitude()[source]
do_satellite_selection()[source]
do_stars()[source]
do_stars_clear()[source]
draw()[source]

draw - flush everything to the screen.

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

nikon - return NikonD5 class.

plot_border_vectors()[source]
plot_corners()[source]
plot_earth_outline(earth_points_deg)[source]

plot_earth_outline - add outline of earth to the sky plot.

plot_earthtrack_dot()[source]
plot_earthtrack_dot_clear()[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_in_tk()[source]
plot_matched_closest_star()[source]
plot_pixels()[source]
plot_polygons()[source]
plot_starfield_centerline()[source]
plot_starfield_centerline_clear()[source]
plot_starfield_centerline_data()[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.

timer_reset()[source]
timer_went_off()[source]
property ui
update_starfield_and_more()[source]

update_starfield_and_more - primary logic to redraw the sky plot.

class SatelliteCameraViewer.core.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=None)[source]

constellations

get_stars()[source]

stars

property max_mag
property skycoords
property stars