Practical Electron Microscopy and Database

An Online Book, Second Edition by Dr. Yougui Liao (2006)

Practical Electron Microscopy and Database - An Online Book

Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix

Inline Images in DM

Based on DM scripting rule, an inline image is a way of specifying an image of a constant size with defined values for every element inline.

Table 1108. Examples of inline image in DM.

Script
Note
inline image
Script file
Or,
inline image
Script file

◆ The output of the script is:

◆ This script creates a 3 x 2 floating point image.

◆ The dimensions "[3,2]" in Line 8 are specified as width, height and must be constant positive integers.

◆ The comma between big parentheses in Lines 10 and 18 are needed

inline image
Script file
Or,
inline image
Script file

◆ The output of the script is:

◆ In the second script case, no variables are needed to be assigned.

inline image
Script file

◆ The output of the script is:

◆ The complex images can be specified inline. In this case, because one of the elements is complex, then the whole inline image is complex