Skip to content

Commit bdbb0ae

Browse files
chore: release v2.10.0 official
1 parent 5455f4e commit bdbb0ae

File tree

11 files changed

+213
-183
lines changed

11 files changed

+213
-183
lines changed

.github/workflows/tidy3d-docs-sync-readthedocs-repo.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ jobs:
7676
fetch-tags: true
7777
persist-credentials: true
7878

79+
- name: convert-ssh-submodules-to-https
80+
run: |
81+
if [ -f .gitmodules ]; then
82+
echo "Converting SSH submodule URLs to HTTPS..."
83+
sed -i 's|git@github.com:|https://github.com/|g' .gitmodules
84+
git submodule sync
85+
echo "Submodule URLs converted successfully"
86+
else
87+
echo "No .gitmodules file found, skipping conversion"
88+
fi
89+
7990
- name: push-mirror-repo
8091
id: sync-result
8192
env:

CHANGELOG.md

Lines changed: 79 additions & 95 deletions
Large diffs are not rendered by default.

docs/api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ API |:computer:|
2323
heat/index
2424
charge/index
2525
eme/index
26+
mode/index
2627
microwave/index
2728
plugins/index
2829
spice

docs/api/mode.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/api/mode/index.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.. currentmodule:: tidy3d
2+
3+
Mode |:dart:|
4+
=============
5+
6+
.. include:: /api/mode/sources.rst
7+
8+
9+
Interpolation Specifications
10+
----------------------------
11+
12+
.. autosummary::
13+
:toctree: _autosummary/
14+
:template: module.rst
15+
16+
tidy3d.ModeInterpSpec
17+
18+
19+
Sort Specifications
20+
-------------------
21+
22+
.. autosummary::
23+
:toctree: _autosummary/
24+
:template: module.rst
25+
26+
tidy3d.ModeSortSpec
27+
28+
29+
Sampling Specifications
30+
-----------------------
31+
32+
.. autosummary::
33+
:toctree: _autosummary/
34+
:template: module.rst
35+
36+
tidy3d.UniformSampling
37+
tidy3d.ChebSampling
38+
tidy3d.CustomSampling
39+

docs/api/mode/sources.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Mode Source
2+
-----------
3+
4+
.. autosummary::
5+
:toctree: _autosummary/
6+
:template: module.rst
7+
8+
tidy3d.ModeSource
9+
tidy3d.ModeSpec
10+
tidy3d.PECFrame
11+
12+
The ``ModeSource`` class represents a propagating mode in a given structure cross section.
13+
14+
Behind the scenes, the desired mode is initially obtained by running the mode solver on the ``ModeSource`` plane. The ``ModeSpec`` class provides the settings for the mode solver. Once the desired mode is found, it is injected into the 3D simulation along the plane normal. The user does not need to invoke the mode solver explicitly; it is performed automatically whenever a ``ModeSource`` or ``ModeMonitor`` is included in a Tidy3D simulation.
15+
16+
.. code-block:: python
17+
18+
# custom mode specification tells the mode solver to search for
19+
# two modes around effective index = 1.5
20+
my_mode_spec = ModeSpec(num_modes=2, target_neff=1.5)
21+
22+
# custom mode source injects the first mode along the +x direction
23+
my_mode_source = ModeSource(
24+
size=(0,10,10),
25+
source_time=my_source_time,
26+
direction='+',
27+
mode_spec=my_mode_spec,
28+
mode_index=0,
29+
)
30+
31+
.. seealso::
32+
33+
For more detailed explanation and examples, please see the following learning center resources:
34+
35+
+ `Defining mode sources and monitors <../notebooks/ModalSourcesMonitors.html>`_
36+
+ `Injecting modes in bent and angled waveguides <../notebooks/ModeBentAngled.html>`_
37+
38+
For a short introduction to the use of mode sources, see the following FDTD101 lecture:
39+
40+
+ `Mode injection <https://www.flexcompute.com/fdtd101/Lecture-4-Prelude-to-Integrated-Photonics-Simulation-Mode-Injection/>`_
41+

docs/api/plugins/smatrix.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. currentmodule:: tidy3d
22

33
S-Matrix Component Modelers Plugin
4-
----------------------------------
4+
==================================
55

66
This plugin provides component modelers for computing S-parameters (scattering parameters) for both **photonics** and **RF/microwave** applications. The plugin supports:
77

docs/api/sources.rst

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -185,46 +185,7 @@ The ``GaussianBeam`` and ``AstigmaticGaussianBeam`` classes implement the paraxi
185185

186186
~~~~
187187

188-
Mode Source
189-
-----------
190-
191-
.. autosummary::
192-
:toctree: _autosummary/
193-
:template: module.rst
194-
195-
tidy3d.ModeSource
196-
tidy3d.ModeSpec
197-
tidy3d.PECFrame
198-
199-
The ``ModeSource`` class represents a propagating mode in a given structure cross section.
200-
201-
Behind the scenes, the desired mode is initially obtained by running the mode solver on the ``ModeSource`` plane. The ``ModeSpec`` class provides the settings for the mode solver. Once the desired mode is found, it is injected into the 3D simulation along the plane normal. The user does not need to invoke the mode solver explicitly; it is performed automatically whenever a ``ModeSource`` or ``ModeMonitor`` is included in a Tidy3D simulation.
202-
203-
.. code-block:: python
204-
205-
# custom mode specification tells the mode solver to search for
206-
# two modes around effective index = 1.5
207-
my_mode_spec = ModeSpec(num_modes=2, target_neff=1.5)
208-
209-
# custom mode source injects the first mode along the +x direction
210-
my_mode_source = ModeSource(
211-
size=(0,10,10),
212-
source_time=my_source_time,
213-
direction='+',
214-
mode_spec=my_mode_spec,
215-
mode_index=0,
216-
)
217-
218-
.. seealso::
219-
220-
For more detailed explanation and examples, please see the following learning center resources:
221-
222-
+ `Defining mode sources and monitors <../notebooks/ModalSourcesMonitors.html>`_
223-
+ `Injecting modes in bent and angled waveguides <../notebooks/ModeBentAngled.html>`_
224-
225-
For a short introduction to the use of mode sources, see the following FDTD101 lecture:
226-
227-
+ `Mode injection <https://www.flexcompute.com/fdtd101/Lecture-4-Prelude-to-Integrated-Photonics-Simulation-Mode-Injection/>`_
188+
.. include:: /api/mode/sources.rst
228189

229190
~~~~
230191

docs/api/submit_simulations.rst

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ Core Workflow
1313
:toctree: _autosummary/
1414
:template: module.rst
1515

16-
tidy3d.web.api.webapi.run
17-
tidy3d.web.api.webapi.upload
18-
tidy3d.web.api.webapi.start
19-
tidy3d.web.api.webapi.monitor
20-
tidy3d.web.api.webapi.download
21-
tidy3d.web.api.webapi.load
16+
tidy3d.web.run
17+
tidy3d.web.upload
18+
tidy3d.web.start
19+
tidy3d.web.monitor
20+
tidy3d.web.download
21+
tidy3d.web.load
2222
tidy3d.web.api.asynchronous.run_async
2323

2424
Download Utilities
@@ -28,10 +28,10 @@ Download Utilities
2828
:toctree: _autosummary/
2929
:template: module.rst
3030

31-
tidy3d.web.api.webapi.download_json
32-
tidy3d.web.api.webapi.download_hdf5
33-
tidy3d.web.api.webapi.download_log
34-
tidy3d.web.api.webapi.load_simulation
31+
tidy3d.web.download_json
32+
tidy3d.web.download_hdf5
33+
tidy3d.web.download_log
34+
tidy3d.web.load_simulation
3535

3636
Task Information
3737
~~~~~~~~~~~~~~~~
@@ -40,9 +40,9 @@ Task Information
4040
:toctree: _autosummary/
4141
:template: module.rst
4242

43-
tidy3d.web.api.webapi.get_info
44-
tidy3d.web.api.webapi.get_run_info
45-
tidy3d.web.api.webapi.get_tasks
43+
tidy3d.web.get_info
44+
tidy3d.web.get_run_info
45+
tidy3d.web.get_tasks
4646

4747
Cost Estimation
4848
~~~~~~~~~~~~~~~
@@ -51,8 +51,8 @@ Cost Estimation
5151
:toctree: _autosummary/
5252
:template: module.rst
5353

54-
tidy3d.web.api.webapi.estimate_cost
55-
tidy3d.web.api.webapi.real_cost
54+
tidy3d.web.estimate_cost
55+
tidy3d.web.real_cost
5656

5757
Task Management
5858
~~~~~~~~~~~~~~~
@@ -61,9 +61,9 @@ Task Management
6161
:toctree: _autosummary/
6262
:template: module.rst
6363

64-
tidy3d.web.api.webapi.delete
65-
tidy3d.web.api.webapi.delete_old
66-
tidy3d.web.api.webapi.abort
64+
tidy3d.web.delete
65+
tidy3d.web.delete_old
66+
tidy3d.web.abort
6767

6868
Account and System
6969
~~~~~~~~~~~~~~~~~~
@@ -72,8 +72,8 @@ Account and System
7272
:toctree: _autosummary/
7373
:template: module.rst
7474

75-
tidy3d.web.api.webapi.account
76-
tidy3d.web.api.webapi.test
75+
tidy3d.web.account
76+
tidy3d.web.test
7777

7878
Job and Batch Containers
7979
-------------------------
@@ -82,9 +82,9 @@ Job and Batch Containers
8282
:toctree: _autosummary/
8383
:template: module.rst
8484

85-
tidy3d.web.api.container.Job
86-
tidy3d.web.api.container.Batch
87-
tidy3d.web.api.container.BatchData
85+
tidy3d.web.Job
86+
tidy3d.web.Batch
87+
tidy3d.web.BatchData
8888

8989
Information Containers
9090
----------------------

docs/notebooks

Submodule notebooks updated 117 files

0 commit comments

Comments
 (0)