Changes in / [eec5fd6:ead4bd5] in sasmodels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/genmodel.py
rc094758 rc094758 77 77 78 78 79 # Generate image (comment IF for 1D/2D for the moment) and generate only 1D79 # Generate image 80 80 fig_height = 3.0 # in 81 81 fig_left = 0.6 # in … … 109 109 fig = plt.figure(figsize=aspect) 110 110 ax1d = fig.add_axes([ax_left, ax_bottom, ax_width, ax_height]) 111 plot_1d(model, opts, ax1d)111 plot_1d(model, opts, ax1d) 112 112 113 113 # Save image in model/img -
example/sesansfit.py
r4554131 r5bb9c79 14 14 return model 15 15 16 def sesans_fit(file, model _name, initial_vals={}, custom_params={}, param_range=[], acceptance_angle=None):16 def sesans_fit(file, model, initial_vals={}, custom_params={}, param_range=[], acceptance_angle=None): 17 17 """ 18 18 -
sasmodels/sasview_model.py
rfcd7bbd r2622b3f 17 17 from copy import deepcopy 18 18 import warnings 19 import collections 19 20 20 21 import numpy as np … … 57 58 ## TODO: reorganize parameter handling 58 59 self.details = dict() 59 self.params = dict()60 self.params = collections.OrderedDict() 60 61 self.dispersion = dict() 61 62 partype = model.info['partype'] 63 62 64 for p in model.info['parameters']: 63 65 self.params[p.name] = p.default
Note: See TracChangeset
for help on using the changeset viewer.