import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.add_fiber_array_optical_south_electrical_north(component='straight_heater_metal', pad='pad', grating_coupler='grating_coupler_te', cross_section_metal='metal_routing', with_loopback=True, pad_pitch=100, pitch=127, pad_gc_spacing=250, electrical_port_orientation=90, auto_taper_pads=True).copy()
c.draw_ports()
c.plot()