Esempio n. 1
0
def cutback_bend_circular(bend_radius=10.0, n_steps=3, n_stairs=4):
    bend90 = bend_circular(radius=bend_radius)
    c = cutback_bend(bend90=bend90, n_steps=n_steps, n_stairs=n_stairs)
    cc = add_fiber_array(c, optical_routing_type=1)
    return cc
Esempio n. 2
0
def SPIRAL(N=6, x=50.0):
    c = spiral_external_io(N=N, x_inner_length_cutback=x)
    return add_fiber_array(c, x_grating_offset=-200, fanout_length=30)
Esempio n. 3
0
def CP2x2(gap=0.3, length=10.0):
    c = coupler(gap=gap, length=length)
    return add_fiber_array(c)
def test_big_device():
    component = big_device(N=10)
    bend_radius = 5.0
    c = add_fiber_array(component, bend_radius=bend_radius, fanout_length=50.0)
    assert c
    return c