File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 3
3
4
4
import numpy as np
5
5
6
- from easyreflectometry .experiment import percentage_fhwm_resolution_function
7
-
8
- DEFAULT_RESOLUTION_FWHM_PERCENTAGE = 5.0
6
+ from EasyReflectometry .experiment import DEFAULT_RESOLUTION_FWHM_PERCENTAGE
7
+ from EasyReflectometry .experiment import percentage_fhwm_resolution_function
9
8
10
9
11
10
class WrapperBase :
Original file line number Diff line number Diff line change 1
1
from .model import Model
2
2
from .model_collection import ModelCollection
3
+ from .resolution_functions import DEFAULT_RESOLUTION_FWHM_PERCENTAGE
3
4
from .resolution_functions import linear_spline_resolution_function
4
5
from .resolution_functions import percentage_fhwm_resolution_function
5
6
6
7
__all__ = (
8
+ DEFAULT_RESOLUTION_FWHM_PERCENTAGE ,
7
9
percentage_fhwm_resolution_function ,
8
10
linear_spline_resolution_function ,
9
11
Model ,
Original file line number Diff line number Diff line change 10
10
11
11
import numpy as np
12
12
13
+ DEFAULT_RESOLUTION_FWHM_PERCENTAGE = 5.0
14
+
13
15
14
16
def percentage_fhwm_resolution_function (constant : float ) -> Callable [[np .array ], np .array ]:
15
17
"""Create a resolution function that is constant across the q range.
You can’t perform that action at this time.
0 commit comments