Electron microscopy
 
Inline Images in DM
- Practical Electron Microscopy and Database -
- An Online Book -
Microanalysis | EM Book                                                                                   http://www.globalsino.com/EM/        


=================================================================================

 

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

 

 

=================================================================================