#
#     Copyright (C) 1999-2004  Liz Potterton, Peter Briggs
#
#     This code is distributed under the terms and conditions of the
#     CCP4 Program Suite Licence Agreement as a CCP4 Library.
#     A copy of the CCP4 licence can be obtained by writing to the
#     CCP4 Secretary, Daresbury Laboratory, Warrington WA4 4AD, UK.
#
#CCP4i_cvs_Id $Id$
#CCP4I VERSION CCP4Interface 1.3.1
#CCP4I SCRIPT DEF mosflm
#CCP4I DATE  12/12/01 16:05:30
#CCP4I USER pjx

TITLE           _title_text                ""

INPUT_FILES     _list_of_text              "MATRIX_FILE"
OUTPUT_FILES    _list_of_text              "HKLOUT"

MATRIX_FILE     _any_file                  ""
DIR_MATRIX_FILE	_default_dirs              ""

HKLOUT          _MTZ_file                  ""
DIR_HKLOUT      _default_dirs              ""

GENFILE         _any_file                  ""
DIR_GENFILE     _default_dirs              "TEMPORARY"

BATCHFILE       _text                      ""

USE_CWD         _logical                   1

NDIRECTORIES    _positiveint               1
DIRECTORY,0     _text                      ""
DIRECTORY,1     _text                      ""

USE_DETECTOR    _logical                   0
DETECTOR        _mosflm_detectors          MAR
DETECTOR_OMEGA  _integer                   ""
DETECTOR_REVERSEPHI _logical               0
TEMPLATE        _text                      ""
IDENT           _text                      ""
EXTENSION       _text                      ""
LTEMPLATE       _logical                   1

BEAM_X          _positivereal              ""
BEAM_Y          _positivereal              ""
BEAM_SWUNG      _logical                   0
BACKSTOP_X      _positivereal              ""
BACKSTOP_Y      _positivereal              ""
BACKSTOP_R      _positivereal              ""

DISTANCE        _positivereal              ""
TWOTHETA        _positivereal              "0.0"
MOSAICITY       _positivereal              ""

USE_RASTER      _logical                   0
RASTER_1        _positiveint               ""
RASTER_2        _positiveint               ""
RASTER_3        _positiveint               ""
RASTER_4        _positiveint               ""
RASTER_5        _positiveint               ""

SPACEGROUP      _space_group               ""
CELL_1          _cell_length               ""
CELL_2          _cell_length               ""
CELL_3          _cell_length               ""
CELL_4          _cell_angle                ""
CELL_5          _cell_angle                ""
CELL_6          _cell_angle                ""
WAVELENGTH      _positivereal              ""

RESOLUTION_MAX  _resolution                ""
RESOLUTION_MIN  _resolution                ""

SEPARATION_X    _positivereal              ""
SEPARATION_Y    _positivereal              ""
SEPARATION_CLOSE    _logical               0

DISTORTION_YSCAL _real                     ""
DISTORTION_TILT  _real                     ""
DISTORTION_ROFF  _real                     ""
DISTORTION_TOFF  _real                     ""
DISTORTION_TWIST _real                     ""

ADCOFFSET        _positivereal             ""
OVERLOAD_CUTOFF  _positivereal             ""
OVERLOAD_NOVER   _positiveint              ""
NULLPIX          _positiveint              ""
GAIN             _positivereal             ""

PROFILE_TOL_MIN  _positivereal             ""
PROFILE_TOL_MAX  _positivereal             ""
PROFILE_USE_LINES _logical                 0
PROFILE_XLINES_1 _positiveint              ""
PROFILE_XLINES_2 _positiveint              ""
PROFILE_XLINES_3 _positiveint              ""
PROFILE_XLINES_4 _positiveint              ""
PROFILE_XLINES_5 _positiveint              ""
PROFILE_XLINES_6 _positiveint              ""
PROFILE_YLINES_1 _positiveint              ""
PROFILE_YLINES_2 _positiveint              ""
PROFILE_YLINES_3 _positiveint              ""
PROFILE_YLINES_4 _positiveint              ""
PROFILE_YLINES_5 _positiveint              ""
PROFILE_YLINES_6 _positiveint              ""
PROFILE_OVERLOADS _logical                 0
PROFILE_PARTIALS  _logical                 0
PROFILE_FIXBOX    _logical                 0
PROFILE_OPTIMISE  _logical                 1

NRUNS            _positiveint              0

POSTREF,0        _logical                  1
POSTREF_MULTI,0  _logical                  1
POSTREF_SDFAC,0  _positivereal             3.0
POSTREF_FIX,0         _logical             0
POSTREF_FIX_ALL,0     _logical             1
POSTREF_FIX_A,0       _logical             0
POSTREF_FIX_B,0       _logical             0
POSTREF_FIX_C,0       _logical             0
POSTREF_FIX_ALPHA,0   _logical             0
POSTREF_FIX_BETA,0    _logical             0
POSTREF_FIX_GAMMA,0   _logical             0
POSTREF_FIX_MOSAIC,0  _logical             0
POSTREF_WIDTH,0       _positivereal        ""
POSTREF_MOSADD,0      _positivereal        ""
POSTREF_MOSSMOOTH,0   _positiveint         ""

NPROCESS,0       _positiveint              0
PROCESS_FIRST,0  _positiveint              ""
PROCESS_LAST,0   _positiveint              ""
PROCESS_ANGLE,0  _positivereal             ""
PROCESS_START,0  _positiveint              ""
PROCESS_USE_ADD,0   _logical               0
PROCESS_ADD,0    _positiveint              ""
PROCESS_USE_BLOCK,0 _logical               0
PROCESS_BLOCK,0  _positiveint              ""

FIRST_IMAGE      _positiveint              ""
LAST_IMAGE       _positiveint              ""

SYNCHROTRON      _logical                  0
POLARISATION     _positivereal		   ""
DIVERGENCE_X     _positivereal             ""
DIVERGENCE_Y     _positivereal             ""
DISPERSION       _positivereal             ""

@ [FileJoin [GetEnvPath CCP4I_TOP] tasks harvest.def]
