Skip to content

Commit fb17e00

Browse files
committed
Remove tth_distortion properties from calibrator
It doesn't make sense for an instrument calibrator to have tth_distortion properties, because each modal calibrator inside might have a different `tth_distortion` dict. To avoid confusion, just remove this property. Signed-off-by: Patrick Avery <[email protected]>
1 parent 3060f50 commit fb17e00

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

hexrd/fitting/calibration/instrument.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@ def update_all_from_params(self, params):
9898
def instr(self):
9999
return self.calibrators[0].instr
100100

101-
@property
102-
def tth_distortion(self):
103-
return self.calibrators[0].tth_distortion
104-
105-
@tth_distortion.setter
106-
def tth_distortion(self, v):
107-
for calibrator in self.calibrators:
108-
calibrator.tth_distortion = v
109-
110101
def minimizer_function(self, params):
111102
self.update_all_from_params(params)
112103
return self.residual()

0 commit comments

Comments
 (0)