measurement
DataSet1D
Bases: SerializerComponent
Source code in src/easyreflectometry/data/data_store.py
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | |
model
property
writable
Model function.
is_experiment
property
Is experiment.
is_simulation
property
Is simulation.
__init__(name='Series', x=None, y=None, ye=None, xe=None, model=None, x_label='x', y_label='y', auto_background=True)
Init function.
Source code in src/easyreflectometry/data/data_store.py
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | |
data_points()
Data points.
Source code in src/easyreflectometry/data/data_store.py
155 156 157 | |
__repr__()
Repr function.
Source code in src/easyreflectometry/data/data_store.py
159 160 161 | |
load_data_from_orso_file(fname)
Load data from an ORSO file.
Source code in src/easyreflectometry/orso_utils.py
45 46 47 48 49 50 51 | |
load(fname)
Load data from an ORSO .ort file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fname
|
Union[TextIO, str]
|
The file to be read. |
required |
Source code in src/easyreflectometry/data/measurement.py
16 17 18 19 20 21 22 23 24 25 26 27 | |
load_as_dataset(fname)
Load data from an ORSO .ort file as a DataSet1D.
Source code in src/easyreflectometry/data/measurement.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | |
extract_orso_title(data_group, data_name)
Extract orso title.
Source code in src/easyreflectometry/data/measurement.py
47 48 49 50 51 52 53 54 55 56 57 | |
_load_txt(fname)
Load data from a simple txt file.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fname
|
Union[TextIO, str]
|
The path for the file to be read. |
required |
Source code in src/easyreflectometry/data/measurement.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | |
merge_datagroups(*data_groups)
Merge multiple DataGroups into a single DataGroup.
Source code in src/easyreflectometry/data/measurement.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | |