tidy3d
tidy3d copied to clipboard
Fast electromagnetic solver (FDTD) at scale.
Since [ruff format](https://docs.astral.sh/ruff/formatter/#:~:text=The%20Ruff%20formatter%20is%20an,1.2.) has had feature parity with black for a while now, it might be nice to move away from black because 1. speed and 2. one less dependency.
Adds `EMEFreqSweep` with `freq_scale_factors`. Adds perturbative mode solver. Other minor changes.
Tested for HEAT. Can't really test for EME until python-webapi is updated (see PR there)
Been testing the EME solver today and it's no doubt a great addition to the FDTD solver. Thanks @caseyflex for the great efforts in the past few months. This is...
A permittivity monitor, just in the time domain instead of frequency domain. This should be useful now that our nonlinear capabilities are what they are.
Implemented a preliminary fix for the 'near2far' in 2D. The key differences between 2D and 3D of 'near2far' in math are as follows: 1. Field Components - In 3D, they...
At the moment the mode solver `RectangularDielectric` in tidy3d is somewhat to strip/rib How can we use tidy3d mode solver to ? - [ ] solve waveguides with varying refractive...
- [ ] Document classes and methods as we want users to access them, not corresponding to their location in the API - [ ] non duplicated classes on the...
The code to reproduce the error: ``` import numpy as np from tidy3d.plugins.dispersion import FastDispersionFitter N = 2 wvl_um = np.linspace(0.5, 0.6, N) n_data = np.ones(N) * 2 k_data =...