@@ -1625,6 +1625,8 @@ def from_nk(cls, n: float, k: float, freq: float, **kwargs):
1625
1625
Imaginary part of refrative index.
1626
1626
freq : float
1627
1627
Frequency to evaluate permittivity at (Hz).
1628
+ kwargs: dict
1629
+ Keyword arguments passed to the medium construction.
1628
1630
1629
1631
Returns
1630
1632
-------
@@ -2399,6 +2401,8 @@ def from_nk(
2399
2401
interp_method : :class:`.InterpMethod`, optional
2400
2402
Interpolation method to obtain permittivity values that are not supplied
2401
2403
at the Yee grids.
2404
+ kwargs: dict
2405
+ Keyword arguments passed to the medium construction.
2402
2406
2403
2407
Note
2404
2408
----
@@ -4066,6 +4070,8 @@ def from_nk(cls, n: float, k: float, freq: float, **kwargs):
4066
4070
Imaginary part of refrative index.
4067
4071
freq : float
4068
4072
Frequency to evaluate permittivity at (Hz).
4073
+ kwargs: dict
4074
+ Keyword arguments passed to the medium construction.
4069
4075
4070
4076
Returns
4071
4077
-------
@@ -4104,6 +4110,7 @@ def from_nk(cls, n: float, k: float, freq: float, **kwargs):
4104
4110
coeffs = [
4105
4111
(eps_i , fp , delta_p ),
4106
4112
],
4113
+ ** kwargs ,
4107
4114
)
4108
4115
4109
4116
@@ -6503,6 +6510,8 @@ def medium_from_nk(n: float, k: float, freq: float, **kwargs) -> Union[Medium, L
6503
6510
Imaginary part of refrative index.
6504
6511
freq : float
6505
6512
Frequency to evaluate permittivity at (Hz).
6513
+ kwargs: dict
6514
+ Keyword arguments passed to the medium construction.
6506
6515
6507
6516
Returns
6508
6517
-------
0 commit comments