pymiediff.coreshell.nearfields#
- pymiediff.coreshell.nearfields(k0, r_probe, r_c, eps_c, r_s=None, eps_s=None, eps_env=1.0, E_0=1, backend='torch', precision='double', which_jn='recurrence', n_max=None)#
near fields in and around core-shell particles
- Results are retured as a dictionary with keys:
‘E_i’: incident E-field
‘H_i’: incident H-field
‘E_s’: scattered E-field
‘H_s’: scattered H-field
‘E_t’: total E-field
‘H_t’: total H-field
- Parameters:
k0 (_type_) – _description_
r_probe (_type_) – _description_
r_c (_type_) – _description_
eps_c (_type_) – _description_
r_s (_type_, optional) – _description_. Defaults to None.
eps_s (_type_, optional) – _description_. Defaults to None.
eps_env (float, optional) – _description_. Defaults to 1.0.
E_0 (int, optional) – _description_. Defaults to 1.
backend (str, optional) – _description_. Defaults to “torch”.
precision (str, optional) – _description_. Defaults to “double”.
which_jn (str, optional) – _description_. Defaults to “recurrence”.
n_max (_type_, optional) – _description_. Defaults to None.
- Returns:
contains incident, scattered and total E- and H-fields
- Return type:
dict