import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.spiral_racetrack_heater_doped(straight_length=30, spacing=2, num=8, bend_s='bend_s', waveguide_cross_section='strip', heater_cross_section='npp').copy()
c.draw_ports()
c.plot()