SatelliteCameraViewer.core module
core
- class SatelliteCameraViewer.core.CoreCode(ui: UserInterface = None)[source]
Bases:
objectCoreCode - the core drawing code for the stars - also includes logic for the user interface
Methods
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_mag()do_reset()do_rpy()do_stars()draw()draw - flush everything to the screen.
plot_earth_outline(earth_points_deg)plot_earth_outline - add outline of earth to the sky plot.
plot_ecliptic - add ecliptic line to the sky plot
plot_galactic_plane - add galactic plan line to the sky plot.
plot_star - add all the stars to the sky plot
plot_sun_moon - add sun and moon to the sky plot.
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:
Methods
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_mag()do_reset()do_rpy()do_stars()draw()draw - flush everything to the screen.
plot_earth_outline(earth_points_deg)plot_earth_outline - add outline of earth to the sky plot.
plot_ecliptic - add ecliptic line to the sky plot
plot_galactic_plane - add galactic plan line to the sky plot.
plot_star - add all the stars to the sky plot
plot_sun_moon - add sun and moon to the sky plot.
update_starfield_and_more - primary logic to redraw the sky plot.
- 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.
- property nikon
nikon - return NikonD5 class.
- plot_earth_outline(earth_points_deg)[source]
plot_earth_outline - add outline of earth to the sky plot.
- property ui
- class SatelliteCameraViewer.core.StarsConstellationsBSC5[source]
Bases:
objectMethods
get_constellations([constellations])constellations
stars
StarsConstellationsBSC5
Methods
get_constellations([constellations])constellations
stars
- property max_mag
- property skycoords
- property stars