Skip to content

Commit 7e0de65

Browse files
committed
Add interval_space to EMEFieldMonitor
1 parent 6cae72c commit 7e0de65

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
- Add Nunley variant to germanium material library based on Nunley et al. 2016 data.
1313
- Add `PointDipole.sources_from_angles()` that constructs a list of `PointDipole` objects needed to emulate a dipole oriented at a user-provided set of polar and azimuthal angles.
1414
- Added `priority` parameter to `web.run()` and related functions to allow vGPU users to set task priority (1-10) in the queue.
15+
- `EMEFieldMonitor` now supports `interval_space`.
1516

1617
### Changed
1718
- Switched to an analytical gradient calculation for spatially-varying pole-residue models (`CustomPoleResidue`).

tidy3d/components/eme/monitor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ class EMEFieldMonitor(EMEMonitor, AbstractFieldMonitor):
198198
... )
199199
"""
200200

201-
interval_space: tuple[Literal[1], Literal[1], Literal[1]] = pd.Field(
201+
interval_space: tuple[pd.PositiveInt, pd.PositiveInt, pd.PositiveInt] = pd.Field(
202202
(1, 1, 1),
203203
title="Spatial Interval",
204-
description="Note: not yet supported. Number of grid step intervals between monitor recordings. If equal to 1, "
204+
description="Number of grid step intervals between monitor recordings. If equal to 1, "
205205
"there will be no downsampling. If greater than 1, the step will be applied, but the "
206206
"first and last point of the monitor grid are always included.",
207207
)

0 commit comments

Comments
 (0)