EasyManua.ls Logo

Dectris PILATUS - User Defined Commands

Dectris PILATUS
57 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
User_Manual-PILATUS-V1_2.doc 28/57
maskimg Declare, inquire about or turn off the current mask image.
Usage: maskimg [im] -or- maskimg 0
If present, the mask is used to blank out bad pixels in
statistical routines such as box, integrate, spot &
histogram. Zeros in the mask are excluded from the
analysis, non-zeroes are included.
With no argument, displays the current mask image
name, if any. With numeric argument (e.g. 0), turn off the
mask image.
You can also check the current mask image by using the
command "maskimg" with no arguments, the path of the
current mask image will be shown or a message saying
"Mask image is not set" if there is no mask image being
used.
pixlfill [IM] value Set pixels in IM to value using the current box as a
template. This permits you to manually alter a mask
image based on observations on a different image.
If the command "deleteallobjs" is used after you have loaded a
mask image your maskimg will be reset; of course, the stored image is
untouched.
8.7 User defined commands
TVX supports complex C-like commands in the command line.
Example:
To display a series of images as a movie:
format 2; for (i=0;i<100;i++){disp1 image_000[i]; wait 0.5}
Displays image_00000 to image_00099 and waits 0.5 seconds between each
picture. The brackets [ ] mean to substitute the enclosed argument as text
with the number of digits specified by the format.
With define one can create custom commands for the current session and
eventually save them for reuse.
Example: