pwCalculateConstraints


 [chisq, residuals] = pwCalculateConstraints(indCouples)

 Calculates the constraint-based chisq value for couples specified by their
 index in the combination list.

 

Arguments for pwCalculateConstraints

 indCouples   Position of a model-data-couple within the assembly
              for which the penalty value of the constraints  will be determined.
              If no indCouples is given, the constraint-based chisq value for all
              couples is determined, i.e. indCouples = 1:pwGetNumberOfFittedCouples()

 chisq        Penalty value which is added to the optimized chi-square value.

 residuals    For each constraint the residual is the non-squared contribution
              to the penalty chisq value. This is similar to the residuals
              between data and model.

 

Description

 Without an output argument, a detailed list is displayed in the command window.

See also

pwGetChisqAndN
pwGetNumberOfFittedCouples