Skip to content

Commit df87274

Browse files
Bug fix for scribe lines
Issue Number: #1 Found issue with scribe lines not aligning with third party software Resolved by adding negative to both `die_x_lines` and `die_y_lines` Thank you, orangeccc for the opening this bug report.
1 parent 8364577 commit df87274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

klarfkit/klarfkit.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def plot_wafer_map(self, color='_KLARFNAME', die_line_alpha=0.2, die_line_color=
7474
for i in range(-int(self.sample_size // self.die_pitch[0]) - 10,
7575
int(self.sample_size // self.die_pitch[0]) + 10):
7676

77-
die_x_lines = self.center_location[0] + (i * self.die_pitch[0])
77+
die_x_lines = -self.center_location[0] + (i * self.die_pitch[0])
7878
height_squared = (self.sample_size / 2) ** 2 - die_x_lines ** 2
7979
if height_squared > 0:
8080
height = np.sqrt(height_squared)
@@ -88,7 +88,7 @@ def plot_wafer_map(self, color='_KLARFNAME', die_line_alpha=0.2, die_line_color=
8888
for i in range(-int(self.sample_size // self.die_pitch[1]) - 10,
8989
int(self.sample_size // self.die_pitch[1]) + 10):
9090

91-
die_y_lines = self.center_location[1] + (i * self.die_pitch[1])
91+
die_y_lines = -self.center_location[1] + (i * self.die_pitch[1])
9292
width_squared = (self.sample_size / 2) ** 2 - die_y_lines ** 2
9393
if width_squared > 0:
9494
width = np.sqrt(width_squared)

0 commit comments

Comments
 (0)