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

__class__

alias of type

__delattr__

x.__delattr__(‘name’) <==> del x.name

__dict__ = <dictproxy object at 0x04892450>
__getattribute__

x.__getattribute__(‘name’) <==> x.name

__hash__

x.__hash__() <==> hash(x)

__init__()

Store opened path and data object created at the loading time :param auto_plot: if True the datamanager sends data to plotting

plugin.
Parameters:auto_set_data – if True the datamanager sends to the current

perspective

__module__ = 'sans.guiframe.data_manager'
static __new__(S, ...) → a new object with type S, a subtype of T
__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

x.__repr__() <==> repr(x)

__setattr__

x.__setattr__(‘name’, value) <==> x.name = value

__str__()
__weakref__

list of weak references to the object (if defined)

add_data()

receive a list of

create_gui_data()

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

delete_by_id()

save data and path

delete_by_name()

save data and path

delete_data()
delete_theory()
freeze()
freeze_theory()
get_all_data()

return list of all available data

get_by_id()
get_by_name()

return a list of data given a list of data names

get_data_state()

Send list of selected data

get_message()

return message

rename()

rename data

update_data()
update_theory()

Table Of Contents

Previous topic

dataFitting

Next topic

data_panel

This Page