Python Code Snippets
PspptReader
This is an example of reading a PS-PPT file and plotting a force image. An …
Data Augmentation (Height Distortion: Fluctuation)
It is expected that the data can be used for augmentation in neural network training.
Data Augmentation (Height Distortion: Tip Damage)
It is expected that the data can be used for augmentation in neural network training.
Data Augmentation (Height Distortion: Sample Slope)
It is expected that the data can be used for augmentation in neural network training.
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 …