mdt.gui.model_fit.tabs package

Submodules

mdt.gui.model_fit.tabs.fit_model_tab module

class mdt.gui.model_fit.tabs.fit_model_tab.AddProtocolMapDialog(shared_state, parent, extra_protocol)[source]

Bases: mdt.gui.model_fit.design.ui_optimization_extra_data_add_protocol_map_dialog.Ui_AddProtocolMapDialog, MockClass

write_config()[source]

Write to the config the user selected options

class mdt.gui.model_fit.tabs.fit_model_tab.ExtraDataDialog(shared_state, parent, input_data_info)[source]

Bases: mdt.gui.model_fit.design.ui_optimization_extra_data_dialog.Ui_OptimizationExtraDataDialog, MockClass

write_config()[source]

Write to the config the user selected options

class mdt.gui.model_fit.tabs.fit_model_tab.FitModelTab(shared_state, computations_thread)[source]

Bases: mdt.gui.utils.MainTab, mdt.gui.model_fit.design.ui_fit_model_tab.Ui_FitModelTabContent, MockClass

setupUi(tab_content)[source]
update_output_folder_text()[source]
class mdt.gui.model_fit.tabs.fit_model_tab.InputDataInfo[source]

Bases: object

build_input_data()[source]
class mdt.gui.model_fit.tabs.fit_model_tab.OptimOptions[source]

Bases: object

Storage class for communication between the options dialog and the main frame

optim_routines = {'Levenberg Marquardt': 'Levenberg-Marquardt', 'Nelder-Mead Simplex': 'Nelder-Mead', "Powell's method": 'Powell'}
class mdt.gui.model_fit.tabs.fit_model_tab.OptimizationOptionsDialog(shared_state, parent, config)[source]

Bases: mdt.gui.model_fit.design.ui_optimization_options_dialog.Ui_OptimizationOptionsDialog, MockClass

write_config()[source]

Write to the config the user selected options

class mdt.gui.model_fit.tabs.fit_model_tab.RunModelWorker[source]

Bases: MockClass

finished = <MockNamedComponent name='mock()' id='140623378607632'>
run()[source]
set_args(*args, **kwargs)[source]
starting = <MockNamedComponent name='mock()' id='140623378607632'>
mdt.gui.model_fit.tabs.fit_model_tab.pyqtSlot(*args, **kwargs)

Mocked decorator, needed in the case we need to mock a decorator

mdt.gui.model_fit.tabs.generate_brain_mask_tab module

class mdt.gui.model_fit.tabs.generate_brain_mask_tab.GenerateBrainMaskTab(shared_state, computations_thread)[source]

Bases: mdt.gui.utils.MainTab, mdt.gui.model_fit.design.ui_generate_brain_mask_tab.Ui_GenerateBrainMaskTabContent, MockClass

generate_mask()[source]
setupUi(tab_content)[source]
view_mask()[source]
class mdt.gui.model_fit.tabs.generate_brain_mask_tab.GenerateMaskWorker[source]

Bases: MockClass

finished = <MockNamedComponent name='mock()' id='140623378208080'>
run()[source]
set_args(*args, **kwargs)[source]
starting = <MockNamedComponent name='mock()' id='140623378208080'>
mdt.gui.model_fit.tabs.generate_brain_mask_tab.pyqtSlot(*args, **kwargs)

Mocked decorator, needed in the case we need to mock a decorator

mdt.gui.model_fit.tabs.generate_protocol_tab module

class mdt.gui.model_fit.tabs.generate_protocol_tab.GenerateProtocolTab(shared_state, computations_thread)[source]

Bases: mdt.gui.utils.MainTab, mdt.gui.model_fit.design.ui_generate_protocol_tab.Ui_GenerateProtocolTabContent, MockClass

load_protocol(file_name)[source]
setupUi(tab_content)[source]
show_header_context_menu(position)[source]
class mdt.gui.model_fit.tabs.generate_protocol_tab.LoadColumnDialog(shared_state, parent)[source]

Bases: mdt.gui.model_fit.design.ui_generate_protocol_update_dialog.Ui_UpdateColumnDialog, MockClass

enable_correct_inputs(selection)[source]
update_protocol(protocol)[source]
class mdt.gui.model_fit.tabs.generate_protocol_tab.LoadGBDialog(shared_state, parent)[source]

Bases: mdt.gui.model_fit.design.ui_generate_protocol_load_gb_dialog.Ui_LoadGBDialog, MockClass

get_protocol()[source]
mdt.gui.model_fit.tabs.generate_protocol_tab.pyqtSlot(*args, **kwargs)

Mocked decorator, needed in the case we need to mock a decorator

mdt.gui.model_fit.tabs.generate_roi_mask_tab module

class mdt.gui.model_fit.tabs.generate_roi_mask_tab.GenerateROIMaskTab(shared_state, computations_thread)[source]

Bases: mdt.gui.utils.MainTab, mdt.gui.model_fit.design.ui_generate_roi_mask_tab.Ui_GenerateROIMaskTabContent, MockClass

generate_roi_mask()[source]
mask_file_changed()[source]
setupUi(tab_content)[source]
update_dimension(value)[source]
update_output_file_text()[source]
update_slice_index(value)[source]
update_slice_selector()[source]
view_mask()[source]
class mdt.gui.model_fit.tabs.generate_roi_mask_tab.GenerateROIMaskWorker[source]

Bases: MockClass

finished = <MockNamedComponent name='mock()' id='140623379965264'>
run()[source]
set_args(*args, **kwargs)[source]
starting = <MockNamedComponent name='mock()' id='140623379965264'>
mdt.gui.model_fit.tabs.generate_roi_mask_tab.pyqtSlot(*args, **kwargs)

Mocked decorator, needed in the case we need to mock a decorator

Module contents