Skip to content

Commit

Permalink
Bug fix for scribe lines
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MichaelHotaling authored Aug 8, 2022
1 parent 8364577 commit df87274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions klarfkit/klarfkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def plot_wafer_map(self, color='_KLARFNAME', die_line_alpha=0.2, die_line_color=
for i in range(-int(self.sample_size // self.die_pitch[0]) - 10,
int(self.sample_size // self.die_pitch[0]) + 10):

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

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

0 comments on commit df87274

Please sign in to comment.