christiankral / electricalengineering.jl Goto Github PK
View Code? Open in Web Editor NEWJulia electrical engineering package
Home Page: https://christiankral.github.io/ElectricalEngineering.jl/
License: BSD 3-Clause "New" or "Revised" License
Julia electrical engineering package
Home Page: https://christiankral.github.io/ElectricalEngineering.jl/
License: BSD 3-Clause "New" or "Revised" License
When trying to install version v0.4.7 an error occurs:
(@v1.8) pkg> add ElectricalEngineering@0.4.7
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Compat [34da2185]:
Compat [34da2185] log:
├─possible versions are: 1.0.0-4.3.0 or uninstalled
├─restricted to versions * by OMJulia [0f4fe800], leaving only versions 1.0.0-4.3.0
│ └─OMJulia [0f4fe800] log:
│ ├─possible versions are: 0.2.1 or uninstalled
│ └─OMJulia [0f4fe800] is fixed to version 0.2.1
├─restricted by compatibility requirements with ElectricalEngineering [84e62fa8] to versions: 4.1.0-4.3.0
│ └─ElectricalEngineering [84e62fa8] log:
│ ├─possible versions are: 0.4.1-0.4.7 or uninstalled
│ └─restricted to versions 0.4.7 by an explicit requirement, leaving only versions 0.4.7
└─restricted by compatibility requirements with LNR [7c4cb9fa] to versions: 1.0.0-3.46.0 — no versions left
└─LNR [7c4cb9fa] log:
├─possible versions are: 0.2.0-0.2.1 or uninstalled
The function save2fig
does cause an error.
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.9/tkinter/__init__.py", line 1884, in __call__
return self.func(*args)
File "/usr/lib/python3.9/tkinter/__init__.py", line 805, in callit
func(*args)
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/_backend_tk.py", line 253, in idle_draw
self.draw()
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw
super(FigureCanvasTkAgg, self).draw()
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
self.figure.draw(self.renderer)
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backend_bases.py", line 1544, in _draw
def _draw(renderer): raise Done(renderer)
matplotlib.backend_bases._get_renderer.<locals>.Done: <matplotlib.backends.backend_agg.RendererAgg object at 0x7f6f93af4280>
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.9/tkinter/__init__.py", line 1884, in __call__
return self.func(*args)
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/_backend_tk.py", line 242, in resize
self.draw()
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw
super(FigureCanvasTkAgg, self).draw()
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
self.figure.draw(self.renderer)
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backend_bases.py", line 1544, in _draw
def _draw(renderer): raise Done(renderer)
matplotlib.backend_bases._get_renderer.<locals>.Done: <matplotlib.backends.backend_agg.RendererAgg object at 0x7f6f9702dac0>
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.9/tkinter/__init__.py", line 1884, in __call__
return self.func(*args)
File "/usr/lib/python3.9/tkinter/__init__.py", line 805, in callit
func(*args)
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/_backend_tk.py", line 253, in idle_draw
self.draw()
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw
super(FigureCanvasTkAgg, self).draw()
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
self.figure.draw(self.renderer)
File "/home/christian/.local/lib/python3.9/site-packages/matplotlib/backend_bases.py", line 1544, in _draw
def _draw(renderer): raise Done(renderer)
matplotlib.backend_bases._get_renderer.<locals>.Done: <matplotlib.backends.backend_agg.RendererAgg object at 0x7f6f9702dac0>
The condition if upstrip(c)>0
is not valid for complex numbers c
and must be changed to if upstrip(abs(c))>0
(v1.1) pkg> add ElectricalEngineering
Updating registry at `~/.julia/registries/General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
Installed CodeTracking ────────── v0.5.0
Installed Compat ──────────────── v2.1.0
Installed JuliaInterpreter ────── v0.3.2
Installed WebSockets ──────────── v1.5.2
Installed ElectricalEngineering ─ v0.4.1
Updating `~/.julia/environments/v1.1/Project.toml`
[84e62fa8] + ElectricalEngineering v0.4.1
Updating `~/.julia/environments/v1.1/Manifest.toml`
[da1fd8a2] ↑ CodeTracking v0.4.0 ⇒ v0.5.0
[34da2185] ↑ Compat v2.0.0 ⇒ v2.1.0
[84e62fa8] + ElectricalEngineering v0.4.1
[aa1ae85d] ↑ JuliaInterpreter v0.3.1 ⇒ v0.3.2
[104b5d7c] ↑ WebSockets v1.5.1 ⇒ v1.5.2
julia> using ElectricalEngineering
[ Info: Precompiling ElectricalEngineering [84e62fa8-74a0-5990-9214-c45bd74ae4d7]
┌ Warning: Package ElectricalEngineering does not have PyPlot in its dependencies:
│ - If you have ElectricalEngineering checked out for development and have
│ added PyPlot as a dependency but haven't updated your primary
│ environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with ElectricalEngineering
└ Loading PyPlot into ElectricalEngineering from project dependency, future warnings for ElectricalEngineering are suppressed.
/usr/local/lib/python3.6/dist-packages/matplotlib/__init__.py:846: MatplotlibDeprecationWarning:
The text.latex.unicode rcparam was deprecated in Matplotlib 2.2 and will be removed in 3.1.
"2.2", name=key, obj_type="rcparam", addendum=addendum)
/usr/local/lib/python3.6/dist-packages/matplotlib/__init__.py:846: MatplotlibDeprecationWarning:
The text.latex.unicode rcparam was deprecated in Matplotlib 2.2 and will be removed in 3.1.
"2.2", name=key, obj_type="rcparam", addendum=addendum)
Add additional function par
as equivalent to ∥
to simplify writing of calculations.
Do not remove ∥
for compatibility reasons
If function phasor
is called with zero length phasor, an error is caused. This shall be treated in order to avoid the error. Nothing shall be plotted in that case.
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
I just announced my first package in this discourse post. In researching it's need, I have stumbled over this package. I was just thinking that my package is likely relevant to whoever might use this one. So I would simply like to invite to do one of the following:
The second option is viable, as the package is very small and lightweight. I am however still open to suggestions for API changes, and so this should possibly wait until I release a 1.0.0 version.
In the included files __precompile__(true)
is used but this seems not to be required
@JuliaRegistrator register
In Julia 1.1.0 the following message is gernerated:
using EE
[ Info: Precompiling EE [c638b1ac-f202-5047-8f20-c6a32b8565b5]
┌ Warning: Package EE does not have PyPlot in its dependencies:
│ - If you have EE checked out for development and have
│ added PyPlot as a dependency but haven't updated your primary
│ environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with EE
└ Loading PyPlot into EE from project dependency, future warnings for EE are suppressed.
@JuliaRegistrator register
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.