Skip to content

Commit

Permalink
deleted unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
gsuarezr committed Nov 2, 2023
1 parent 3242c97 commit 228d763
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 1,540 deletions.
494 changes: 0 additions & 494 deletions .ipynb_checkpoints/Fitting_HEOM-checkpoint.ipynb

This file was deleted.

295 changes: 0 additions & 295 deletions .ipynb_checkpoints/OhmicBath-checkpoint.ipynb

This file was deleted.

6 changes: 0 additions & 6 deletions .ipynb_checkpoints/RHS_heom-checkpoint.ipynb

This file was deleted.

433 changes: 0 additions & 433 deletions Fitting_HEOM.ipynb

This file was deleted.

306 changes: 0 additions & 306 deletions OhmicBath.ipynb

This file was deleted.

9 changes: 3 additions & 6 deletions qutip/solver/heom/bofin_baths.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,12 @@ class BathExponent:
Parameters
----------
type : {"R", "I", "RI", "+", "-","Ra","Re","Ia","Ie"} or BathExponent.ExponentType
type : {"R", "I", "RI", "+", "-"} or BathExponent.ExponentType
The type of bath exponent.
"R" and "I" are bosonic bath exponents that appear in the real and
imaginary parts of the correlation expansion.
When the RWA approximation is performed "Ra","Ia" and "Re","Ie" are bosonic bath exponents that appear in the real and
imaginary parts of the correlation expansion, for the absorption and emission parts respectively.
"RI" is combined bosonic bath exponent that appears in both the real
and imaginary parts of the correlation expansion. The combined exponent
has a single ``vk``. The ``ck`` is the coefficient in the real
Expand Down Expand Up @@ -569,7 +566,7 @@ class DrudeLorentzBath(BosonicBath):
bath an exponent is from.
"""

def __init__(self, Q, lam, gamma, T, Nk, combine=True, tag=None, rwa=False):
def __init__(self, Q, lam, gamma, T, Nk, combine=True, tag=None):
ck_real, vk_real, ck_imag, vk_imag = self._matsubara_params(
lam=lam,
gamma=gamma,
Expand Down Expand Up @@ -1604,7 +1601,7 @@ def _matsubara_coefficients(self):
self.Bath_corr = BosonicBath(self.Q, ckAR, vkAR, ckAI, vkAI)


class OhmicBath(FitCorr, FitSpectral):
class OhmicBath(BosonicBath):
def __init__(self, T, Q, alpha, wc, s, Nk=4, method="correlation", rmse=1e-6):
self.alpha = alpha
self.wc = wc
Expand Down

0 comments on commit 228d763

Please sign in to comment.