Lucas

Results 17 comments of Lucas

Yes, I have something similar, but I default the highest Q to 100 and leave the refractive index at 1. The propagation length I get from the largest bounding box...

Those values and formulas for `fwidth` were taken from the smatrix plugin, to match the Gaussian pulse used there. Those seem to be reasonable defaults for common integrated devices. In...

It's looking good to me. In my opinion, if it's easy to get the maximum index, it's better to use it. I don't because I don't want photonforge to depend...

I don't think 100 is overkill. That's equivalent to a very bad resonator, which I chose because it helps if there are unintended resonances in the structure (think of an...

I can't see any errors in `plot()` in either develop or pre/2.7 branches. Is there a particular case that is not working? The geometry if completely missing in `plot_3d()`, indeed,...

Maybe @dbochkov-flexcompute or @weiliangjin2021 have better insight here, but I think we cannot guarantee that getting ε from a non-watertight mesh would always succeed. A non-watertight mesh is essentially open,...

Or set the default Q to 1 if we want to provide a default at all.

If this is not high priority, I can implement it relatively quickly probably by next week.

The tests are failing because you want mkdir, not makedirs: https://docs.python.org/3/library/pathlib.html#pathlib.Path.mkdir

The only request not covered by the PRs is mode leakage calculation, because that seems to be problem-dependent. I don't think we can provide a general and **robust** solution covering...