-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spectrometer design problems #48
Comments
In this new version, I extended the space for 90-130 range to fit the dots: But in today's design meeting with @arouinfar, @Nancy-Salpepi, @kathy-phet and @pixelzoom, we review that the pudding model emits a photon in the 150 nm, and that value is not in the range. @pixelzoom said that he will try to fit all the range. But we agree in:
|
We also concluded in today's design meeting that the numbers at the top of each stack of photons do not need to be present in the snapshots. The numbers would be unreadable, and the snapshots are intended for qualitative comparison. |
I've made progress on the spectrometer and snapshots. But I'm going to pause, because there are many design-related problems. So this will need a design meeting.
A couple of query parameters to know about if you'd like to test drive:
|
@DianaTavares thanks for adding your comments. Looking forward to discussing in design meeting. Re:
The UV range has an upper value of 150 nm, which is the wavelength emitted by the Plum Pudding model. Again, if you run with |
Design Meeting January, 2nd scale to fit
Snapshoots |
@DianaTavares This is ready for review. First, I should note that I shortened the monochromatic wavelength slider from 250 to 200 in order to gain some horizontal space for the Spectrometer. (I believe @Nancy-Salpepi suggested that in design meeting.) I don't see any problems, but keep that in mind as you review. Next, here's a summary of the changes: The spectrometer x-axis has standard '/ /' breaks between the 3 sections. The scale of the 3 sections is compressed (remapped) and it's easy to adjust the mapping for any of the wavelengths. The visible spectrum has been shortened at the right (red) end. I reduced the maximum number of photons in each "bar" from 14 to 12, and was able to increase the font size for tick labels. Here's a screenshot running with Showing x-axis labels and tick mark labels is a problem, there is no space for this. So as a compromise, axis labels are shown until there is data. As soon as there is data, tick labels appear, and the x-axis labels disappear. Hopefully seeing the x-axis labels when the spectrometer is empty will be informative enough, and not confusing when the labels disappear. Here's a screenshot: We have no room to add units for the axes, so (as you suggested, and as in the Java version) I added them to the accordion box title when expanded: When the accordion box is collapsed, the units are not shown: ... but I'm not sure if we should bother changing the title when collapsed. It adds code complexity, it adds an extra string to translate. And perhaps most importantly, I'm not sure how description will deal with a dynamic title on AccordionBox. What do you think? Snapshots use the same scale as the Spectrometer, and we are able to show tick labels. For example: Finally... Unlike the "Electron Energy Levels" accordion box, I think we should keep the border around the spectrometer display area. Having a well-defined titlebar area seems important because we have push buttons in the titlebar. Your opinion? |
Thank for the review @DianaTavares. I will make the following changes:
|
@DianaTavares This is ready for review, close if OK. I ended up making the Spectrometer accordion box look like the Electron Energy Levels accordion box. I though I was not going to like the buttons floating in the upper-right corner, but I think it looks OK. |
It looks amazing, thanks!! |
Screenshots below show the Spectrometer in the Java and HTML5 versions. The Spectrometer has some significant design and usability problems, none of which have been addressed by the HTML re-design. Assigning to @DianaTavares and @arouinfar to kick-start the discussion.
Problems include:
The y-axis does not scale. In the screenshot below for example, photons continue to be emitted for 97 nm, but there is no change shown on the Spectrometer.
Some wavelengths overlap, making the spectrometer more difficult to read. For example, see 94 and 95 nm in the Java screenshot below. There's also overlap at 7460 nm, probably with 4053 nm, because the IR portion of the x-axis is compressed. There may be overlap between other wavelengths.
One cannot tell what the emission wavelengths are by looking at the spectrometer. The x-axis is not labeled with the emission wavelengths. One must open the Absorption Wavelengths dialog to find the emission wavelength values -- not very intuitive or usable.
There are 2 extra (unlabeled) x-axis tick marks between 380 nd 500 nm. By reading the code, I see that they are at 400 and 450, but this seems confusing.
The Java screenshot below shows emissions near 780 nm in the IR spectrum. There is no emission wavelength near 780 nm, so this looks like a potential bug, see User question: incorrect wavelength in Bohr model #14.
Java:
HTML5 redesign:
The text was updated successfully, but these errors were encountered: