cleanup readme and example
This commit is contained in:
parent
cfc7eb1890
commit
afe3a3f129
2 changed files with 67 additions and 71 deletions
|
|
@ -1,8 +1,6 @@
|
|||
"""
|
||||
Example code for checking connectivity in a layout by using
|
||||
`snarled` and `masque`.
|
||||
Example code for checking connectivity in a layout by using `snarled`
|
||||
"""
|
||||
from pprint import pformat
|
||||
import logging
|
||||
|
||||
import snarled
|
||||
|
|
@ -12,13 +10,14 @@ from snarled.types import layer_t
|
|||
logging.basicConfig()
|
||||
logging.getLogger('snarled').setLevel(logging.INFO)
|
||||
|
||||
|
||||
# How are the conductors connected to each other?
|
||||
connectivity = [
|
||||
((1, 0), (1, 2), (2, 0)), # M1 to M2 (via V12)
|
||||
((1, 0), (1, 3), (3, 0)), # M1 to M3 (via V13)
|
||||
((2, 0), (2, 3), (3, 0)), # M2 to M3 (via V23)
|
||||
]
|
||||
|
||||
# What labels should be loaded, and which geometry layers should they apply to?
|
||||
labels_map: dict[layer_t, layer_t] = {
|
||||
(1, 0): (1, 0),
|
||||
(2, 0): (2, 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue