Improvements for webapp
Opened this issue · 8 comments
- Far-field plot + polarization options
- (bug) For multiple spectrum plots wrong conversion of plane wave unit.
- (bug) GaP_Khmelevskaia - wrong shown range in material explorer?
- Near-field - split save button for data and plotting script
- Near-field (IR) - fixed -> fixed Lx/Ly
- Near-field (IR) - put EHk vectors to the plot
- Near-field (IR) - Find a better name for 'Plot relative center'
- Near-field (IR) - separate "particle setup" from "spectrum" to a separate tab.
- Near-field (IR) - show number of multipoles used for evaluation
- Near-field - power-flow lines - normalize vector (we just need the direction) and use boost::numeric::odeint using direction vector as a derivative (so it will interpret vector direction as a unit speed vector).
- Near-field - show field without incident wave
- Add search with logical AND to the q-table with all materials
- Vuepress with Vite documentation for webapp
- Switch between basic and advanced modes
- Near-field - 3D vector plot, e.g. https://en.wikipedia.org/wiki/Vector_spherical_harmonics#/media/File:VSHwiki.svg
- Near-field - vector streamline plot for the field
- Evaluate poles of scattering matrix (KK) - can be a problem with dispersion
- Near-field - multipole decomposition
- Near-field - magnetic field
- Use BEM for CSS styles (CSS modules?)
- Set nmax for simulation.
- Set dielectric material with eps and tan(delta)
- Verify user input (number of mode should be a positive integer, fromWL < toWL, etc.)
- Notify "Scroll down to see the result" after spectrum simulation
- Use https://troisjs.github.io/ for far-field visualization? Or D3FC WebGL for heatmap (near-field) for fast zoom and colorscale changes, e.g. https://blog.scottlogic.com/2020/05/01/rendering-one-million-points-with-d3.html
- Add presets to reproduce figures from papers
- Add cookies to remember user setting from previous visit + reset button.
- Add promotional video with nice girls using Mie calculator
- Solve inverse problem (see PyMieScatt for examples)
- Add magnetic materials
- Near-field - add save data button
- Near-field - additional settings to specify simulation plot area
- Switch between frequency/wavelength
- Add only n data, and fused silicon dioxide to the https://refractiveindex.info/?shelf=main&book=SiO2&page=Malitson
- Add button to view (as a table) and download (as a file) simulation results data.
- Add dispersion
- Near-field plot
- Add host media
- Additional WLs array for plotting (so changing source units should not be effect change of from\to\step WL from previous simulation)
Request: How can I get access to add new materials to the default list (Mie calculator)?
How I can to request to add new materails to the default list (https://refractiveindex.info/?shelf=main&book=SiO2&page=Malitson and https://refractiveindex.info/?shelf=main&book=Ta2O5&page=Bright-amorphous)
@GulkinDmitry I am rewriting Mie calculator from scratch and I will add these materials to the new version. You are also welcome for PR, see https://github.com/ovidiopr/scattnlay/blob/master/vue-cli3-webapp/src/components/GetMaterials.vue#L159-L167 and related code. If it is an urgent request, I can add new materials to the old version myself, however, it looks to be a better time investment to add them to the new version (which will be way more feature rich and more maintainable).
Thanks for the answer!
Of course, this is not urgent. Thanks to Lumerical =). But it seemed that your calculator is very convenient to quickly simulation with different materials (with datas from refrectiveindex.info). Moreover, in the current (old) version, there is a button "add new material" to insert links to the .yml-file. Very cool! But it doesn't work in Chrome, Safari and Opera =(
@GulkinDmitry You are welcome to check the major update of Mie calculator online, available at https://physics.itmo.ru/ru/mie-next (I will replace the current version with the new one during next week). The new version has 700+ materials from refractiveindex.info, feel free to provide your feedback, I should be fast on providing small fixes if I have messed something compared to the previous version.
Good build! Many things have become clearer!
The only thing I stopped understanding: "Multilayer" (as a parameter in spherical/bulk/multilayer), what is it? Is it a particle on the surface of a multilayer medium? And we can choose the material and thickness of each layer. If it's true, one can set a particle on the surface of a multilayer system with a maximum available number of layers (for example, 5-pairs photonic crystal). In this case, the result is incorrect.
Thank you!
As for "Mutilayer" note that it is a Mie theory calculator, so it is about a spherical particle in homogeneous media. If you need a particle(s) in stratified media, take a look at Smuthi https://smuthi.readthedocs.io/en/latest/_source/01%20about/about_smuthi.html