Python Code Snippets
image scan (NCM)
Code implemented to operate according to the sequence for acquiring NCM images. Default parameters are …
Control Head mode
[set] Head Mode Change SLD On/Off [get] sld on/off mode type pspd align [dependency] - …
Image Acquisition Code for Cantilever Training Model
Sample: The specimen to be measured (if too close, sample color may mix with the …
Flatten the grating sample
Code that uses K-Means clustering to split the Top and Bottom regions and performs line …
Calculate the region histogram range
Code to calculate the height of a grating sample with two regions. [dependency] - numpy …
3d plot tiff
Visualize the TIFF image as a 3D plot. [dependency] - numpy - matplotlib - pspylib
plot tiff
Adjust the color map range to make the TIFF visualization look better. [dependency] - numpy …
Set Data location
Set the save location for TIFF files measured by SmartScan. [dependency] - SmartRemote
Start NCM Sweep
Code that performs an NCM Sweep
Add and delete bulk channels
Code to add or remove channel data displayed in the line profile. [dependency] - SmartRemote
Control the Z Scanner
[set] You can retract the Z Scanner or adjust its operating range. [get] You can …
Gaussian fitting
Code to fit input 1D data with a Gaussian function. [dependency] - numpy - scipy
Region histogram
Compute and plot the region histogram. [dependency] - numpy - matplotlib - pspylib
Wafer Zero Scan SmartRemote Code
Wafer Zero Scan code used in the Quality Assurance Automation Tool
N-dimension flatten
Flatten the TIFF image data using a n-order Legendre polynomial function. [dependency] - numpy - …