Skip to content
Discussion options

You must be logged in to vote

Hi,

After the newly tagged release, I'm trying to use the resonator_coupled PCell but get a ValueError when running the following:

import gdsfactory as gf
import matplotlib.pyplot as plt
import numpy as np
from qpdk.cells import resonator_coupled, bend_circular

c = gf.Component()
r = resonator_coupled(bend_spec=bend_circular)

c.add_ref(r)

Show result

c.show()
Error:

ValueError: 'cpw' not in ['strip', 'strip_no_ports', 'rib', 'rib_bbox', 'rib2', 'nitride', 'strip_rib_tip', 'strip_nitride_tip', 'slot', 'rib_with_trenches', 'l_with_trenches', 'metal1', 'metal2', 'metal3', 'metal_routing', 'heater_metal', 'npp', 'pin', 'pn', 'pn_with_trenches', 'pn_with_trenches_asymmetric', 'l_wg_doped_with…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nikosavola
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #165 on November 13, 2025 13:47.