tidy3d.fit.load_poles

tidy3d.fit.load_poles(fname='poles.txt', name=None)

Loads txt file with (num_poles, 2) complex array data into Medium.

Parameters
  • fname (str, optional) – Path to file containing the pole data.

  • name (str, optional) – Custom name of the material.

Returns

Medium using the poles

Return type

Medium