Scripting Resources for DigitalMicrograph™ |
Example: Adding and Controlling Bandpass Filters | |
Function |
An example script which shows how to add and control bandpass filters using script-. These are normally added via the FFT masking tools in the menu. |
Version |
20190605, v1.0 |
Author |
D. R. G. Mitchell |
Acknowledgements |
- |
Comments |
The bandpass filter is the annular filter, typically used for selecting a range of frequencies in an FFT. This example shows how to add such a filter to an image and to set its inner and outer radii. The factors constraining the inner and outer radii are explored. To understand how to create a mask from an applied filter see the following example script 'Accumulating ROIs and Other Components to Create a Mask'. |
System Requirements |
Should be compatible with all recent versions of DigitalMicrograph. It has been tested on GMS 2.32. |
Known Issues |
- |
Supported |
Yes |
Included Files |
Main script file. |
Source Code |
See attached source code. |