diff --git a/tidy3d/components/medium.py b/tidy3d/components/medium.py index ac29f31d3..7f29ebb74 100644 --- a/tidy3d/components/medium.py +++ b/tidy3d/components/medium.py @@ -1623,6 +1623,8 @@ def from_nk(cls, n: float, k: float, freq: float, **kwargs): Imaginary part of refrative index. freq : float Frequency to evaluate permittivity at (Hz). + kwargs: dict + Keyword arguments passed to the medium construction. Returns ------- @@ -2397,6 +2399,8 @@ def from_nk( interp_method : :class:`.InterpMethod`, optional Interpolation method to obtain permittivity values that are not supplied at the Yee grids. + kwargs: dict + Keyword arguments passed to the medium construction. Note ---- @@ -4062,6 +4066,8 @@ def from_nk(cls, n: float, k: float, freq: float, **kwargs): Imaginary part of refrative index. freq : float Frequency to evaluate permittivity at (Hz). + kwargs: dict + Keyword arguments passed to the medium construction. Returns ------- @@ -4100,6 +4106,7 @@ def from_nk(cls, n: float, k: float, freq: float, **kwargs): coeffs=[ (eps_i, fp, delta_p), ], + **kwargs, ) @@ -6487,6 +6494,8 @@ def medium_from_nk(n: float, k: float, freq: float, **kwargs) -> Union[Medium, L Imaginary part of refrative index. freq : float Frequency to evaluate permittivity at (Hz). + kwargs: dict + Keyword arguments passed to the medium construction. Returns -------