def moment_maps_gui(cubeviz_layout): cl = cubeviz_layout mm = MomentMapsGUI(cl._data, cl.session.data_collection, parent=cl) return mm
def moment_map(cubeviz_layout): cl = cubeviz_layout mm_gui = MomentMapsGUI(cl._data, cl.session.data_collection, parent=cl) mm_gui.do_calculation(1, DATA_LABELS[0]) return mm_gui.label
def moment_map(cubeviz_layout): cl = cubeviz_layout mm_gui = MomentMapsGUI(cl._data, cl.session.data_collection, parent=cl) mm_gui.do_calculation(4, DATA_LABELS[0]) return mm_gui.label