Commit Graph

35 Commits (df7c58d9612885eff9d5d5cc656d050d88cbc025)

Author SHA1 Message Date
Thorsten Liebig 9737661b94 python: language level 3
Signed-off-by: Thorsten Liebig <thorsten.liebig@gmx.de>
2022-12-29 10:06:11 +01:00
Georg Zachl 8c08cf5312 Expose sinusoidal, dirac pulse and step pulse excitation to the Python API. 2022-12-11 11:33:21 +01:00
luz paz 026f12355f Fix various typos
Found via `codespell -q 3 -L adress,imag`
2022-12-11 11:32:04 +01:00
Thorsten Liebig bad842a710 voltage probes: better voltage integration with direction
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2021-08-25 19:05:11 +02:00
Thorsten Liebig 4c24b6ec75 python: replace distutils with setuptools
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2021-07-13 19:17:15 +02:00
Thorsten Liebig 0dcbcf7651 python Tutorial: fix bent patch antenna
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2021-07-08 15:23:47 +02:00
Thorsten Liebig f9c8954ed3 python: improve init on windows
CSXCAD adds the dll path as needed on windows install version

Signed-off-by: Thorsten Liebig <liebig@imst.de>
2021-07-08 15:14:30 +02:00
Thorsten Liebig ebf017441e python: do not use assert for required checks
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2020-01-04 15:58:20 +01:00
Thorsten Liebig 9e5dcecd31 python: unlock python GIL for long running tasks
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2020-01-04 15:57:21 +01:00
Thorsten Liebig 9c78459d54 Merge branch 'fix_rad_deg' of https://github.com/khashabri/openEMS 2019-11-08 19:16:05 +01:00
khashabri aa5848e7ae Fix missing deg2rad in RCS sphere tutorial #58 2019-11-07 12:28:19 +01:00
khashabri b86f514378 Solved the issue #59
Calling the run function multiple times caused an error
2019-11-07 10:05:48 +01:00
Ruben Undheim 8908489c1f Explicitly extend from 'object' to prevent issue in Python 2
Otherwise, it fails with:

  File "/usr/local/lib/python2.7/dist-packages/openEMS/ports.py", line 205, in __init__
    super(MSLPort, self).__init__(CSX, port_nr=port_nr, start=start, stop=stop, excite=excite, **kw)
TypeError: super() argument 1 must be type, not classobj
2019-02-13 22:29:00 +01:00
Ruben Undheim 89bbd35906 Use 'from __future__ import absolute_import' to make the right paths be imported 2019-02-13 22:27:15 +01:00
Thorsten Liebig 3437959922 fix typo, #35
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-11-17 18:36:30 +01:00
Thorsten Liebig 65ca6bfc44 python: add set number of threads interface
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-01-04 15:51:18 +01:00
Thorsten Liebig 92939becd0 python: minor improvement and fix
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-05-01 12:49:15 +02:00
Thorsten Liebig 9d05c86900 python: add debug options
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-05-01 12:48:47 +02:00
Thorsten Liebig 7c0d498f56 python: allow setting of radius for nf2ff
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-03-01 22:09:19 +01:00
Thorsten Liebig c8049af005 python: add some initial automesh features
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-03-01 22:08:53 +01:00
Thorsten Liebig 963aa39ed4 python: doc updates
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-15 20:09:27 +01:00
Thorsten Liebig c0ea99f2b6 python: added CRLH extraction tutorial
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-15 20:08:41 +01:00
Thorsten Liebig 8a3713a1a4 python: fix/improve waveguide ports
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-13 22:37:26 +01:00
Thorsten Liebig 0f37d1d3a2 python: implement cylindrical grid support
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-13 22:36:57 +01:00
Thorsten Liebig 4216f1307a python: new Tutorial and updated doc
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-20 22:10:11 +02:00
Thorsten Liebig d41830f090 python: adept to new CSXCAD API
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-20 22:08:57 +02:00
Thorsten Liebig b45b615f7e python: massive improvements to documentation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-10 23:55:11 +02:00
Thorsten Liebig c943590548 python: update tutorials, improve doc
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-10 23:53:20 +02:00
Thorsten Liebig 015f6bcde0 python: shortcut openEMS import
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-10 23:51:43 +02:00
Thorsten Liebig 1ebb7932c1 python: add documentation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-08 22:10:27 +02:00
Thorsten Liebig 42726ba22e python: update ports and nf2ff handling, update Tutorials
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-06 23:12:59 +02:00
Thorsten Liebig f6efb6edad python: update tutorials
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-01 22:52:21 +02:00
Thorsten Liebig 956125e360 python: add tutorials (ported from Matlab)
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-08-28 21:42:00 +02:00
Thorsten Liebig 8a2eb2df33 python: add readme
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-08-28 21:41:14 +02:00
Thorsten Liebig 4ebe163aeb python: initial code for python interface using cython
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-08-28 21:34:28 +02:00