cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

Identifying multiple Peaks in different batches

Hello everyone, 

I have a data set similar to the one in the example below, but the length-time profiles are assigned to different batches indicated by an additional column with the batch nr.

Solved: find multiple peak values in a column - JMP User Community

 

Is there a way to adapt the peak detection column formula in the thread above to perform the peak identification for each batch?

Thanks in advance!

2 REPLIES 2
jthi
Super User

Re: Identifying multiple Peaks in different batches

Which JMP version are you using (JMP17/18? JMP Standard / JMP Pro?) as there might be jmp platforms to do this. Column formula could also be modified by adding additional check for the batch changes.

-Jarmo
jthi
Super User

Re: Identifying multiple Peaks in different batches

This is one possible formula option (:B is group column)

New column("Peak", Numeric, Nominal, Formula(
	prev_val = Col Moving Average(:Length, 1, 1, 0, :B) * 2 - :Length;
	next_val = Col Moving Average(:Length, 1, 0, 1, :B) * 2 - :Length;
	
	:Length - prev_val > 0 & :Length - next_val > 0
));

jthi_0-1717487573127.png

 

 

-Jarmo

Recommended Articles