Skip to content

Multiple Lorentz oscillator #165

Answered by domna
rugfri asked this question in Q&A
Discussion options

You must be logged in to vote

Something like this should work:

from elli.dispersions import LorentzEnergy

osc = LorentzEnergy().add(A=1, E=1, gamma=0.5).add(A=2, E=2, gamma=1)

which gives

>>> print(osc)
LorentzEnergy
=============


Oscillators
===========
A = 1, E = 1, gamma = 0.5
A = 2, E = 2, gamma = 1

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MarJMue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants