Top-hat mode

class TophatMode(mode_radius: float, core_radius: float)

The TophatMode class represents a fiber mode with constant intensity in a disk-like region and instant fall-off outside it.

__init__(mode_radius: float, core_radius: float)

Constructor

Parameters
  • mode_radius – Radius of the top-hat “disk”

  • core_radius – Radius of the fiber core

intensity(r, phi=None)

Mode intensity at polar coordinates (r, phi). The angle is redundant since TophatMode is radially symmetric.

Parameters
  • r – Radial distance from the center of the fiber

  • phi – Angle

Returns

Normalized intensity I(r, phi)

property core_overlap

The mode’s total overlap with the fiber core.

Returns

Overlap as 0…1

core_section_overlap(r_lim, phi_lim)

The mode’s overlap with a single core section defined by r_lim, phi_lim

Parameters
  • r_lim – Numpy array containing min and max radius defining the section.

  • phi_lim – Numpy array containing min and max angles defining the section.

Returns

Overlap with the core section 0…1