Table of Contents

Name

dtbsim - program to simulate the marXperts "desktop beamline" goniostat (mardtb) System

Synopsis

dtbsim [ -h ] [ --help ] [ -b C1 C2 ] [ --beam C1 C2 ] [ -i N M ] [ --intensity IC1 IC2 ] [ -o N ] [ --offset N ] [ -p PORT ] [ --port PORT ] [ -s ] [ --swap ] [ -v ] [ --verbose ] [ -var N ]

Description

dtbsim is a program to fully simulate the marXperts mardtb goniostat system. This program is useful to test, debug or demonstrate software to operate the mardtb (e.g. program mar345dtb).

Options

-b, --beam C1 C2
Specifies the simulated size in mm of an X-ray beam in ionization chambers 1 and 2. This option will have impact only on the alignment routines (find beam, optimize beam). The default values are 1.2 mm and 0.9 mm for chambers 1 and 2, respectively. Note that the simulation will yield a Gaussian curve comprised within the given range.

-i, --intensity IC1 IC2
Specifies the simulated readings of an X-ray beam in ionization chambers 1 and 2. The defaults are 30000 and 25000.

-o, --offset N
Specifies the simulated ground line readings of ionization chambers 1 and 2. The default is 1000 counts.

-var N
Specifies the simulated variation of the ionization chamber readings. The default is +/- 20 counts.

-v, --verbose
Increase verbosity level,.

-p, --port PORT
Use TCP/IP-port <PORT> rather than the default 4451. -s, --swap) Swaps bytes when reading input commands or sending status and data. This needs to be done if the driver program (mar345dtb) is run on a CPU with a different byte order than program dtbsim (e.g. Intel/AMD vs. PowerPC).

-s, --swap) Swaps bytes when reading input commands or sending status and data.

Program Operation

dtbsim is a TCP/IP-server program listening on ports 4451 to 4454 (unless specified differently) for incoming connections from client programs like mar345dtb. It accepts commands through a socket interface and writes simulated scan data on the data port. Most standard functions like moving the mardtb motors, doing exposures in time mode and standard alignment procedures (find and optimize beam) should work as a real instrument. Some more exotic features like sample changer operations, easymount operations and special alignment functions (adjust) are not implemented.

Examples

dtbsim -port 4451

See Also

mar345dtb

Author

Claudio Klein, marXperts GmbH, Norderstedt, Germany

Copyright

© Copyright 2013 marXperts GmbH, Norderstedt, Germany

Address

marXperts GmbHPhone: +49 - (40) - 529 884-0
Werkstr. 3 FAX: +49 - (40) - 529 884-20
D-22844 Norderstedt - GERMANYinfo@marXperts.com
www.marXperts.com


Table of Contents