kqcircuits.simulations.export.sonnet.sonnet_export
- kqcircuits.simulations.export.sonnet.sonnet_export.poly_and_edge_indices(polygons, dbu, port, number, location, group)[source]
- kqcircuits.simulations.export.sonnet.sonnet_export.export_sonnet_son(simulation: Simulation, path: Path, detailed_resonance=False, lower_accuracy=False, current=False, control='ABS', fill_type='Staircase', simulation_safety=0)[source]
Export simulation into son file.
- Parameters:
simulation – The simulation to be exported.
path – Location where to write son files.
detailed_resonance – More info in www.sonnetsoftware.com/support/downloads/techdocs/Enhanced_Resonance_Detection_Feature.pdf
lower_accuracy – False sets Sonnet to Fine/Edge meshing and True to Coarse/Edge Meshing.
fill_type – Value ‘Staircase’ sets the default fill type for polygons. The other option is ‘Conformal’ which can be faster but less accurate. A good workflow could be to set everything to Staircase and then set some meanders to Conformal in Sonnet.
current – True computes currents in Sonnet which adds to simulation time but can used to easily see connection errors.
control – Selects what analysis control is used in Sonnet. Options are ‘Simple’, ‘ABS’ and ‘Sweep’ for parameter sweeping.
simulation_safety – Adds extra ground area to a simulation environment (in µm).
- Returns:
Path to exported son file.
- kqcircuits.simulations.export.sonnet.sonnet_export.export_sonnet(simulations, path: Path, detailed_resonance=False, lower_accuracy=False, current=False, control='ABS', fill_type='Staircase', simulation_safety=0)[source]
Export Sonnet simulations by writing son files.
- Parameters:
simulations – List of simulations to be exported.
path – Location where to write export files.
detailed_resonance – More info in www.sonnetsoftware.com/support/downloads/techdocs/Enhanced_Resonance_Detection_Feature.pdf
lower_accuracy – False sets Sonnet to Fine/Edge meshing and True to Coarse/Edge Meshing.
fill_type – Value ‘Staircase’ sets the default fill type for polygons. The other option is ‘Conformal’ which can be faster but less accurate. A good workflow could be to set everything to Staircase and then set some meanders to Conformal in Sonnet.
current – True computes currents in Sonnet which adds to simulation time but can used to easily see connection errors.
control – Selects what analysis control is used in Sonnet. Options are ‘Simple’, ‘ABS’ and ‘Sweep’ for parameter sweeping.
simulation_safety – Adds extra ground area to a simulation environment (in µm).
- Returns:
List of paths to exported son files.