tidy3d.plugins.klayout.drc.results.DRCViolation#

class DRCViolation[source]#

Bases: Tidy3dBaseModel

A class for storing KLayout DRC violation results for a single category.

Parameters:
  • category (str) – The category of the DRC violation.

  • markers (tuple[DRCMarker, …]) – Tuple of DRC markers in this category.

Attributes

count

The number of DRC markers in this category.

violated_cells

Tuple of cells containing markers for this violation.

violations_by_cell

Return a violation per cell scoped to those markers.

category

markers

category#
markers#
property count#

The number of DRC markers in this category.

property violated_cells#

Tuple of cells containing markers for this violation.

property violations_by_cell#

Return a violation per cell scoped to those markers.