Changes in src/sas/sascalc/data_util/nxsunit.py [b011ecb:574adc7] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/data_util/nxsunit.py
rb011ecb r574adc7 136 136 sld = { '10^-6 Angstrom^-2': 1e-6, 'Angstrom^-2': 1 } 137 137 Q = { 'invA': 1, 'invAng': 1, 'invAngstroms': 1, '1/A': 1, 138 '1/Angstrom': 1, '1/angstrom': 1, 'A^{-1}': 1, 'cm^{-1}': 1e-8,139 138 '10^-3 Angstrom^-1': 1e-3, '1/cm': 1e-8, '1/m': 1e-10, 140 'nm^ {-1}': 1, 'nm^-1': 0.1, '1/nm': 0.1, 'n_m^-1': 0.1 }139 'nm^-1': 0.1, '1/nm': 0.1, 'n_m^-1': 0.1 } 141 140 142 141 _caret_optional(sld) … … 158 157 # units for that particular dimension. 159 158 # Note: don't have support for dimensionless units. 160 unknown = {None:1, '???':1, '': 1, 'a.u.': 1 , 'Counts': 1, 'counts': 1}159 unknown = {None:1, '???':1, '': 1, 'a.u.': 1} 161 160 162 161 def __init__(self, name):
Note: See TracChangeset
for help on using the changeset viewer.