Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fork #7

Merged
merged 55 commits into from
Oct 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
e7b2e8f
Merge remote-tracking branch 'upstream/master'
jhillairet Jul 3, 2020
b951454
Update general.py
xafra Jul 11, 2020
50f0e13
Merge pull request #365 from xafra/patch-1
jhillairet Jul 15, 2020
8db40ad
Merge remote-tracking branch 'upstream/master'
jhillairet Jul 19, 2020
8e07358
correct the nports calculation
jhillairet Jul 19, 2020
9071e94
Merge branch 'master' of https://github.com/scikit-rf/scikit-rf
jhillairet Jul 20, 2020
c9addd1
Detail how to create Networks from various way
jhillairet Jul 19, 2020
e48a7dc
Detail how to create Networks from various way
jhillairet Jul 19, 2020
b750bfc
Clean Sphinx Documentation
jhillairet Jul 25, 2020
3f626c0
Merge remote-tracking branch 'jhillairet/documentation' into document…
jhillairet Jul 25, 2020
791aae3
fix bad JSON in an example notebook
jhillairet Jul 26, 2020
5a70717
moved LNA Example in the examples
jhillairet Jul 26, 2020
2e5cc4f
change date in LICENSE
jhillairet Jul 26, 2020
ad6622c
docstring fixes
jhillairet Jul 26, 2020
e88ce67
update sphinx config file to avoid warning about Python3 compatibility
jhillairet Jul 26, 2020
eb3fff4
docstring fixes
jhillairet Jul 26, 2020
76a8bab
fix SyntaxWarning: "is" with a literal. Did you mean "=="?
jhillairet Jul 26, 2020
6c31c42
Add Python 3.8 to Travis
jhillairet Jul 26, 2020
0bd8f9c
Add Python 3.8 to Travis
jhillairet Jul 26, 2020
673f4b8
Merge remote-tracking branch 'jhillairet/bug369_Numpy' into bug369_Numpy
jhillairet Jul 26, 2020
b74b332
implement the suggested modification
jhillairet Jul 26, 2020
112cb55
docstring fixes
jhillairet Jul 26, 2020
bfd0729
Merge remote-tracking branch 'jhillairet/documentation' into document…
jhillairet Jul 26, 2020
0947fda
Document constants
jhillairet Jul 26, 2020
5c11a66
Document plotting
jhillairet Jul 26, 2020
cf23245
Document networkSet
jhillairet Jul 26, 2020
362b80b
Document Coaxial
jhillairet Jul 26, 2020
684b948
Merge pull request #374 from jhillairet/documentation
jhillairet Jul 26, 2020
ac4d1df
Merge pull request #375 from jhillairet/bug369_Numpy
jhillairet Jul 26, 2020
438a98a
Merge pull request #372 from jhillairet/bug366
jhillairet Jul 26, 2020
aee00e9
fixed error: plotted different mode gain instead of common mode gain
jrmagers Jul 26, 2020
0cd4e0e
Merge pull request #377 from jrmagers/doc-fixes
jhillairet Jul 27, 2020
6f814e0
Fix Python 3.8 SyntaxWarning|s
sxntxn Jul 27, 2020
9ab0c44
Merge pull request #378 from sxntxn/patch-1
jhillairet Jul 27, 2020
aea50a3
Merge branch 'master' of https://github.com/jhillairet/scikit-rf
jhillairet Aug 3, 2020
69976ba
Merge branch 'master' of https://github.com/scikit-rf/scikit-rf
jhillairet Aug 3, 2020
cec7ef9
Added voltages and currents calculation (internal/external)
jhillairet Aug 6, 2020
b32805b
Added documentation: currents and voltages are calculated using Circu…
jhillairet Aug 6, 2020
6bc3dd5
fix compatibility with Python 3.5 and Python 2.7
jhillairet Aug 6, 2020
1086a71
adding missing files (really?)
jhillairet Aug 6, 2020
3b369da
fixed images and equation
jhillairet Aug 6, 2020
3556917
Mention the 'traveling' option in the s_def option in the API
jhillairet Aug 6, 2020
5d3ae02
Merge pull request #382 from jhillairet/documentation
jhillairet Aug 6, 2020
71c0fcd
Detect and warn connections between more than 2 ports cases
jhillairet Aug 7, 2020
4686f00
Documenting voltage/current calculation with the Wilkinson example
jhillairet Aug 7, 2020
b8c0059
Add tests for Circuit.voltages and currents
jhillairet Aug 8, 2020
516b55f
strange bug in Travis related to network2 (??)
jhillairet Aug 8, 2020
a9c9f52
Remove Python 3.5 from Travis (fail to import IPython.display in n2 (?)
jhillairet Aug 8, 2020
e42bc2c
Merge pull request #381 from jhillairet/master
jhillairet Aug 8, 2020
14d01ad
Don't shadow skrf's io module with the system io module.
DanielO Aug 12, 2020
61e9b09
Merge pull request #385 from DanielO/master
arsenovic Aug 12, 2020
74caf7b
version increase
jhillairet Aug 29, 2020
20b36cc
Merge pull request #389 from jhillairet/master
jhillairet Aug 29, 2020
60a3794
change ifft to fft in gate frequency domain calculation
jhillairet Sep 12, 2020
a4bba28
Merge pull request #391 from jhillairet/time_gate
jhillairet Sep 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ dist: xenial
language: python
python:
- 2.7
- 3.5
- 3.6
- 3.7
- 3.8
services:
- xvfb
before_install:
- sudo apt-get update
- if [[ "$TRAVIS_PYTHON_VERSION" == 2* ]]; then wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh
-O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh
- if [[ "$TRAVIS_PYTHON_VERSION" == 2* ]]; then wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; else wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O miniconda.sh; fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Copyright (c) 2010, Alexander Arsenovic
All rights reserved.

Copyright (c) 2017, scikit-rf Developers
Copyright (c) 2020, scikit-rf Developers
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "scikit-rf" %}
{% set version = "0.15.3" %}
{% set version = "0.15.4" %}
{% set hash_val = "8223204281599ba14b685d7e28b7e361" %}

package:
Expand Down
190 changes: 35 additions & 155 deletions doc/make.bat
Original file line number Diff line number Diff line change
@@ -1,155 +1,35 @@
@ECHO OFF

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
)

if "%1" == "" goto help

if "%1" == "help" (
:help
echo.Please use `make ^<target^>` where ^<target^> is one of
echo. html to make standalone HTML files
echo. dirhtml to make HTML files named index.html in directories
echo. singlehtml to make a single large HTML file
echo. pickle to make pickle files
echo. json to make JSON files
echo. htmlhelp to make HTML files and a HTML help project
echo. qthelp to make HTML files and a qthelp project
echo. devhelp to make HTML files and a Devhelp project
echo. epub to make an epub
echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
echo. text to make text files
echo. man to make manual pages
echo. changes to make an overview over all changed/added/deprecated items
echo. linkcheck to check all external links for integrity
echo. doctest to run all doctests embedded in the documentation if enabled
goto end
)

if "%1" == "clean" (
for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
del /q /s %BUILDDIR%\*
goto end
)

if "%1" == "html" (
%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
echo.
echo.Build finished. The HTML pages are in %BUILDDIR%/html.
goto end
)

if "%1" == "dirhtml" (
%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
echo.
echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
goto end
)

if "%1" == "singlehtml" (
%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
echo.
echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
goto end
)

if "%1" == "pickle" (
%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
echo.
echo.Build finished; now you can process the pickle files.
goto end
)

if "%1" == "json" (
%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
echo.
echo.Build finished; now you can process the JSON files.
goto end
)

if "%1" == "htmlhelp" (
%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
echo.
echo.Build finished; now you can run HTML Help Workshop with the ^
.hhp project file in %BUILDDIR%/htmlhelp.
goto end
)

if "%1" == "qthelp" (
%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
echo.
echo.Build finished; now you can run "qcollectiongenerator" with the ^
.qhcp project file in %BUILDDIR%/qthelp, like this:
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\mwavepy.qhcp
echo.To view the help file:
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\mwavepy.ghc
goto end
)

if "%1" == "devhelp" (
%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
echo.
echo.Build finished.
goto end
)

if "%1" == "epub" (
%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
echo.
echo.Build finished. The epub file is in %BUILDDIR%/epub.
goto end
)

if "%1" == "latex" (
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
echo.
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
goto end
)

if "%1" == "text" (
%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
echo.
echo.Build finished. The text files are in %BUILDDIR%/text.
goto end
)

if "%1" == "man" (
%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
echo.
echo.Build finished. The manual pages are in %BUILDDIR%/man.
goto end
)

if "%1" == "changes" (
%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
echo.
echo.The overview file is in %BUILDDIR%/changes.
goto end
)

if "%1" == "linkcheck" (
%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
echo.
echo.Link check complete; look for any errors in the above output ^
or in %BUILDDIR%/linkcheck/output.txt.
goto end
)

if "%1" == "doctest" (
%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
echo.
echo.Testing of doctests in the sources finished, look at the ^
results in %BUILDDIR%/doctest/output.txt.
goto end
)

:end
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
2 changes: 0 additions & 2 deletions doc/source/api/calibration/calibration.rst

This file was deleted.

1 change: 0 additions & 1 deletion doc/source/api/calibration/calibrationFunctions.rst

This file was deleted.

2 changes: 1 addition & 1 deletion doc/source/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ API
circuit

plotting
time
mathFunctions
tlineFunctions
constants
Expand All @@ -22,5 +21,6 @@ API
io/index
calibration/index
media/index
media/device
vi/index

22 changes: 21 additions & 1 deletion doc/source/api/io/index.rst
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
.. automodule:: skrf.io
IO
==

This Package provides functions and objects for input/output.

The general functions :func:`~general.read` and :func:`~general.write`
can be used to read and write [almost] any skrf object to disk, using the
:mod:`pickle` module.

Reading and writing touchstone files is supported through the
:class:`~touchstone.Touchstone` class, which can be more easily used
through the Network constructor, :func:`~skrf.network.Network.__init__`

.. automodule:: skrf.io.general

.. automodule:: skrf.io.touchstone

.. automodule:: skrf.io.csv



5 changes: 5 additions & 0 deletions doc/source/api/media/device.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.. automodule:: skrf.media.device




19 changes: 19 additions & 0 deletions doc/source/api/media/index.rst
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
Media
=====
.. automodule:: skrf.media


Transmission Line Classes
-------------------------

.. autosummary::
:toctree: generated/

~media.DefinedGammaZ0
~distributedCircuit.DistributedCircuit
~rectangularWaveguide.RectangularWaveguide
~cpw.CPW
~coaxial.Coaxial
~mline.MLine
~freespace.Freespace
~definedAEpTandZ0.DefinedAEpTandZ0

1 change: 0 additions & 1 deletion doc/source/api/media/media.rst

This file was deleted.

1 change: 0 additions & 1 deletion doc/source/api/touchstone.rst

This file was deleted.