Lawyer-Fujita Algorithm

read 3ds file using MATLAB / Python

Lawler-Fujita Algorithm for STM image process

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
###################################
# load data from 3ds file
###################################
filename = 'mapping--002.3ds'
Im = 1j
grid = nap.read.Grid(filename)
size_x = grid.header['size_xy'][0]
size_y = grid.header['size_xy'][1]
lines = grid.header['dim_px'][0]
points = grid.header['dim_px'][1]
nm_to_m = 10**(-9)
im = grid.signals['topo']
palette = spiepy.NANOMAP
palette.set_bad('r',1.0)
fig, ax = plt.subplots()
ax.imshow(im, cmap=palette, origin='lower')
plt.show()

Lawyer-Fujita Algorithm
http://example.com/2023/04/26/stm_image_process/
Author
Shijie Fang
Posted on
April 26, 2023
Licensed under