mljs / global-spectral-deconvolution

Global Spectra Deconvolution + Peak optimizer
http://mljs.github.io/global-spectral-deconvolution/
MIT License
9 stars 8 forks source link

feat: add index member to Peak1D interface #79

Closed jobo322 closed 2 years ago

jobo322 commented 2 years ago

it is the element index of the x value of peak in xy data

codecov[bot] commented 2 years ago

Codecov Report

Merging #79 (61956d0) into master (8dbae56) will decrease coverage by 0.29%. The diff coverage is 88.88%.

:exclamation: Current head 61956d0 differs from pull request most recent head a261937. Consider uploading reports for the commit a261937 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           master      #79      +/-   ##
==========================================
- Coverage   96.47%   96.17%   -0.30%     
==========================================
  Files           6        6              
  Lines         312      314       +2     
  Branches      101      102       +1     
==========================================
+ Hits          301      302       +1     
- Misses         11       12       +1     
Impacted Files Coverage Δ
src/gsd.ts 98.80% <88.88%> (-0.59%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8dbae56...a261937. Read the comment docs.

lpatiny commented 2 years ago

This is solved with the current refactoring https://github.com/mljs/global-spectral-deconvolution/pull/83