Code

Contact Approach with PSPD Align
print('Approach Started') spm.addChannel('a-b') //Backup original setting values sp_0 = spm.zservo.setpoint.normValue …
X_1Step_Error_Test
//X Stage baseDir = '/' targetDefocus = 317.5 motorStep = …
Start NCM Sweep

Code that performs an NCM Sweep

from SmartRemote import SmartRemote class NCMSweep: def __init__(self, SR:SmartRemote): self.__sr …
AutoAlign Test for Extraction of Vision Parameters
passDir = 'C:/Users/RRD_LAB/Desktop/20220114_autoalign_param/Pass/' failDir = 'C:/Users/RRD_LAB/Desktop/20220114_autoalign_param/Fail/' smplHeight = 17500 zPosAfterPickup …
ATX Repeat Test
//Save Directory baseDir = 'C:/Users/RRD_LAB/Desktop/Scrip_Test/' visionDir = 'C:/Users/RRD_LAB/Desktop/Scrip_Test/Vision/' //Create Data …
Add and delete bulk channels

Code to add or remove channel data displayed in the line profile. [dependency] - SmartRemote

from json import dumps from SmartRemote import SmartRemote class ControlBulkChannel: …
Control the Z Scanner

[set] You can retract the Z Scanner or adjust its operating range. [get] You can …

from SmartRemote import SmartRemote class ControlZScanner: def __init__(self): self.__sr = …
Gaussian fitting

Code to fit input 1D data with a Gaussian function. [dependency] - numpy - scipy

import numpy as np import matplotlib.pyplot as plt from scipy.interpolate …
Region histogram

Compute and plot the region histogram. [dependency] - numpy - matplotlib - pspylib

import os import numpy as np import matplotlib.pyplot as plt …
Wafer Zero Scan SmartRemote Code

Wafer Zero Scan code used in the Quality Assurance Automation Tool

from src.core.afm import AFM as AFM from src.core.afm import CHECKER …
N-dimension flatten

Flatten the TIFF image data using a n-order Legendre polynomial function. [dependency] - numpy - …

import os import numpy as np import matplotlib.pyplot as plt …
One dimension flatten

Flatten the TIFF image data using a first-order polynomial function. [dependency] - numpy - pspylib …

import os import numpy as np import matplotlib.pyplot as plt …
Reading and writing TIFF files

[read] This code reads a TIFF file using pspylib and converts it into a dictionary. …

import os from PIL import Image import numpy as np …
Tip bias Pulse PowerScript Code

Tip Bias Pulse Applied in F/d Mode Code that can be used when you only …

var numPulse = 10; // num. of pulse var durationHigh …
StepScan PowerScript Code

This code run StepScan in SmartScan

var $ = { "flag" : { "useCantileverFromStepScanParam" : false, …
Programming Languages