Syntax
p2c = calcParent(childOri,p2c0)
p2c = calcParent(c2c,p2c0)
p2c = calcParent(c2c,p2c0,'dampingFactor',alpha)
[p2c, fit] = calcParent(c2c,p2c0)
Input
   
      
         | childOri | child orientation | 
      
         | c2c | child to child misorientation | 
      
         | p2c0 | initial guess of the parent to child orientation relationship | 
   
Output
   
      
         | p2c | parent to child orientation relationship | 
      
         | fit | disorientation angle between all c2c misorientations and the computed one | 
   
Options
   
      
         | maxIteration | maximum number of iterations (default - 100) | 
      
         | quantile | consider only misorientation within this quantile to the current p2c guess (default 0.9) | 
      
         | threshold | consider only misorientation within this threshold to the current p2c guess (default - 10*degree) | 
      
         | dampingFactor | default - 1/numVariants | 
   
References