diff --git a/dsharp_opac/dsharp_opac.py b/dsharp_opac/dsharp_opac.py index 9becb6a..7931911 100755 --- a/dsharp_opac/dsharp_opac.py +++ b/dsharp_opac/dsharp_opac.py @@ -5,7 +5,6 @@ - dielectric functions are objects, see bhmie.diel_* the functions `diel_*.nk` return the optical properties """ -from __future__ import print_function import numpy as np import os import sys @@ -219,7 +218,7 @@ def download(packagedir): raise ex -class diel_const(object): +class diel_const: """ Abstract class for dielectric constants objects """ @@ -1355,7 +1354,7 @@ def fct(x, a, b, c): self.print_reference(', or the specific reference for that species') -class diel_mixed(): +class diel_mixed: """ This is a dielectric_constant class that mixes the various dielectric constants given their abundances.