Any Twinabs

An example of how to handle twin datasets with any and twinabs.

Assume two datafiles: ia/final.y and ib/final.y. We create a reflection file containing single reflections from the first datafile, single reflections from the second datafile and overlapping reflections of both sets (in Twinabs these reflections are named composite
command comment
any read ia/final.y Read first datafile
Note two lattices: a and b. Two orientation matrices a and b. In this dataset b is interfering to a.
allow overlapsum single and overlappping reflections
msa 0.001 no sigma correction
omitsum on If single available, use it
hklf5batch 1 2 set batch number 1 for lattice a and 2 for lattice b
twinabs write reflections.
read ib/final.y read second datafile
Note two lattices: b and a. two orientation matrices b and a. In this dataset a is interfering to b.
msa 0.001 same corrections
forbid overlapsum overlapsum reflections are already in the file
hklf5batch 2 1 set batch number 2 for lattice b and 1 for lattice a
coscell 2 direction cosines relative to lattice a
because crystal description is based on lattice a
twinabs append reflections to file.
hklclose close reflections file
exit finished

Any
Command list