data_manager

sans.guiframe.data_manager

This module manages all data loaded into the application. Data_manager makes available all data loaded for the current perspective.

All modules “creating Data” posts their data to data_manager . Data_manager make these new data available for all other perspectives.

class sans.guiframe.data_manager.DataManager

Bases: object

Manage a list of data

add_data(data_list)

receive a list of

create_gui_data(data, path=None)

Receive data from loader and create a data to use for guiframe

delete_by_id(id_list=None)

save data and path

delete_by_name(name_list=None)

save data and path

delete_data(data_id, theory_id=None, delete_all=False)
delete_theory(data_id, theory_id)
freeze(theory_id)
freeze_theory(data_id, theory_id)
get_all_data()

return list of all available data

get_by_id(id_list=None)
get_by_name(name_list=None)

return a list of data given a list of data names

get_data_state(data_id)

Send list of selected data

get_message()

return message

rename(name)

rename data

update_data(prev_data, new_data)
update_theory(theory, data_id=None, state=None)

Table Of Contents

Previous topic

dataFitting

Next topic

data_panel

This Page