Skip to content

Commit

Permalink
add TODO for question about showing expectation value checkbox, see #60
Browse files Browse the repository at this point in the history
  • Loading branch information
jbphet committed Nov 14, 2024
1 parent c55998b commit 9eff4af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/photons/view/NormalizedOutcomeVectorGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ export default class NormalizedOutcomeVectorGraph extends Node {
( normalizedExpectationValue, showExpectationLine ) => normalizedExpectationValue !== null && showExpectationLine
);

// TODO: See https://github.com/phetsims/quantum-measurement/issues/60. Should it be possible to show the
// expectation value in single-photon mode? For now it is.
// Create the little line that will depict the expectation value.
const expectationValueLine = new Line( -EXPECTATION_VALUE_LINE_LENGTH / 2, 0, EXPECTATION_VALUE_LINE_LENGTH / 2, 0, {
centerY: verticalAxis.centerY,
Expand Down

0 comments on commit 9eff4af

Please sign in to comment.