Changeset 3bab401 in sasview for src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
- Timestamp:
- Jun 22, 2018 12:52:36 PM (6 years ago)
- Branches:
- master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
- Children:
- 058f6c3
- Parents:
- c7634fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/cansas_reader_HDF5.py
r18af6d2 r3bab401 632 632 if unit is None: 633 633 unit = h5attr(value, u'unit') 634 # Convert the unit formats635 if unit == "1/A":636 unit = "A^{-1}"637 elif unit == "1/cm":638 unit = "cm^{-1}"639 634 return unit
Note: See TracChangeset
for help on using the changeset viewer.