MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: spectra

  • To: mathgroup at
  • Subject: [mg61773] Re: [mg61746] spectra
  • From: Sseziwa Mukasa <mukasa at>
  • Date: Sat, 29 Oct 2005 01:32:40 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

On Oct 28, 2005, at 3:25 AM, Mars J <jmars at> wrote:

> Hi members
> I have spectra I need to quanitify asap. Need a mathematica routine  
> that
> will enable me to determine the respective areas of the peaks.
> Any suggestions.

Assuming the spectra are one dimensional lists one strategy is to  
split the list into regions that are greater than a threshold, remove  
the regions less than the threshold and then sum the remaining  
sublists eg.


Of course you probably want to know the regions to which the sums  
correspond, the following will return the number of points to the  
beginning of the list of each region after the list has been split.


Putting the two lists together then we can get the areas of the peaks  
and the position of the first point in the peak:






  • References:
    • spectra
      • From: "Mars J <>" <>
  • Prev by Date: Re: Still bug in Random
  • Next by Date: New LinkageDesigner application for mechanical design with Mathematica
  • Previous by thread: Re: spectra
  • Next by thread: Integration over polytop