Home > Scripts > Models > Factory > cif2hkl.m

iFit/cif2hkl

PURPOSE ^

result = cif2hkl(file_in, file_out, lambda, mode, verbose)

SYNOPSIS ^

function result = cif2hkl(varargin)

DESCRIPTION ^

 result = cif2hkl(file_in, file_out, lambda, mode, verbose)

 Read a CIF/CFL/SHX/PCR crystallographic description
       and generates a HKL F^2 reflection list.

 Input:
   file_in:   name of CIF/CFL/PCR/ShellX file (char)
   file_out:  name of output file, or empty for '<file_in>.laz' (char)
   lambda:    minimum wavelength used for generation of HKL peaks. Default is 0.5  (scalar, Angs)
   mode:      file conversion mode 'p'=powder, 'x'=single crystal, '-'=no/unactivated
   verbose:   verbosity level, 0 or 1 (scalar)
 Output:
   result:    command result (char)
   file_out is written when mode is not '-'

 Revision: Aug. 22, 2017
 (c) E.Farhi, ILL. License: EUPL.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1