Changes in / [8221f1c:cfd4625] in sasmodels
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/convert.py
ra503bfd rfd1c792 13 13 for variant in ("", "_pd", "_pd_n", "_pd_nsigma", "_pd_type"): 14 14 if old+variant in newpars: 15 newpars[new+variant] = pars[old+variant] 15 if new is not None: 16 newpars[new+variant] = pars[old+variant] 16 17 del newpars[old+variant] 17 18 # Sasview style parameter names 18 19 for variant in (".width", ".nsigmas", ".type", ".npts"): 19 20 if old+variant in newpars: 20 newpars[new+variant] = pars[old+variant] 21 if new is not None: 22 newpars[new+variant] = pars[old+variant] 21 23 del newpars[old+variant] 22 24 return newpars -
sasmodels/models/broad_peak.py
r6edb74a rfd1c792 113 113 oldpars = dict(porod_scale='scale_p', porod_exp='exponent_p', 114 114 lorentz_scale='scale_l', lorentz_length='length_l', peak_pos='q_peak', 115 lorentz_exp='exponent_l' )115 lorentz_exp='exponent_l', scale=None)
Note: See TracChangeset
for help on using the changeset viewer.