Changeset 0d0aee1 in sasmodels
- Timestamp:
- Mar 10, 2016 6:56:38 AM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- bea7acb
- Parents:
- 5a483877
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/rst_prolog
r0a4628d r0d0aee1 50 50 .. |cm^-2| replace:: cm\ :sup:`-2` 51 51 .. |cm^3| replace:: cm\ :sup:`3` 52 .. |1e15cm^3| replace:: 10\ :sup:`15`\ cm\ :sup:`3` 52 53 .. |cm^-3| replace:: cm\ :sup:`-3` 53 54 .. |sr^-1| replace:: sr\ :sup:`-1` -
sasmodels/convert.py
r7d4b2ae r0d0aee1 52 52 new model definition end with sld. 53 53 """ 54 return dict((p, (v*1e6 if p.endswith('sld') else v ))54 return dict((p, (v*1e6 if p.endswith('sld') else v*1e-15 if 'ndensity' in p else v)) 55 55 for p, v in pars.items()) 56 56 … … 70 70 new model definition end with sld. 71 71 """ 72 return dict((p, (v*1e-6 if p.endswith('sld') else v ))72 return dict((p, (v*1e-6 if p.endswith('sld') else v*1e15 if 'ndensity' in p else v)) 73 73 for p, v in pars.items()) 74 74 -
sasmodels/generate.py
rc437dbb r0d0aee1 242 242 "1/Ang^2": "|Ang^-2|", 243 243 "1e-6/Ang^2": "|1e-6Ang^-2|", 244 "1e15/cm^3": "|1e15cm^3|", 244 245 "degrees": "degree", 245 246 "1/cm": "|cm^-1|", 247 "1/cm^3": "|cm^-3|", 246 248 "Ang/cm": "|Ang*cm^-1|", 249 "Ang^3": "|Ang^3|", 247 250 "": "None", 248 251 }
Note: See TracChangeset
for help on using the changeset viewer.