tidy3d.FluxTimeData#
- class FluxTimeData[source]#
Bases:
MonitorData
Data associated with a
FluxTimeMonitor
: flux data in the time-domain.- Parameters:
monitor (FluxTimeMonitor) β Time-domain flux monitor associated with the data.
flux (FluxTimeDataArray) β 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.