diff --git a/kgeneric/cells/dbu/straight.py b/kgeneric/cells/dbu/straight.py index 6d25544..05f31a2 100644 --- a/kgeneric/cells/dbu/straight.py +++ b/kgeneric/cells/dbu/straight.py @@ -60,7 +60,7 @@ def straight( if enclosure is not None: enclosure.apply_minkowski_y(c, layer) - c.settings = { + c.info = { "width_um": width * c.kcl.dbu, "length_um": length * c.kcl.dbu, "layer": layer, diff --git a/kgeneric/cells/dbu/taper.py b/kgeneric/cells/dbu/taper.py index 5a4a8dd..d7533b5 100644 --- a/kgeneric/cells/dbu/taper.py +++ b/kgeneric/cells/dbu/taper.py @@ -61,8 +61,8 @@ def taper( if enclosure is not None: enclosure.apply_minkowski_y(c, kdb.Region(c.bbox())) - c.settings["width1_um"] = width1 * c.kcl.dbu - c.settings["width2_um"] = width2 * c.kcl.dbu - c.settings["length_um"] = length * c.kcl.dbu + c.info["width1_um"] = width1 * c.kcl.dbu + c.info["width2_um"] = width2 * c.kcl.dbu + c.info["length_um"] = length * c.kcl.dbu return c diff --git a/kgeneric/cells/grating_coupler_elliptical.py b/kgeneric/cells/grating_coupler_elliptical.py index 3b6fcae..dde551a 100644 --- a/kgeneric/cells/grating_coupler_elliptical.py +++ b/kgeneric/cells/grating_coupler_elliptical.py @@ -73,8 +73,8 @@ def grating_coupler_elliptical( trench_line_width = _period - grating_line_width c = kf.KCell() - # c.settings["polarization"] = polarization - # c.settings["wavelength"] = lambda_c * 1e3 + c.info["polarization"] = polarization + c.info["wavelength"] = lambda_c * 1e3 # Make each grating line @@ -130,7 +130,7 @@ def _get_taper_pts( c.transform(kf.kdb.Trans(int(-x_output - taper_offset), 0)) # Add port - # c.settings["period"] = _period + c.info["period"] = _period # Add GC Fibre launch reference port, we are putting it at the same place # as the other I/O port for now