Changes in / [50b33d0:5123512] in sasview
- Location:
- src/sas/qtgui/Perspectives/Fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
rf5e2a10a rb38c8c8 590 590 xunit = model.details[name][0] 591 591 data1d.xaxis(r'\rm{{{}}}'.format(name.replace('_', '\_')), xunit) 592 data1d.yaxis(r'\rm{ probability}', 'normalized')592 data1d.yaxis(r'\rm{weight}', 'normalized') 593 593 data1d.scale = 'linear' 594 594 data1d.symbol = 'Line' -
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
rf5e2a10a rd4c9242 2737 2737 self.Calc2DFinishedSignal.emit(return_data) 2738 2738 2739 def _appendPlotsPolyDisp(self, new_plots, return_data, fitted_data):2740 """2741 Internal helper for 1D and 2D for creating plots of the polydispersity distribution for2742 parameters which have a polydispersity enabled.2743 """2744 for plot in FittingUtilities.plotPolydispersities(return_data.get('model', None)):2745 data_id = fitted_data.id.split()2746 plot.id = "{} [{}] {}".format(data_id[0], plot.name, " ".join(data_id[1:]))2747 data_name = fitted_data.name.split()2748 plot.name = " ".join([data_name[0], plot.name] + data_name[1:])2749 self.createNewIndex(plot)2750 new_plots.append(plot)2751 2752 2739 def complete1D(self, return_data): 2753 2740 """ … … 2782 2769 self.communicate.deleteIntermediateTheoryPlotsSignal.emit(self.kernel_module.id) 2783 2770 2784 self._appendPlotsPolyDisp(new_plots, return_data, fitted_data) 2771 # Create plots for parameters with enabled polydispersity 2772 for plot in FittingUtilities.plotPolydispersities(return_data.get('model', None)): 2773 data_id = fitted_data.id.split() 2774 plot.id = "{} [{}] {}".format(data_id[0], plot.name, " ".join(data_id[1:])) 2775 data_name = fitted_data.name.split() 2776 plot.name = " ".join([data_name[0], plot.name] + data_name[1:]) 2777 self.createNewIndex(plot) 2778 new_plots.append(plot) 2785 2779 2786 2780 # Create plots for intermediate product data … … 2819 2813 if residuals is not None: 2820 2814 new_plots.append(residuals) 2821 2822 self._appendPlotsPolyDisp(new_plots, return_data, fitted_data)2823 2815 2824 2816 # Update/generate plots
Note: See TracChangeset
for help on using the changeset viewer.