tidy3d.FluxTimeData#

class FluxTimeData[source]#

Bases: MonitorData

Data associated with a FluxTimeMonitor: flux data in the time-domain.

Parameters:
  • monitor (Attribute: monitor) –

    Type

    FluxTimeMonitor

    Default

    Description

    Time-domain flux monitor associated with the data.

  • flux (Attribute: flux) –

    Type

    FluxTimeDataArray

    Default

    Description

    Flux values in the time-domain.

Notes

The data is stored as a DataArray object using the xarray package.

Example

>>> from tidy3d import FluxTimeDataArray
>>> t = [0, 1e-12, 2e-12]
>>> coords = dict(t=t)
>>> flux_data = FluxTimeDataArray(np.random.random(3), coords=coords)
>>> monitor = FluxTimeMonitor(size=(2,0,6), interval=100, name='flux_time')
>>> data = FluxTimeData(monitor=monitor, flux=flux_data)

Attributes

Methods

monitor#
flux#
__hash__()#

Hash method.