aboutsummaryrefslogtreecommitdiff
path: root/doc/man/pattern_sim.1
blob: d53aeae5e3b0d2f30d9051dca9e627cd7298201b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.\"
.\" pattern_sim man page
.\"
.\" (c) 2009-2011 Thomas White <taw@physics.org>
.\"
.\" Part of CrystFEL - crystallography with a FEL
.\"

.TH PATTERN\_SIM 1
.SH NAME
pattern\_sim \- Simulation of nanocrystallographic diffraction patterns
.SH SYNOPSIS
.PP
.B pattern\_sim
[options]

.SH DESCRIPTION

pattern_sim does not know about symmetry, so your input reflection list
(give with "-i") must be expanded.  You can do this with:

$ get_hkl -i myfile.hkl -o output.hkl -y mypointgroup -e 1

get_hkl does not currently understand symmetry, which means you'll have to
expand any molecular model (the PDB) out to P1 to get the correct results.  You
can achieve that, for example, by loading it into Mercury, turning on "Packing"
and re-saving.  Alternatively, you can do this using CCP4 with a command like:

$ echo symgen P63 | pdbset xyzin model.pdb xyzout model-P1.pdb

While on this subject, you might also want to include hydrogens in the model
using something like:
$ echo HYDROGENS APPEND | hgen xyzin model.pdb xyzout model-with-H.pdb

Please be sure to read the "Note about Unit Cell Settings" in the documentation
for indexamajig.