Closed arunavabasucom closed 2 years ago
Hello, could you share some screenshots ?
@suzil we can merge this !! 😀
Nice !
Design : can you remove the underline under the units button ?
Test : can you also show a screenshot with slit unit being updated when you change nm/cm-1 in the main waverange ?
About wavenumbers :
Warning :
If changing waverange from cm-1 to nm -1; or from nm to cm-1 ; we'll have overlay problem (now that we have #452 ). Solutions :
@erwanp i done that thing !!
Please show a video to confirm.
Also, show this :
https://github.com/suzil/radis-app/pull/645#issuecomment-1229451220
For the unit label on the plot, we don't want to show the prefix from the library but instead just want to show the unit. Maybe we could transform the string to just include the last bit after the period? The equivalent of this but in JavaScript: s.split(".")[-1]
Can cm-1
appear at cm⁻¹
?
@erwanp Should we change the min/max values for the slider for wavelength? Right now we have a min of 500 and a max of 10,000. Does that capture what the user would input for wavelength?
Good point ! actually 500 cm-1 is 20,000 nm and 10,000 cm-1 is 1,000 nm. The min/max should be changed accordingly.
Fixes #147
https://user-images.githubusercontent.com/73842340/187072868-c0d9cbbe-62bb-4f71-af43-eefb3a119517.mp4