Cube

class sf3dmodels.model.disc2d.Cube(nchan, channels, data, beam=False, beam_kernel=False, tb={'beam': False, 'full': True, 'nu': False})[source] [edit on github]

Bases: object

Attributes Summary

interactive
interactive_path

Methods Summary

box(self, fig, ax[, extent, compare_cubes, …])
cursor(self, fig, ax[, extent, compare_cubes])
curve(self, ax, x, y, chan[, color, …])
ellipse(self)
make_fits(self, output, \*\*kw_header)
make_gif(self[, folder, extent, velocity2d, …])
show(self[, extent, chan_init, …])
show_path(self, x, y[, extent, chan_init, …])
show_side_by_side(self, cube1[, extent, …])
surface(self, ax, \*args, \*\*kwargs)

Attributes Documentation

interactive
interactive_path

Methods Documentation

box(self, fig, ax, extent=None, compare_cubes=[], stat_func=<function mean at 0x7f026ef77bd0>, **kwargs)[source] [edit on github]
cursor(self, fig, ax, extent=None, compare_cubes=[], **kwargs)[source] [edit on github]
curve(self, ax, x, y, chan, color=False, show_path=True, extent=None, compare_cubes=[], **kwargs)[source] [edit on github]
ellipse(self)[source] [edit on github]
make_fits(self, output, **kw_header)[source] [edit on github]
make_gif(self, folder='./movie/', extent=None, velocity2d=None, unit='Brightness Temperature [K]', gif_command='convert -delay 10 *int2d* cube_channels.gif')[source] [edit on github]
show(self, extent=None, chan_init=0, compare_cubes=[], cursor_grid=True, cmap='gnuplot2_r', int_unit='Intensity [mJy beam$^{-1}$]', pos_unit='Offset [au]', vel_unit='km s$^{-1}$', show_beam=False, surface={'args': (), 'kwargs': {}}, **kwargs)[source] [edit on github]
show_path(self, x, y, extent=None, chan_init=20, compare_cubes=[], cursor_grid=True, int_unit='Intensity [mJy beam$^{-1}$]', pos_unit='au', vel_unit='km s$^{-1}$', show_beam=False, **kwargs)[source] [edit on github]
show_side_by_side(self, cube1, extent=None, chan_init=0, cursor_grid=True, cmap='gnuplot2_r', int_unit='Intensity [mJy beam$^{-1}$]', pos_unit='Offset [au]', vel_unit='km s$^{-1}$', show_beam=False, surface={'args': (), 'kwargs': {}}, **kwargs)[source] [edit on github]
surface(self, ax, *args, **kwargs)[source] [edit on github]