Home > Applications > Horace > @d3d > refine_crystal.m

iFit/refine_crystal

PURPOSE ^

Refine crystal orientation and lattice parameters for a d3d object.

SYNOPSIS ^

function varargout = refine_crystal (varargin)

DESCRIPTION ^

 Refine crystal orientation and lattice parameters for a d3d object.

   >> [rlu_corr,alatt,angdeg] = refine_crystal(w, rlu0, rlu)
   >> [rlu_corr,alatt,angdeg] = refine_crystal(w, rlu0, rlu, alatt_init, angdeg_init)

 In addition, there are keyword arguments to control the refinement e.g.
   >> [rlu_corr,alatt,angdeg] = refine_crystal(..., 'fix_angdeg')
   >> [rlu_corr,alatt,angdeg] = refine_crystal(..., 'free_alatt', [1,0,1])

 In all cases, further output arguments can be returned:
   >> [rlu_corr,alatt,angdeg,rotmat,distance,rotangle] = refine_crystal(...)


 For full details of the arguments, type:

   >> help sqw/refine_crystal

 The help is identical, except here the input object is a d3d object

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1