Commit Graph

20 Commits (build_paths)

Author SHA1 Message Date
Jan Petykiewicz fff20b3da9 Avoid generating a container if only a single port is passed 1 year ago
Jan Petykiewicz 4bae737630 allow bounds to be passed as args 1 year ago
Jan Petykiewicz 9891ba9e47 allow passing a single Tool to be used as the default 1 year ago
Jan Petykiewicz df320e80cc Add functionality for building paths (single use wires/waveguides/etc) 1 year ago
Jan Petykiewicz bfabd351c4 fix circular import 2 years ago
jan 2b8195ad3e move dev2pat and pat2dev into masque.builder.port_utils 2 years ago
jan 5ef34794ff keep ordering stable for same-y ports 2 years ago
jan f178e94d82 remove old overloads 2 years ago
jan a4fe3d9e2e Use ArrayLike and NDArray wherever possible. Some type fixes and some related corner cases 2 years ago
jan 89f327ba37 reformat some multiline arg lists and add missing 'None' return types 2 years ago
Jan Petykiewicz 47e8cab73c fix format string now that ptypes are str-typed 3 years ago
Jan Petykiewicz a92ab9425b typo in 4788fa3c 3 years ago
Jan Petykiewicz 4788fa3ca5 add Device.rename() 3 years ago
Jan Petykiewicz 52c6634a25 fix port comparison regression 3 years ago
Jan Petykiewicz 4796676a4e use ArrayLike when accepting pseudo-ndarrays 3 years ago
Jan Petykiewicz 3aefa644e5 fix type annotations for Device.__getitem__ 3 years ago
Jan Petykiewicz 0d733bdc6f Breaking change: Use string-valued ptypes, with default value 'unk' 3 years ago
Jan Petykiewicz 7225fd5715 add traceback to port type warnings 3 years ago
Jan Petykiewicz 479e0c3c2e fix mirroring for rotated ports/devices 4 years ago
Jan Petykiewicz 177f9952a5 Add builder submodule, Device and Port definitions, and DeviceLibrary 4 years ago