Changeset 2d866370 in sasview for src/sas/sascalc/dataloader/readers/sesans_reader.py
- Timestamp:
- Apr 4, 2017 10:22:00 AM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 41e0a3b
- Parents:
- 09a0be5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/sesans_reader.py
r09a0be5 r2d866370 116 116 return None 117 117 118 def _unit_conversion(self, value, value_unit, default_unit): 118 @staticmethod 119 def _unit_conversion(value, value_unit, default_unit): 119 120 """ 120 121 Performs unit conversion on a measurement. … … 136 137 return value, new_unit 137 138 138 def _header_fetch(self, headers, key): 139 @staticmethod 140 def _header_fetch(headers, key): 139 141 """ 140 142 Pull the value of a unit defined header from a dict. Example:: … … 153 155 return headers[index] 154 156 155 def _fetch_unit(self, params, key): 157 @staticmethod 158 def _fetch_unit(params, key): 156 159 """ 157 160 Pull the unit off of a dictionary header. Example::
Note: See TracChangeset
for help on using the changeset viewer.