LASY-org / lasy

https://lasydoc.readthedocs.io
Other
33 stars 24 forks source link

[mini] Fix grid size calculation in mode decomposition #297

Closed MaxThevenet closed 2 months ago

MaxThevenet commented 2 months ago

The grid is calculated to have the exact resolution provided by the user. As before, the box width is approximately (but not exactly) 10*w0, where w0 is the spot size. The number of points is enforced to be even. This should address issue https://github.com/LASY-org/lasy/issues/210.