next up previous contents index
Next: IUPAC_MODEL standardize Up: Handling of atomic coordinates Previous: PICK_HOT_ATOMS pick   Contents   Index

RANDOMIZE_XYZ -- randomize MODEL coordinates

DEVIATION = <real:1> 0.0 coordinate randomizaton amplitude in angstroms
RAND_SEED = <integer:1> 8123 random seed from -50000 to -2

Description:
This command randomizes the Cartesian coordinates of the selected atoms (set 1) in MODEL. If DEVIATION is positive, the coordinates are randomized by the addition of a random number uniformly distributed in the interval from $-{\sf DEVIATION}\index{DEVIATION@{\sf DEVIATION}}$ to $+{\sf DEVIATION}\index{DEVIATION@{\sf DEVIATION}}$ angstroms. If DEVIATION is negative, the coordinates are assigned a random value uniformly distributed in the interval from $-{\sf DEVIATION}\index{DEVIATION@{\sf DEVIATION}}$ to $+{\sf DEVIATION}\index{DEVIATION@{\sf DEVIATION}}$ angstroms.

Example:


# Example for: RANDOMIZE_XYZ

# This will randomize the X,Y,Z of the model:

READ_MODEL FILE = '1fas'

# Change existing X,Y,Z for +- 4 angstroms:
RANDOMIZE_XYZ DEVIATION = 4.0
WRITE_MODEL FILE = '1fas.ini1'

# Assign X,Y,Z in the range from -100 to 100 angstroms:
RANDOMIZE_XYZ DEVIATION = -100.0
WRITE_MODEL FILE = '1fas.ini2'



Ben Webb 2004-10-04