File tree Expand file tree Collapse file tree 8 files changed +11
-9
lines changed Expand file tree Collapse file tree 8 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 55
66from ..reflectometry .load import load_nx
77from ..reflectometry .types import (
8- ReducibleDetectorData ,
98 DetectorRotation ,
109 Filename ,
11- NeXusDetectorName ,
1210 LoadedNeXusDetector ,
11+ NeXusDetectorName ,
1312 RawDetectorData ,
13+ ReducibleDetectorData ,
1414 RunType ,
1515 SampleRotation ,
1616)
Original file line number Diff line number Diff line change @@ -145,7 +145,9 @@ def sigma_Q(
145145 Combined resolution function.
146146 """
147147 return sc .sqrt (
148- angular_resolution ** 2 + wavelength_resolution ** 2 + sample_size_resolution ** 2
148+ angular_resolution ** 2
149+ + wavelength_resolution ** 2
150+ + sample_size_resolution ** 2
149151 ).flatten (to = "detector_number" ).max ("detector_number" ) * sc .midpoints (q_bins )
150152
151153
Original file line number Diff line number Diff line change 66 QBins ,
77 ReflectivityData ,
88 RunType ,
9- SampleRun ,
109 SampleRotation ,
10+ SampleRun ,
1111)
1212
1313from .geometry import Detector
Original file line number Diff line number Diff line change 66from scippneutron .conversion .graph import beamline , tof
77
88from .types import (
9- ReducibleDetectorData ,
109 DataWithScatteringCoordinates ,
1110 Gravity ,
1211 IncidentBeam ,
1312 MaskedData ,
13+ ReducibleDetectorData ,
1414 RunType ,
1515 SamplePosition ,
1616 SampleRotation ,
Original file line number Diff line number Diff line change 1010 FootprintCorrectedData ,
1111 IdealReferenceIntensity ,
1212 MaskedData ,
13- ReferenceRun ,
1413 ReferenceIntensity ,
14+ ReferenceRun ,
1515 RunType ,
1616 SampleSize ,
1717 WavelengthBins ,
Original file line number Diff line number Diff line change 1919from .load import load_nx
2020from .supermirror import SupermirrorReflectivityCorrection
2121from .types import (
22- ReducibleDetectorData ,
2322 Filename ,
2423 FootprintCorrectedData ,
24+ ReducibleDetectorData ,
2525 ReferenceRun ,
2626 SampleRun ,
2727)
Original file line number Diff line number Diff line change 1515 NormalizedIofQ ,
1616 QBins ,
1717 ReferenceRun ,
18+ SampleRotation ,
1819 SampleRun ,
1920 SampleSize ,
20- SampleRotation ,
2121 WavelengthBins ,
2222 YIndexLimits ,
2323 ZIndexLimits ,
Original file line number Diff line number Diff line change 77
88from ess import amor , reflectometry
99from ess .reflectometry import orso
10- from ess .reflectometry .types import SampleRun , Filename
10+ from ess .reflectometry .types import Filename , SampleRun
1111
1212
1313def test_build_orso_data_source ():
You can’t perform that action at this time.
0 commit comments