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

aosss.vis.vismisc module

class aosss.vis.vismisc.VisCube

Bases: f311.explorer.vis.basic.Vis

Opens the Data Cube Editor window.

action = 'Edit using Data Cube Editor'
input_classes = (<class 'aosss.filetypes.filefullcube.FileFullCube'>, <class 'aosss.filetypes.filesparsecube.FileSparseCube'>)
class aosss.vis.vismisc.VisSpectrumList

Bases: f311.explorer.vis.basic.Vis

Opens the Spectrum List Editor window.

action = 'Edit using Spectrum List Editor'
input_classes = (<class 'aosss.filetypes.filesplist.FileSpectrumList'>, <class 'f311.filetypes.filespectrum.FileSpectrum'>)

Module contents