Gdsfactory

Latest version: v7.26.1

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

Scan your dependencies

Page 46 of 70

3.7.7

- `write_gds` prints warning when writing GDS files with Unnamed cells. Unnamed cells don't get deterministic names. warning includes the number of unnamed cells
- cells with `decorator=function` that return a new cell do not leave Unnamed cells now
- pack includes a name_prefix to avoid unnamed cells
- add `taper_cross_section` into a container so we can use a decorator over it without triggering InmutabilityError

3.7.6

- to dict accepts component and function prefixes of the structures that we want to ignore when saving the settings dict
- `write_gds` prints warning when writing GDS files with Unnamed cells. Unnamed cells don't get deterministic names.

3.7.5

- add `add_tapers_cross_section` to taper component cross_sections
- letter `v` in text_rectangular_multi_layer is now DRC free

3.7.4

- add pad_gsg_short and pad_gsg_open to components
- export function parameters in settings exports as dict {'function': straight, 'width': 3}
- works also for partial and composed functions
- add `get_child_name` for Component, so that when you run `copy_child_info` the name prefix also propagates
- only add layers_cladding for waveguide lengths > 0. Otherwise it creates non-orientable boundaries

3.7.3

- add `**kwargs` to `cutback_bend`
- pack type annotation is more general with `List[ComponentOrFactory]` instead of `List[Component]`, it also builds any Components if you pass the factory instead of the component.
- add `straight_length` parameter and more sensitive default values (2\*radius) to `cutback_component`
- add `gf.components.taper_parabolic`
- `mzi_lattice` adds all electrical ports from any of the mzi stages
- rename `mzi_factory` to `mzi` in mzi_lattice to be consistent with other component kwargs
- replace taper_factory with taper to be consistent with other component kwargs
- coupler snaps length to grid, instead of asserting length is on_grid
- add layers_cladding to rib so bezier_slabs render correctly for rib couplers

3.7.2

- add_fiber_array and add_fiber_single can also get a component that has no child_info

Page 46 of 70

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.