You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This function is rather easy to implement with existing functions. A first cut at the code for a single peak is below. This could be made an S3 method for generic_spct but probably not needed, while support for multiple peaks in a single spectrum much more important.
While wls_at_target() does the job of finding HM values these are not referenced to the nearest peaks. It could be better to make the finding of the HMFW wavelengths and widths and option in peaks() rather than creating a new function. The HMFW of a peak must be computed relative to each peak's maximum, not the global maximum as done by wls_at_target().
So this is not as simple as using the code chunk above. So, moved to a future Milestone. It has to be implemented after or at the same time as #29 and #30 are addressed.
This function is rather easy to implement with existing functions. A first cut at the code for a single peak is below. This could be made an S3 method for
generic_spct
but probably not needed, while support for multiple peaks in a single spectrum much more important.The text was updated successfully, but these errors were encountered: