''Example: color_group("Color_1")''
Description: Creates a Color color group in CubeCAD module. If a Color the color group 'label' already exists, the group is activated.
====pec_group({{ArgTypeString}} label)====
''Example: pec_group("PEC_1")''
Description: Creates a PEC material group in the current module. If a the PEC group 'label' already exists, the group is activated.
====pec_voltage_group({{ArgTypeString}} label, {{ArgTypeAny}} voltage)====
''Example: pec_voltage_group("PEC_1",10)''
Description: Creates a fixed-potential PEC object group in the current module. If a the PEC group 'label' already exists, the group is activated.
====pec_via_group({{ArgTypeString}} label, {{ArgTypeAny}} host_layer)====
''Example: pec_via_group("PEC_1",10)''
Description: Creates an embedded PEC via set group in the current module. If a the PEC via group 'label' already exists, the group is activated.
====thinwire_group({{ArgTypeString}} label, {{ArgTypeAny}} radius)====
''Example: thinwire_group("Thinwire_1",4)''
Description: Creates a Thinwire material group in the current module. If a Thinwire the thin wire group 'label' already exists, the group is activated.
====pmc_group({{ArgTypeString}} label)====
''Example: pmc_group("PMC_1")''
Description: Creates a PMC material group in the current module. If a the PMC group 'label' already exists, the group is activated.
====slot_group({{ArgTypeString}} label)====
''Example: slot_group("PMC_1")''
Description: Creates a slot trace group in the current module. If a the slot trace group 'label' already exists, the group is activated.
====dielectric_group({{ArgTypeString}} label, {{ArgTypeAny}} eps, {{ArgTypeAny}} sigma, {{ArgTypeAny}} mu, {{ArgTypeAny}} rho)====
''Example: dielectric_group("Dielectric_1","my_eps",0,1,0)''
Description: Creates a Dielectric dielectric material group in the current module with the specified material properties. If a Dielectric the dielectric group 'label' already exists, the group is activated.
====impenetrable_surface_group({{ArgTypeString}} label, {{ArgTypeAny}} eps, {{ArgTypeAny}} sigma)====
Description: Creates a wire current source group in [[EM.Ferma]]. If the wire current group 'label' already exists, the group is activated.
<== EM.Cube Python Functions for Source & Lumped Device Creation == ====lumped_src({{ArgTypeString}} label, {{ArgTypeAny}} line_object, {{ArgTypeAny}} offset, {{ArgTypeAny}} polarity[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: lumped_src("LS_1","Line_1",50,0)'' Description: Creates a lumped source in [[EM.Tempo]]. If the lumped source 'label' already exists, its properties are modified. ====distributed_src({{ArgTypeString}} label, {{ArgTypeAny}} rect_object, {{ArgTypeAny}} field_dir, {{ArgTypeAny}} profile[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: distributed_src("DS_1","Rect_1","+y","uniform")'' Description: Creates a distributed source in [[EM.Tempo]]. If the distributed source 'label' already exists, its properties are modified. ====microstrip_src({{ArgTypeString}} label, {{ArgTypeAny}} rect_object, {{ArgTypeAny}} height, {{ArgTypeAny}} edge[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: microstrip_src("MS_1","Rect_1",1.5,"+x")'' Description: Creates a microstrip port source in [[EM.Tempo]]. If the microstrip port 'label' already exists, its properties are modified. ====cpw_src({{ArgTypeString}} label, {{ArgTypeAny}} rect_object, {{ArgTypeAny}} spacing, {{ArgTypeAny}} edge[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: cpw_src("CPW_1","Rect_1",1.5,"+x")'' Description: Creates a CPW port source in [[EM.Tempo]]. If the CPW port 'label' already exists, its properties are modified. ====coaxial_src({{ArgTypeString}} label, {{ArgTypeAny}} cylinder_object, {{ArgTypeAny}} outer_radius, {{ArgTypeAny}} edge[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: coaxial_src("COAX_1","Cyl_1",1.5,"+z")'' Description: Creates a coaxial port source in [[EM.Tempo]]. If the coaxial port 'label' already exists, its properties are modified. ====waveguide_src({{ArgTypeString}} label, {{ArgTypeAny}} box_object, {{ArgTypeAny}} offset, {{ArgTypeAny}} is_negative[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: waveguide_src("WG_1","Box_1",50,0)'' Description: Creates a waveguide port source in [[EM.Tempo]]. If the waveguide port 'label' already exists, its properties are modified. ====wire_gap_src({{ArgTypeString}} label, {{ArgTypeAny}} line_object, {{ArgTypeAny}} offset, {{ArgTypeAny}} polarity[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: wire_gap_src("WIG_1","Line_1",50,0)'' Description: Creates a wire gap circuit source in [[EM.Libera]]. If the wire gap source 'label' already exists, its properties are modified. ====rect_gap_src({{ArgTypeString}} label, {{ArgTypeAny}} rect_object, {{ArgTypeAny}} offset, {{ArgTypeAny}} polarity[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: rect_gap_src("GAP_1","Rect_1",0,0)'' Description: Creates a strip gap circuit source in [[EM.Picasso]] or [[EM.Libera]]. If the strip gap source 'label' already exists, its properties are modified. ====probe_gap_src({{ArgTypeString}} label, {{ArgTypeAny}} via_object, {{ArgTypeAny}} polarity[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: probe_gap_src("Probe_1","Via_1",0)'' Description: Creates a probe gap circuit source in [[EM.Picasso]]. If the probe gap source 'label' already exists, its properties are modified. ====wave_port({{ArgTypeString}} label, {{ArgTypeAny}} rect_object, {{ArgTypeAny}} offset, {{ArgTypeAny}} is_negative[, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase, {{ArgTypeAny}} resistance])==== ''Example: wave_port("WP_1","Rect_1",0,0)'' Description: Creates a scattering wave port source in [[EM.Picasso]] or [[EM.Libera]]. If the wave port 'label' already exists, its properties are modified. ====short_dipole({{ArgTypeString}} label, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} length, {{ArgTypeAny}} uX, {{ArgTypeAny}} uY, {{ArgTypeAny}} uZ, {{ArgTypeAny}} amplitude, {{ArgTypeAny}} phase)==== ''Example: wave_port("SD_1",0,0,50,3,0,0,1,1,0)'' Description: Creates a Hertzian short dipole source. If the short dipole source 'label' already exists, its properties are modified. ====planewave({{ArgTypeString}} label, {{ArgTypeAny}} theta, {{ArgTypeAny}} phi, {{ArgTypeAny}} polarization)==== ''Example: planewave("PW_1",180,0,"tm")'' Description: Creates a plane wave source. If the plane wave source 'label' already exists, its properties are modified. ====gauss_beam({{ArgTypeString}} label, {{ArgTypeAny}} theta, {{ArgTypeAny}} phi, {{ArgTypeAny}} polarization, {{ArgTypeAny}} focus_x, {{ArgTypeAny}} focus_y, {{ArgTypeAny}} focus_z, {{ArgTypeAny}} radius, {{ArgTypeAny}} p_mode, {{ArgTypeAny}} q_mode)==== ''Example: gauss_beam("PW_1",180,0,"tm",0,0,0,20,0,0)'' Description: Creates a Gaussian beam source in [[EM.Tempo]]. If the Gaussian beam source 'label' already exists, its properties are modified. ====huygens_src({{ArgTypeString}} label, {{ArgTypeAny}} filename[, {{ArgTypeAny}} set_lcs, {{ArgTypeAny}} polarization, {{ArgTypeAny}} x0, {{ArgTypeAny}} y0, {{ArgTypeAny}} z0, {{ArgTypeAny}} x_rot, {{ArgTypeAny}} y_rot, {{ArgTypeAny}} z_rot])==== ''Example: huygens_src("HS_1","Huygens_1.HUY",1,100,100,0,0,0,0)'' Description: Creates a Huygens source. If the Huygens source 'label' already exists, its properties are modified. ====resistor({{ArgTypeString}} label, {{ArgTypeAny}} line_object, {{ArgTypeAny}} offset, {{ArgTypeAny}} resistance)==== ''Example: resistor("Res_1","Line_1",25,50)'' Description: Creates a resistor in [[EM.Tempo]]. If the resistor 'label' already exists, its properties are modified. ====capacitor({{ArgTypeString}} label, {{ArgTypeAny}} line_object, {{ArgTypeAny}} offset, {{ArgTypeAny}} capacitance_pF)==== ''Example: capacitor("Cap_1","Line_1",25,10)'' Description: Creates a capacitor in [[EM.Tempo]]. If the capacitor 'label' already exists, its properties are modified. ====inductor({{ArgTypeString}} label, {{ArgTypeAny}} line_object, {{ArgTypeAny}} offset, {{ArgTypeAny}} inductance_nH)==== ''Example: inductor("Cap_1","Line_1",25,10)'' Description: Creates a inductor in [[EM.Tempo]]. If the inductor 'label' already exists, its properties are modified. ====diode({{ArgTypeString}} label, {{ArgTypeAny}} line_object, {{ArgTypeAny}} polarity, {{ArgTypeAny}} is_fA, {{ArgTypeAny}} temperature_K, {{ArgTypeAny}} ideality_factor)==== ''Example: diode("Diode_1","Line_1",25,0,10,300,1)'' Description: Creates a diode in [[EM.Tempo]]. If the diode 'label' already exists, its properties are modified. p> </p>
[[Image:Back_icon.png|40px]] '''[[EM.Cube | Back to EM.Cube Main Page]]'''