#
#     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 0.2
#CCP4I SCRIPT DEF dm
#CCP4I DATE  25/06/97 16:05:30
#CCP4I USER lizp

TITLE			_title_text		""
HTML_LOG		_logical		1

INPUT_FILES		_list_of_text		"HKLIN MASKIN"
OUTPUT_FILES            _list_of_text		"HKLOUT MASKOUT"

NCS_MODE		_logical 		1
SOLVENT_MASK_MODE	_logical		0
SOLC_MEAN_SOLVVAL	_real			""
SOLC_MEAN_PROTVAL	_real			""
PHASE_COMB		_dm_phase_comb		PERT
NOCOMBINE		_logical		0
DM_SCHEME		_dm_scheme		ALL
DM_SCHEME_RES		_positivereal		""
DM_SCHEME_FRAC		_fraction		""

SOLMASK_FRAC_SOLV	_fraction		""
SOLMASK_FRAC_PROT	_fraction		""
IF_SOLMASK_UPDATE	_logical		0
SOLMASK_UPDATE_NCYC	_positiveint		1
IF_SOLMASK_WANG		_logical		0
WANG_RADIUS		_real			""
WANG_MODE		_dm_wang_mode		2

EXCLUDE_RESOLUTION      _logical        0
EXCLUDE_RESOLUTION_MIN  _positivereal   ""
EXCLUDE_RESOLUTION_MAX  _positivereal   ""

HKLIN			_MTZ_file		""
DIR_HKLIN		_default_dirs           ""
HKLOUT			_MTZ_file		""
DIR_HKLOUT		_default_dirs           ""
MASKIN			_mask_file		""
DIR_MASKIN		_default_dirs           ""
MASKOUT			_mask_file		""
DIR_MASKOUT		_default_dirs           ""

IFVUOUT			_logical		0
VUOUT_FORMAT		_dm_vuout_format	O

USE_HL			_logical		1
USE_COEFFS		_logical		0
LABIN			_text			"FP SIGFP PHIO FOMO"
FP			_mtz_label_f		""
SIGFP			_mtz_label_sig		""
PHIO			_mtz_label_phi		""
FOMO			_mtz_label_w		""
HLA			_mtz_label_hl		""
HLB			_mtz_label_hl		""
HLC			_mtz_label_hl		""
HLD			_mtz_label_hl		""
FDMIN			_mtz_label_f		""
PHIDMIN			_mtz_label_phi		""

FDM			_mtz_label_out		"FDM"
PHIDM			_mtz_label_out		"PHIDM"
FOMDM			_mtz_label_out		"FOMDM"
HLADM			_mtz_label_out		"HLADM"
HLBDM			_mtz_label_out		"HLBDM"
HLCDM			_mtz_label_out		"HLCDM"
HLDDM			_mtz_label_out		"HLDDM"
LABOUT          	_text			"FDM PHIDM FOMDM"
LABOUT_ID		_text			DM

FREER			_mtz_label_freer	""

SOLVENT_FRAC		_fraction		""
DM_SOLVENT		_logical		1
DM_HISTOGRAM		_logical		1
DM_SKELETON		_logical		0
DM_SAYRE		_logical		0
DM_AVERAGING		_logical		0
DM_MULTI		_logical		0


NCS_NDOMAINS		_dm_ndomains		1

NCS_MASK_FILE,0		_mask_file		""
DIR_NCS_MASK_FILE,0	_default_dirs		""
NCS_REFINE_OP,0		_logical		1
NCS_NOPS,0		_dm_ncs_nops		1

NCS_OP_TYPE             _dm_ncs_op_type         EULER
NCS_OP_ALPHA,0		_angle			""
NCS_OP_BETA,0		_angle			""
NCS_OP_GAMMA,0		_angle			""
NCS_OP_XTRAN,0		_translation		""
NCS_OP_YTRAN,0		_translation		""
NCS_OP_ZTRAN,0		_translation		""
NCS_OP_R11,0            _real                   ""
NCS_OP_R12,0            _real                   ""
NCS_OP_R13,0            _real                   ""
NCS_OP_R21,0            _real                   ""
NCS_OP_R22,0            _real                   ""
NCS_OP_R23,0            _real                   ""
NCS_OP_R31,0            _real                   ""
NCS_OP_R32,0            _real                   ""
NCS_OP_R33,0            _real                   ""

NCSMASK			_logical		1
NCSMASK_NMER		_positiveint		""
NCSMASK_ALIM_1		_real			""
NCSMASK_ALIM_2		_real			""
NCSMASK_BLIM_1		_real			""
NCSMASK_BLIM_2		_real			""
NCSMASK_CLIM_1		_real			""
NCSMASK_CLIM_2		_real			""
IF_NCSMASK_UPDATE	_logical		0
NCSMASK_UPDATE_NCYC	_positiveint		""

DM_PHASE_COMB_NSETS	_positiveint		20
DM_SKEL_JOINLEN		_positivereal		6.0
DM_SKEL_ENDLEN		_positivereal           6.0
DM_SKEL_BFAC		_real			45.0
DM_SKEL_CYCLES		_dm_skel_cycles		5

GRID			_logical		0
GRID_1			_positiveint		""
GRID_2			_positiveint		""
GRID_3			_positiveint		""

DM_NCYCLES_NOT_AUTO	_logical		0
DM_NCYCLES		_positiveint		10
DM_RESTORE_WT		_positivereal		0.0

IF_DM_REALFREE          _logical                0
DM_REALFREE_SUB         _logical                0
DM_SX                      _real                   ""
DM_SY                      _real                   ""
DM_SZ                      _real                   ""
DM_SR                      _real                   ""
DM_PX                      _real                   ""
DM_PY                      _real                   ""
DM_PZ                      _real                   ""
DM_PR                      _real                   ""


IF_MAPOUT       	_logical                0
MAPOUT_FORMAT   	_map_format             MAP_DEFAULT

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