sas.qtgui.Perspectives.Corfunc package¶
Subpackages¶
Submodules¶
sas.qtgui.Perspectives.Corfunc.CorfuncPerspective module¶
This module provides the intelligence behind the gui interface for Corfunc.
- class sas.qtgui.Perspectives.Corfunc.CorfuncPerspective.CorfuncWindow(parent=None)[source]¶
Bases:
QDialog
,Ui_CorfuncDialog
Displays the correlation function analysis of sas data.
- __doc__ = 'Displays the correlation function analysis of sas data.'¶
- __module__ = 'sas.qtgui.Perspectives.Corfunc.CorfuncPerspective'¶
- ext = ' crf'¶
- getPage()[source]¶
Serializes full state of this corfunc page Called by Save Analysis :return: {corfunc-state}
- getState()[source]¶
Collects all active params into a dictionary of {name: value} :return: {name: value}
- name = 'Corfunc'¶
- removeData(data_list=None)[source]¶
Remove the existing data reference from the Invariant Persepective
- serializeAll()[source]¶
Serialize the corfunc state so data can be saved Corfunc is not batch-ready so this will only effect a single page :return: {data-id: {self.name: {corfunc-state}}}
- serializeCurrentPage()[source]¶
Serialize and return a dictionary of {data_id: corfunc-state} Return empty dictionary if no data :return: {data-id: {self.name: {corfunc-state}}}
- setData(data_item, is_batch=False)[source]¶
Obtain a QStandardItem object and dissect it to get Data1D/2D Pass it over to the calculator
- title()[source]¶
Window title function used by certain error messages. Check DataExplorer.py, line 355
- trigger¶
- class sas.qtgui.Perspectives.Corfunc.CorfuncPerspective.MyMplCanvas(model, width=5, height=4, dpi=100)[source]¶
Bases:
FigureCanvasQTAgg
Ultimately, this is a QWidget (as well as a FigureCanvasAgg, etc.).
- __doc__ = 'Ultimately, this is a QWidget (as well as a FigureCanvasAgg, etc.).'¶
- __module__ = 'sas.qtgui.Perspectives.Corfunc.CorfuncPerspective'¶
- draw_q_space()[source]¶
Draw the Q space data in the plot window
This draws the q space data in self.data, as well as the bounds set by self.qmin, self.qmax1, and self.qmax2. It will also plot the extrpolation in self.extrap, if it exists.