aosss.vis package¶
Submodules¶
aosss.vis.draw_cube module¶
-
aosss.vis.draw_cube.
draw_cube_3d
(ax, sparsecube, height_threshold=15)¶ Plots front and back grid, scaled fluxes, into existing axis
Parameters: - ax –
- sparsecube – SparseCube instance
- height_threshold – maximum cube height to plot actual spectra. If the cube height is greated than this, line segments will be drawn instead of plotting the spectra (for speed)
data cube mapped to 3D axis —————— —————– X pixel coordinate x Y pixel coordinate z Z wavelength y
-
aosss.vis.draw_cube.
draw_cube_colors
(ax, sparsecube, vrange, sqx=None, sqy=None, flag_scale=False, method=0)¶ Plots image on existing axis
- Arguments
- ax: matplotlib axis sparsecube: SparseCube instance vrange: visible range sqx: “place spectrum” x sqy: “place spectrum” y
Returns: matplotlib plot object representing square, or None