Changeset 3713
- Timestamp:
- Oct 30, 2018 11:53:13 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImapvars.py
r3711 r3713 49 49 to the start of the refinement. In a formula, GSAS-II parameters will be replaced by the 50 50 value of the parameter before the formula is evaluated, so ``'np.cos(0::Ax:2)'`` is a valid 51 multiplier. 51 multiplier. At present, only phase (atom/cell) parameters are available for use in 52 a formula, but this can be expanded if needed. 52 53 53 54 This type of constraint describes an alternate … … 77 78 to the start of the refinement. In a formula, GSAS-II parameters will be replaced by the 78 79 value of the parameter before the formula is evaluated, so ``'np.cos(0::Ax:2)'`` is a valid 79 multiplier. 80 multiplier. At present, only phase (atom/cell) parameters are available for use in 81 a formula, but this can be expanded if needed. 80 82 81 83 These equations set an interdependence between variables. … … 107 109 the refinement. In a formula, GSAS-II parameters will be replaced by the value of the 108 110 parameter before the formula is evaluate, so ``'np.cos(0::Ax:2)'`` is a valid multiplier. 109 111 At present, only phase (atom/cell) parameters are available for use in 112 a formula, but this can be expanded if needed. 110 113 Note that 111 114 the latter constraint expression is conceptually identical to … … 437 440 438 441 :func:`EvaluateMultipliers` 439 Convert any string-specified multipliers to numbers. Call this before442 Convert any string-specified (formula-based) multipliers to numbers. Call this before 440 443 using :func:`CheckConstraints` or :func:`GenerateConstraints`. 444 At present, the code may pass only the dict for phase (atom/cell) parameters, 445 but this could be expanded if needed. 441 446 442 447 :func:`Map2Dict` -
trunk/GSASIIstrIO.py
r3711 r3713 209 209 histVary,histDict,controlDict = GetHistogramData(Histograms,Print=False) 210 210 varyList = rbVary+phaseVary+hapVary+histVary 211 msg = G2mv.EvaluateMultipliers(const Dict,phaseDict,hapDict,histDict)211 msg = G2mv.EvaluateMultipliers(constrDict,phaseDict,hapDict,histDict) 212 212 if msg: 213 213 return 'Unable to interpret multiplier(s): '+msg,''
Note: See TracChangeset
for help on using the changeset viewer.