Fourier2D.Eigenmodes Class¶
- class Fourier2D.Eigenmodes¶
Layer eignemodes
This is an advanced class allowing to extract eignemodes in each layer.
Subclasses¶
Single eignemode. |
Attributes¶
Provider of the computed electric field [V/m]. |
|
Provider of the computed electric field [A/m]. |
|
Provider of the computed light intensity [W/m²]. |
Descriptions¶
Attribute Details¶
- Fourier2D.Eigenmodes.outLightE = <property object>¶
Provider of the computed electric field [V/m].
outLightE(n=0, mesh, interpolation=’default’)
- Parameters:
n (int) – Number of the mode found with
find_mode()
.:param mesh mesh: Target mesh to get the field at.interpolation (str) – Requested interpolation method.
- Returns:
Data with the electric field on the specified mesh [V/m].
You may obtain the number of different values this provider can return by testing its length.
Example
Connect the provider to a receiver in some other solver:
>>> other_solver.inLightE = solver.outLightE
Obtain the provided field:
>>> solver.outLightE(0, mesh) <plask.Data at 0x1234567>
Test the number of provided values:
>>> len(solver.outLightE) 3
- Fourier2D.Eigenmodes.outLightH = <property object>¶
Provider of the computed electric field [A/m].
outLightH(n=0, mesh, interpolation=’default’)
- Parameters:
n (int) – Number of the mode found with
find_mode()
.:param mesh mesh: Target mesh to get the field at.interpolation (str) – Requested interpolation method.
- Returns:
Data with the electric field on the specified mesh [A/m].
You may obtain the number of different values this provider can return by testing its length.
Example
Connect the provider to a receiver in some other solver:
>>> other_solver.inLightH = solver.outLightH
Obtain the provided field:
>>> solver.outLightH(0, mesh) <plask.Data at 0x1234567>
Test the number of provided values:
>>> len(solver.outLightH) 3
- Fourier2D.Eigenmodes.outLightMagnitude = <property object>¶
Provider of the computed light intensity [W/m²].
outLightMagnitude(n=0, mesh, interpolation=’default’)
- Parameters:
n (int) – Number of the mode found with
find_mode()
.:param mesh mesh: Target mesh to get the field at.interpolation (str) – Requested interpolation method.
- Returns:
Data with the light intensity on the specified mesh [W/m²].
You may obtain the number of different values this provider can return by testing its length.
Example
Connect the provider to a receiver in some other solver:
>>> other_solver.inLightMagnitude = solver.outLightMagnitude
Obtain the provided field:
>>> solver.outLightMagnitude(0, mesh) <plask.Data at 0x1234567>
Test the number of provided values:
>>> len(solver.outLightMagnitude) 3
See also
Provider class:
plask.flow.LightMagnitudeProvider2D
Receciver class:
plask.flow.LightMagnitudeReceiver2D