Code

Calculate the region histogram range

Code to calculate the height of a grating sample with two regions. [dependency] - numpy …

import os import warnings import numpy as np from sklearn.cluster …
3d plot tiff

Visualize the TIFF image as a 3D plot. [dependency] - numpy - matplotlib - pspylib

import os import numpy as np import matplotlib.pyplot as plt …
plot tiff

Adjust the color map range to make the TIFF visualization look better. [dependency] - numpy …

import os import numpy as np import matplotlib.pyplot as plt …
Set Point 별 Lateral Sensitivity & Noise 측정
// 하는 거 // Set point (nN) 별로 Lateral Sensitivity와 …
2nd Harmonic EFM Frequency Sweep with LIA2, 3
lia2 = { 'frequencyHz': 100, 'drivePercent': 100, 'channel': 'tip bias' …
Set Data location

Set the save location for TIFF files measured by SmartScan. [dependency] - SmartRemote

from json import dumps from SmartRemote import SmartRemote class DataLocation: …
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 …
Programming Languages