#
#     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.11
#CCP4I SCRIPT DEF maputils
#CCP4I DATE  25/06/98 16:05:30
#CCP4I USER lizp

INPUT_FILES 	_list_of_text		"MAPIN"
OUTPUT_FILES	_list_of_text		"MAPOUT"

MAPIN		_map_file		""
DIR_MAPIN	_default_dirs		""
MAPIN2		_map_file		""
DIR_MAPIN2	_default_dirs		""
MSKIN           _mask_file              ""
DIR_MSKIN       _default_dirs           ""
MSKIN2           _mask_file             ""
DIR_MSKIN2       _default_dirs          ""
XYZIN		_pdb_file		""
DIR_XYZIN	_default_dirs		""
MTZIN		_MTZ_file		""
DIR_MTZIN	_default_dirs		""
MAPLIM		_map_file		""
DIR_MAPLIM	_default_dirs		""

MAPOUT 		_map_file               ""
DIR_MAPOUT 	_default_dirs           MAP_DEFAULT
MSKOUT 		_mask_file               ""
DIR_MSKOUT 	_default_dirs           MAP_DEFAULT

MAPMASK_MODE	_mapmask_mode		EDIT
MAPMASK_OBJECT	_mapmask_which		MAP
TITLE       		_title_text     ""
SPACE_GROUP     	_space_group    ""
IFAXIS			_logical	0
AXIS			_xyz_sort_order XYZ
IFPRINT			_logical	0
PRINT_AXIS		_xyz_axis	X
PRINT_FIRST		_int		""
PRINT_LAST		_int		""
PRINT_STEP		_int		""

EXTEND_FUNCTION		_mapmask_ext_mode	MOLECULE
IFXYZLIM		_logical	0
XYZLIM_MODE		_text		""
XYZLIM_1        	_real   	""
XYZLIM_2        	_real   	""
XYZLIM_3        	_real  	 	""
XYZLIM_4        	_real   	""
XYZLIM_5        	_real   	""
XYZLIM_6        	_real   	""
IFBORDER		_logical	0
BORDER			_int		5
EXTEND_MODE		_mapmask_extend	DEFAULT
IFPAD			_logical	0
PADRHO			_real		0.0

IFMASK			_logical	0
MASKMODE		_mapmask_mask	CUT
MASKCUT			_real		""
MASKFRAC		_fraction	""
MASKVOLUME		_fraction	""

IFSCALE			_logical	0
SCALE_MODE		_text		FACTOR
SCALE_MODE_1		_mapmask_scale_1	FACTOR
SCALE_MODE_2		_mapmask_scale_2	MEAN
SCALE_FACTOR_1		_real		1.0
SCALE_FACTOR_2		_real		0.0
SCALE_SIGMA_1		_real		1.0
SCALE_SIGMA_2		_real		0.0
SCALE_MEAN_1		_real		""
SCALE_MEAN_2		_real		""
SCALE_RATIO		_real		""

IFSOLVENT_FLAT		_logical	0
SOLVENT_FLIP_FACTOR	_mapmask_flip	1.0
SOLVENT_ATTN_FACTOR	_real   	1.0

IFCOMBINE		_logical		0
COMBINE_MODE		_mapmask_which_1	MAPS
COMBINE_FUNCTION	_mapmask_combine	ADD

IFMAPROT		_logical		0
MAPROT_MODE		_text			FROM
MAPROT_MAP_TYPE         _text                   WORK
IFGRID			_logical		1
GRID_1			_positiveint		""
GRID_2			_positiveint		""
GRID_3			_positiveint		""
IFCELL			_logical		1
CELL_1			_cell_length		""
CELL_2			_cell_length		""
CELL_3			_cell_length		""
CELL_4			_cell_angle		""
CELL_5			_cell_angle		""
CELL_6			_cell_angle		""
NCS_NOPS		_positiveint		1
NCS_OP_CONVENTION,0     _text                   EULER
NCS_OP_ALPHA,0		_real			""
NCS_OP_BETA,0		_real			""
NCS_OP_GAMMA,0		_real			""
NCS_OP_XTRAN,0		_real			""
NCS_OP_YTRAN,0		_real			""
NCS_OP_ZTRAN,0		_real			""
NCS_OP_CONVENTION,1     _text                   EULER
NCS_OP_ALPHA,1          _real                   ""
NCS_OP_BETA,1           _real                   ""
NCS_OP_GAMMA,1          _real                   ""
NCS_OP_XTRAN,1          _real                   0.0
NCS_OP_YTRAN,1          _real                   0.0
NCS_OP_ZTRAN,1          _real                   0.0



