Phidl

Latest version: v1.7.1

Safety actively analyzes 629503 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

1.6.0

New features
- Huge new routing rewrite for `phidl.routing`, including automatic manhattan routing with custom cross-sections! See [the routing documentation](https://phidl.readthedocs.io/en/latest/tutorials/routing.html) for details. Big thanks to Jeffrey Holzgrafe jolzgrafe for this contribution
- `Path`s can now be used to produce sharp angles, in addition to smooth bends. See [the Path documentation](https://phidl.readthedocs.io/en/latest/tutorials/waveguides.html#Sharp/angular-paths)

Changes
- The `Path()` constructor no longer forces the path to start at (0,0)

Bugfixes
- Interactive zoom for `quickplot()` is now disabled by default in Jupyter-type notebooks to avoid strange scrolling behavior. This can be manually changed using `set_quickplot_options(interactive_zoom = True)`

1.5.2

- Hotfix to guarantee Python 2 compatibility

1.5.1

New features
- New `pg.gridsweep()` function, allowing for easy creation of parameter sweeps on a grid. See [the documentation](https://phidl.readthedocs.io/en/latest/geometry_reference.html#Gridsweep) for details.

![phidl example image](https://phidl.readthedocs.io/en/dev/_images/geometry_reference_36_0.png)

- New [tutorial on layers](https://phidl.readthedocs.io/en/latest/tutorials/layers.html)
- Can now define layer to be `None` to prevent creation of polygons
- Added `pg.litho_ruler()` for creation of lithographic rulers/measurement

Bugfixes
- pg.grid() bugfix: `shape` now in format (x,y), and array size correctly calculated when making `shape` e.g. (4,-1)

1.5.0

New features
- Better interactive windows for `quickplot()`! Now you can use the mousewheel/trackpad scroll to zoom in and out, and right-click or left-click to zoom to a region.
- Added `blocking` option for `quickplot()` (thanks giumc)

Changes
- Quickplot options (such as displaying ports, subports, or aliases) are now set using `set_quickplot_options()`

Bugfixes
- Fix for Path function `smooth()`, which broke when sequential waypoints were co-linear (thanks giumc)
- Fix for non-C-continguous arrays in `hash_geometry()` (thanks Joaquin Matres joamatab)


Bugfixes

1.4.4

Bugfix release

Bugfixes
- Allow labels imported through `import_gds()` to be moved (thanks Joaquin Matres joamatab)
- Fix to Path.smooth() to prevent right-angle turns from accidentally having an additional +180 degrees applied to them (thanks Jeffrey Holzgrafe jolzgrafe)

1.4.3

New features
- Added `open_ports` argument to `pg.outline`, which allows you to cut holes in the outline at Port locations on a Device. See the [outline reference here](https://phidl.readthedocs.io/en/latest/geometry_reference.html#Outline) (thanks to Owen Medeiros omedeiro)

![phidl example image](https://amccaugh.github.io/phidl/outline_open_port.png)

- Easier-to-read quickstart tutorial
- Added `num_squares` to `info` dictionary of `pg.optimal_step` (thanks Ekkehart Schmidt)

Bugfixes
- Fixed bug in `pp.smooth()` that forced paths to start out traveling to the right (orientation = 0 degrees) (thanks to Sebastian Pauka spauka)

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.