Doping profile¶
- class DopingProfile(radii, num_of_angular_sections, ion_number_densities, core_radius)¶
The DopingProfile class describes the 2D transverse doping parameters of an active fiber in polar coordinates.
- __init__(radii, num_of_angular_sections, ion_number_densities, core_radius)¶
Constructor
- Parameters
radii – A list of radii corresponding to concentric radial sections of the doping profile.
num_of_angular_sections – Number of angular sections in the doping profile.
ion_number_densities – List of doping concentrations in the defined sections: Number of items: len(radii)*len(num_of_angular_sections)
core_radius – The waveguide core radius of the fiber -> can be different from the doping radii
- section_radii(section_idx)¶
Get the radii of a transverse doping profile section.,
- Parameters
section_idx – Index of the section
- Returns
Two-element ndarray containing the inner and outer radii of the section
- section_angles(section_idx)¶
Get the angles defining a transverse doping profile section
- Parameters
section_idx – Index of the section
- Returns
Two-element ndarray containing the inner and outer radii of the section.
- section_area(section_idx)¶
Get the cross sectional area of a doping profile section.
- Parameters
section_idx – Index of the section
- Returns
The area
- property areas¶
Get the cross sectional areas of oll the doping profile sections
- Returns
A numpy array of the areas ordered by index.
- plot()¶
Generate a 2D matplotlib plot of the doping profile. :return: No return value