Generic#
PyAEDT has some generic features.
File utils#
The following methods allows to read and parse files.
Normalize path separators. |
|
Get the filename without its extension. |
|
Check if a file is remote. |
|
Check whether a path exists on a local or on a remote machine (for remote sessions only). |
|
Download remote folder. |
|
Generate a new name given a root name and optional suffix. |
|
Generate a new AEDT folder name given a root name. |
|
Generate a new AEDT project name given a root name. |
|
Get a list of files matching a pattern, searching recursively from a start path. |
|
Check if the AEDT project lock file exists. |
|
Check if the AEDT project exists and try to remove the lock file. |
|
Open a file and return the object. |
|
Load a JSON file to a dictionary. |
|
Read a TOML file and return as a dictionary. |
|
Read information from a CSV file and return a list. |
|
Read information from a CSV file and return a list. |
|
Write data to a CSV . |
|
Read information from a TAB file and return a list. |
|
Read information from an XLSX file and return a list. |
|
Read a DXF file and return all layer names. |
|
Read the component file and extract variables. |
|
Parse a csv file and convert data in list that can be applied to Hfss and Hfss3dLayout sources. |
|
Convert a TECH file to an XML file for use in a GDS or DXF import. |
|
Parse a file and return the information in a list or dictionary. |
|
Create a configuration file in JSON or TOML format from a dictionary. |
|
Compute FFT of input transient data. |
Quaternion#
PyAEDT contains an implementation of fundamental quaternion operations.
Quaternions are only used to represent rotations in 3D space. They are not used to represent translations or other transformations. Only methods related to rotations are implemented.
Implements fundamental quaternion operations. |
Math utils#
MathUtils is a class that provides mathematical utility methods like numerical comparisons and checks.
MathUtils is a utility class that provides methods for numerical comparisons and checks. |