You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+44-2Lines changed: 44 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## [Unreleased]
9
9
10
+
### Added
11
+
- Gradient computation for rotated boxes in Transformed.
12
+
13
+
### Changed
14
+
- Supplying autograd-traced values to geometric fields (`center`, `size`) of simulations, monitors, and sources now logs a warning and falls back to the static value instead of erroring.
15
+
- Attempting to differentiate server-side field projections now raises a clear error instead of silently failing.
16
+
17
+
## [2.8.3] - 2025-04-24
18
+
19
+
### Added
20
+
- Ability to select payment option when submitting jobs from the Python client.
21
+
- Periodic repetition of EME subgrids via `num_reps` or `EMEPeriodicitySweep`.
22
+
- Methods `EMEExplicitGrid.from_structures` and `EMECompositeGrid.from_structure_groups` to place EME cell boundaries at structure bounds.
23
+
- 'ModeSimulation' now supports 'PermittivityMonitor'.
24
+
- Classmethod `from_frequency_range` in `GaussianPulse` for generating a pulse whose amplitude in the frequency_range [fmin, fmax] is maximized, which is particularly useful for running broadband simulations.
25
+
- Differentiable function `td.plugins.autograd.interpolate_spline` for 1D linear, quadratic, and cubic spline interpolation, supporting differentiation with respect to the interpolated values (`y_points`) and optional endpoint derivative constraints.
26
+
-`SteadyEnergyBandMonitor` in the Charge solver.
27
+
- Pretty printing enabled with `rich.print` for the material library, materials, and their variants. In notebooks, this can be accessed using `rich.print` or `display`, or by evaluating the material library, a material, or a variant in a cell.
28
+
29
+
### Changed
30
+
- Performance enhancement for adjoint gradient calculations by optimizing field interpolation.
31
+
- Auto grid in EME simulations with multiple `freqs` provided uses the largest instead of raising an error.
32
+
- Named mediums now display by name for brevity; materials/variants print concise summaries including references.
33
+
34
+
### Fixed
35
+
- Fixed `reverse` property of `td.Scene.plot_structures_property()` to also reverse the colorbar.
36
+
37
+
### Fixed
38
+
- Fixed bug in surface gradient computation where fields, instead of gradients, were being summed in frequency.
39
+
40
+
## [2.8.2] - 2025-04-09
41
+
10
42
### Added
11
43
-`fill` and `fill_structures` argument in `td.Simulation.plot_structures()` and `td.Simulation.plot()` respectively to disable fill and plot outlines of structures only.
12
44
- New subpixel averaging option `ContourPathAveraging` applied to dielectric material boundaries.
13
45
- A property `interior_angle` in `PolySlab` that stores angles formed inside polygon by two adjacent edges.
14
46
-`eps_component` argument in `td.Simulation.plot_eps()` to optionally select a specific permittivity component to plot (eg. `"xx"`).
15
47
- Monitor `AuxFieldTimeMonitor` for aux fields like the free carrier density in `TwoPhotonAbsorption`.
16
-
- Gradient computation for rotated boxes in Transformed.
48
+
- Broadband handling (`num_freqs` argument) to the TFSF source.
49
+
- Ability to define a `WavePort` using only a voltage or current path integral, with the missing quantity inferred via power conservation.
17
50
18
51
### Fixed
19
52
- Compatibility with `xarray>=2025.03`.
20
53
- Inaccurate gradient when auto-grabbing permittivities for structures using `td.PolySlab` when using dispersive material models.
21
54
- Fixed scaling for adjoint sources when differentiating with respect to `FieldData` to account for the mesh size of the monitor and thus the created source. This aligns adjoint gradient magnitudes with numerical finite difference gradients for field data.
22
55
- Warn when mode solver pml covers a significant portion of the mode plane.
56
+
- TFSF server errors related to the auxiliary plane wave source that would previously happen on the server are now caught upon simulation creation.
57
+
- Opposite arrow curvature for mode sources and monitors with non-zero bendind radius when plotted in the figure's Y axis.
58
+
59
+
### Changed
60
+
-`num_freqs` in Gaussian beam type sources limited to 20, which should besufficient for all cases.
61
+
- The `angle_phi` parameter of `ModeSpec` is only limited to multiples of `np.pi / 2` if `angle_rotation` is set to `True`, as other values would currently not work correctly.
62
+
- The `ramp_up_iters` parameter of the `ChargeSolver` was changed back to 1 for efficiency. It can be increased in cases with e.g. high doping when convergence is more difficult.
23
63
24
64
## [2.8.1] - 2025-03-20
25
65
@@ -1561,7 +1601,9 @@ which fields are to be projected is now determined automatically based on the me
1561
1601
- Job and Batch classes for better simulation handling (eventually to fully replace webapi functions).
1562
1602
- A large number of small improvements and bug fixes.
0 commit comments