Tyler Hughes
Tyler Hughes
Note: the reason I ask is that I see another for loop [here](https://github.com/flaport/sax/blob/2b7e8ad288b2a58a394e4ff630aaf5b19fdbaafb/sax/circuit.py#L67-L82). I'm not sure if this needs to be parallelized also, or if it's just for setting things...
@flaport I made a demo showing co-optimization of two photonic devices (with Tidy3D's adjoint plugin) embedded within a circuit-level objective defined by sax. https://docs.flexcompute.com/projects/tidy3d/en/latest/notebooks/AdjointPlugin11CircuitMZI.html Basically it's an MZI with two...
Great! yea feel free to add it.
Here's the notebook file: https://github.com/flexcompute-readthedocs/tidy3d-docs/blob/develop/docs/source/notebooks/AdjointPlugin11CircuitMZI.ipynb
@smartalecH That's a good idea. I never tried that before but was playing around with it separately just now and unfortunately it seems like `pmap` and `vmap` don't seem to...
Your mode source and monitors `name="o1"` must be centered on the symmetry planes, which lie on the dim=0 plane where symmetry != 0. Could you check the simulation geometry without...
Hm, maybe @momchil-flex can comment on the numerical precision handling for symmetry.
Just a heads up, for handling pixelated shape in Tidy3D, best is to use our new `CustomMedium` component, introduced also in this pre-release. * [Api reference](https://docs.flexcompute.com/projects/tidy3d/en/v1.9.0rc1/_autosummary/tidy3d.CustomMedium.html?highlight=CustomMedium) * [Tutorial](https://docs.flexcompute.com/projects/tidy3d/en/v1.9.0rc1/notebooks/CustomMediumTutorial.html?highlight=CustomMedium) There is...
A lot more cool stuff coming soon! including many 3D inverse design demos.
From the error message it looks like a [Section](https://github.com/gdsfactory/gdsfactory/blob/e85fb15a6066e2bf372ea09b8ac7fdb61262160c/gdsfactory/cross_section.py#L124) is getting passed an `int` somewhere instead of a `LayerSpec` (`tuple[int, int] | str`). Seems like a gdsfactory internal issue to...