cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

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