Changeset f6c2555 in sasview for src/sas/sascalc
- Timestamp:
- Apr 9, 2017 3:35:47 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:
- e962d85
- Parents:
- 1550ee0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/dataloader/readers/sesans_reader.py
r1550ee0 rf6c2555 6 6 Jurrian Bakker 7 7 """ 8 import logging9 8 import numpy as np 10 9 import os … … 113 112 114 113 lam_unit = self._unit_fetch("Wavelength") 115 x, x_unit = self._unit_conversion(x, "A", self._unit_fetch("SpinEchoLength")) 114 x, x_unit = self._unit_conversion(x, "A", 115 self._unit_fetch( 116 "SpinEchoLength")) 116 117 dx, dx_unit = self._unit_conversion( 117 118 dx, lam_unit, … … 163 164 :param value: The magnitude of the measurement 164 165 :param value_unit: a string containing the final desired unit 165 :param default_unit: a string containingthe units of the original measurement166 :param default_unit: string with the units of the original measurement 166 167 :return: The magnitude of the measurement in the new units 167 168 """
Note: See TracChangeset
for help on using the changeset viewer.