Menu

#148 1D display shifted relative to spectral data

3.0.0
closed
wb104
None
4
2016-09-14
2016-09-02
No

The x-axis on the 1D display is shifted by 0.000624 ppm relative to the spectral data it's plotting (when using data located in internal/data/1dMetsSpectra). This is not the case when plotting arbitrary curves using pyqtgraph ( strip.plotWidget.addItem(pyqtgraph.PlotCurveItem(x,y) ).
I know this seems like a small amount, but is quite disconcerting when fitting 1D peaks.

Discussion

  • Geerten W. Vuister

    • assigned_to: wb104
     
  • wb104

    wb104 - 2016-09-14
    • status: open --> closed
     
  • wb104

    wb104 - 2016-09-14

    The (API DataSource) function get1dSpectrumData() had the spectral width going from point 1 to point n (n = number of points) rather than n+1. Now fixed.

     

Log in to post a comment.

MongoDB Logo MongoDB