deepanshs / mrsimulator-app

A progressive web app for fast, real-time solid-state NMR line-shape simulation.
https://mrsimulator.herokuapp.com/
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Labeling Issue when Decomposing Spectrum #29

Open mgiammar opened 3 years ago

mgiammar commented 3 years ago

Steps to reproduce.

  1. From examples page, load Wollastonite
  2. Select the decompose spectrum button

Expected behavior: The spectrum decomposes into experiment, Q2 (3), Q2 (1), Q2 (2), and residual

Observed behavior: The spectrum decomposes into experiment, Q2 (3), Q2 (1), Q2 (2), and NMR Spectrum

NMR Spectrum is mislabeled on the graph legend

mgiammar commented 3 years ago

Additionally, if the spectrum starts decomposed then the decompose button needs to be pressed twice to bring the spectrum back to experiment, simulation and residual