Porting from IPKISS 2025.09 to IPKISS 2025.12
Porting Tracer visualization code
In previous versions of Circuit Analyzer, Tracer methods ca.Tracer.show_light_flow and ca.Tracer.show_light_flow_interactive where used to visualize results using Matplotlib plots.
These methods have been deprecated in favor of a new visualization approach that uses IPKISS Tracer visualizer, and is based on a result of running Tracer simulations.
Example below shows how to port your code to the new visualization approach.
Example
Using the legacy syntax
import si_fab.all as pdk
from pteam_library_si_fab.all import Mux2
import circuit_analyzer.all as ca
import numpy as np
cell = Mux2()
switch_lo = cell.Layout()
tracer = ca.Tracer(circuit=cell)
tracer_result = tracer.show_light_flow("top_s0_0_coupler1_in2", wavelengths, scale="dB")
Using the new syntax
import si_fab.all as pdk
from pteam_library_si_fab.all import Mux2
import circuit_analyzer.all as ca
import numpy as np
cell = Mux2()
switch_lo = cell.Layout()
tracer = ca.Tracer(circuit=cell)
tracer_result = tracer.run(wavelengths=np.linspace(1.5, 1.6, 11))
tracer_result.visualize()