File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -532,6 +532,24 @@ class FreqDataArray(DataArray):
532532 _dims = ("f" ,)
533533
534534
535+ class FreqPotentialDataArray (DataArray ):
536+ """Frequency-domain array.
537+
538+ Example
539+ -------
540+ >>> f = [2e14, 3e14]
541+ >>> v = [0.1, 0.2, 0.3]
542+ >>> coords = dict(f=f, v=v)
543+ >>> fd = FreqPotentialDataArray((1+1j) * np.random.random((2, 3)), coords=coords)
544+ """
545+
546+ __slots__ = ()
547+ _dims = (
548+ "f" ,
549+ "v" ,
550+ )
551+
552+
535553class FreqModeDataArray (DataArray ):
536554 """Array over frequency and mode index.
537555
@@ -1357,6 +1375,7 @@ class PerturbationCoefficientDataArray(DataArray):
13571375 FreqDataArray ,
13581376 TimeDataArray ,
13591377 FreqModeDataArray ,
1378+ FreqPotentialDataArray ,
13601379 TriangleMeshDataArray ,
13611380 HeatDataArray ,
13621381 EMEScalarFieldDataArray ,
Original file line number Diff line number Diff line change 1111from tidy3d .components .base import Tidy3dBaseModel
1212from tidy3d .components .base_sim .data .sim_data import AbstractSimulationData
1313from tidy3d .components .data .data_array import (
14+ FreqPotentialDataArray ,
1415 SpatialDataArray ,
1516 SteadyVoltageDataArray ,
1617)
@@ -84,6 +85,12 @@ class DeviceCharacteristics(Tidy3dBaseModel):
8485 "is given in Ohms. Note that in 2D the resistance is given in :math:`\\ Omega \\ mu`." ,
8586 )
8687
88+ ac_current_voltage : Optional [FreqPotentialDataArray ] = pd .Field (
89+ None ,
90+ title = "AC current vs voltage and frequency" ,
91+ description = "Complex small-signal current I(v, f) as a FreqPotentialDataArray." ,
92+ )
93+
8794
8895class AbstractHeatChargeSimulationData (AbstractSimulationData , ABC ):
8996 """Abstract class for HeatChargeSimulation results, or VolumeMesher results."""
You can’t perform that action at this time.
0 commit comments