Skip to content

Commit 1b538bb

Browse files
committed
2theta_bank is not fittable
1 parent 148ef74 commit 1b538bb

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

easyDiffractionApp/Logic/Experiment.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@
119119
'scale': 'scale',
120120
'_pd_phase_block': 'phases',
121121
'_diffrn_radiation': 'pattern',
122+
'sigma2': 'sigma2',
123+
'sigma1': 'sigma1',
124+
'sigma0': 'sigma0',
125+
'zero': 'zero',
126+
'alpha1': 'alpha1',
127+
'alpha0': 'alpha0',
128+
'beta1': 'beta1',
129+
'beta0': 'beta0',
130+
'dtt2': 'dtt2',
131+
'dtt1': 'dtt1',
122132
}
123133

124134
class Experiment(QObject):
@@ -516,8 +526,7 @@ def jobToBlock(self, job=None, name=None):
516526
url = url + category,
517527
cifDict = 'pd',
518528
absDelta = 0.2,
519-
fittable = True,
520-
fit = not job.parameters.ttheta_bank.fixed
529+
fittable = False,
521530
))
522531
name = 'dtt1'
523532
dataBlock[param][category][name] = dict(Parameter(

easyDiffractionApp/Logic/Model.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@
7070
'crystal_system': 'crystal_system',
7171
'IT_number': 'int_number',
7272
'IT_coordinate_system_code': 'setting',
73+
'B_iso_or_equiv': 'b_iso_or_equiv',
74+
'U_iso_or_equiv': 'u_iso_or_equiv',
7375
}
7476
class Model(QObject):
7577
definedChanged = Signal()

0 commit comments

Comments
 (0)