Changes

Glossary of EM.Cube's Python Functions

1,460 bytes removed, 05:21, 5 September 2016
/* EM.Cube's Python Functions for Simulation-Related Functions & Operations */
Description: Sets [[EM.Cube]]'s frequency bandwidth.
 
====zoom_extents()====
 
Description: Zooms to fit the extents of the physical structure into the screen.
 
====add_variable({{ArgTypeString}} var_name, {{ArgTypeString}} value)====
 
''Example: add_variable("MyVar",1)''
 
Description: Add a new variable to [[EM.Cube]]'s variable list.
====run_analysis()====
Description: Designates the physical structure as periodic and sets the periods along the X and Y directions.
 
====plot_file({{ArgTypeString}} filename) ====
 
''Example: plot_file("D0.DAT)''
 
Description: Plot the contents of a specified data file in EM.Grid.
====mesh()====
Description: Sets the parameters of [[EM.Libera]]'s surface MoM simulation engines.
 
 
 
 
{"global_ground",emag_set_ground,METH_VARARGS,"global_ground(ground_on,eps,sigma) -- Set or unset global ground in [[EM.Terrano]]."},
{"get_domain_extent",emag_dom_getextents,METH_VARARGS,"get_domain_extent(coordinate) -- Get the specified extent of the domain box."},
{"set_domain_offset",emag_dom_offset,METH_VARARGS,"set_domain_offset(dxn_offset,dxp_offset,dyn_offset,dyp_offset,dzn_offset,dzp_offset) -- Set the offset values of the domain box in project units in all six directions."},
{"set_domain_offset_lambda",emag_dom_offset_lambda,METH_VARARGS,"set_domain_offset_lambda(dxn_offset,dxp_offset,dyn_offset,dyp_offset,dzn_offset,dzp_offset) -- Set the offset values of the domain box in wavelengths in all six directions."},
{"set_boundary_conditions",emag_set_bc,METH_VARARGS,"set_boundary_conditions(xn_type,xp_type,yn_type,yp_type,zn_type,zp_type) -- Set the boundary conditions on all the six walls of the domain box."},
 
 
 
{"zoom_extents",emag_zoom_extents,METH_VARARGS,"zoom_extents() --"},
{"freeze",emag_freeze,METH_VARARGS,"freeze(object,freeze_state) --"},
 
{"add_variable",emag_add_variable,METH_VARARGS,"add_variable(var_name,value) -- Add a variable to [[EM.Cube]]'s variable list."},
 
{"plot_file",emag_plot_file_cartesian,METH_VARARGS,"plot_file(filename) -- Plot the contents of data file in EM.Grid."},
 
{"background_layer",emag_background_layer,METH_VARARGS,"background_layer(label,eps,sigma,mu,thickness) -- Add or modify a substrate layer in [[EM.Picasso]]."},
{"set_stackup_order",emag_set_stackup_order,METH_VARARGS,"set_stackup_order(\"THS\",layer_name_1,layer_name_2,...,layer_name_n,\"BHS\") -- Re-order [[EM.Picasso]] stackup based on background layer names and trace names."},
{"delete_background_layer",emag_delete_background_layer,METH_VARARGS,"delete_background_layer(label) -- Delete background layer denoted by label."},
 
 
 
 
<p>&nbsp;</p>
[[Image:Back_icon.png|40px]] '''[[EM.Cube | Back to EM.Cube Main Page]]'''
28,333
edits