File tree Expand file tree Collapse file tree 9 files changed +16
-13
lines changed Expand file tree Collapse file tree 9 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 4
4
5
5
import warnings
6
6
7
+ from tidy3d .plugins .smatrix .component_modelers .modal import (
8
+ AbstractComponentModeler ,
9
+ ComponentModeler ,
10
+ )
11
+ from tidy3d .plugins .smatrix .component_modelers .terminal import TerminalComponentModeler
7
12
from tidy3d .plugins .smatrix .data .data import ComponentModelerData , TerminalComponentModelerData
8
13
from tidy3d .plugins .smatrix .data .data_array import PortDataArray , TerminalPortDataArray
9
- from tidy3d .plugins .smatrix .modelers .modal import AbstractComponentModeler , ComponentModeler
10
- from tidy3d .plugins .smatrix .modelers .terminal import TerminalComponentModeler
11
14
from tidy3d .plugins .smatrix .ports .coaxial_lumped import CoaxialLumpedPort
12
15
from tidy3d .plugins .smatrix .ports .modal import ModalPortDataArray , Port
13
16
from tidy3d .plugins .smatrix .ports .rectangular_lumped import LumpedPort
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 17
17
from tidy3d .constants import C_0 , OHM
18
18
from tidy3d .exceptions import SetupError , Tidy3dKeyError , ValidationError
19
19
from tidy3d .log import log
20
- from tidy3d .plugins .smatrix .data .data_array import PortDataArray
21
- from tidy3d .plugins .smatrix .modelers .base import (
20
+ from tidy3d .plugins .smatrix .component_modelers .base import (
22
21
AbstractComponentModeler ,
23
22
TerminalPortType ,
24
23
)
24
+ from tidy3d .plugins .smatrix .data .data_array import PortDataArray
25
25
from tidy3d .plugins .smatrix .ports .base_lumped import AbstractLumpedPort
26
26
from tidy3d .plugins .smatrix .ports .coaxial_lumped import CoaxialLumpedPort
27
27
from tidy3d .plugins .smatrix .ports .rectangular_lumped import LumpedPort
Original file line number Diff line number Diff line change 13
13
from tidy3d .components .data .sim_data import SimulationData
14
14
from tidy3d .components .microwave .data .monitor_data import AntennaMetricsData
15
15
from tidy3d .log import log
16
+ from tidy3d .plugins .smatrix .component_modelers .base import TerminalPortType
17
+ from tidy3d .plugins .smatrix .component_modelers .terminal import TerminalComponentModeler
16
18
from tidy3d .plugins .smatrix .data .data_array import PortDataArray , TerminalPortDataArray
17
- from tidy3d .plugins .smatrix .modelers .base import TerminalPortType
18
- from tidy3d .plugins .smatrix .modelers .terminal import TerminalComponentModeler
19
19
20
20
21
21
class MicrowavePortSimulationData (Tidy3dBaseModel ):
Original file line number Diff line number Diff line change 7
7
import numpy as np
8
8
9
9
from tidy3d .components .data .sim_data import SimulationData
10
+ from tidy3d .plugins .smatrix .component_modelers .base import (
11
+ DEFAULT_DATA_DIR ,
12
+ )
13
+ from tidy3d .plugins .smatrix .component_modelers .terminal import TerminalComponentModeler
10
14
from tidy3d .plugins .smatrix .data .data import (
11
15
MicrowavePortSimulationData ,
12
16
TerminalComponentModelerData ,
13
17
)
14
18
from tidy3d .plugins .smatrix .data .data_array import PortDataArray , TerminalPortDataArray
15
- from tidy3d .plugins .smatrix .modelers .base import (
16
- DEFAULT_DATA_DIR ,
17
- )
18
- from tidy3d .plugins .smatrix .modelers .terminal import TerminalComponentModeler
19
19
from tidy3d .plugins .smatrix .ports .wave import WavePort
20
20
from tidy3d .plugins .smatrix .utils import check_port_impedance_sign , compute_F , compute_port_VI
21
21
from tidy3d .web import BatchData
Original file line number Diff line number Diff line change 1
1
# backwards compatibility support for ``from tidy3d.plugins.smatrix.smatrix import ``
2
2
from __future__ import annotations
3
3
4
- from .modelers .modal import ComponentModeler
4
+ from .component_modelers .modal import ComponentModeler
5
5
from .ports .modal import Port
6
6
7
7
__all__ = ["ComponentModeler" , "Port" ]
Original file line number Diff line number Diff line change 7
7
from tidy3d .components .data .data_array import DataArray , FreqDataArray
8
8
from tidy3d .components .data .sim_data import SimulationData
9
9
from tidy3d .exceptions import Tidy3dError
10
- from tidy3d .plugins .smatrix .data .data_array import PortDataArray , TerminalPortDataArray
11
- from tidy3d .plugins .smatrix .modelers .base import (
10
+ from tidy3d .plugins .smatrix .component_modelers .base import (
12
11
AbstractComponentModeler ,
13
12
TerminalPortType ,
14
13
)
14
+ from tidy3d .plugins .smatrix .data .data_array import PortDataArray , TerminalPortDataArray
15
15
from tidy3d .plugins .smatrix .ports .coaxial_lumped import CoaxialLumpedPort
16
16
from tidy3d .plugins .smatrix .ports .rectangular_lumped import LumpedPort
17
17
You can’t perform that action at this time.
0 commit comments