<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Identify Onset Point in Process in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380255#M63059</link>
    <description>How about something like, the Onset Point has been reached if the mean of the next X number of points - the standard deviation of those X number of points is less than the current data value?</description>
    <pubDate>Tue, 27 Apr 2021 21:06:35 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2021-04-27T21:06:35Z</dc:date>
    <item>
      <title>Identify Onset Point in Process</title>
      <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380103#M63031</link>
      <description>&lt;P&gt;I am trying to identify the temperature in my process when densification of the part begins. I labeled this on the graph below with an orange line. I also want to identify the temperature when densification pauses, as labeled by the green line. Can someone help me to figure out a script to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dkraeuter_sunne_0-1619545507663.png" style="width: 652px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32365i6E6242B84D836DE1/image-dimensions/652x437?v=v2" width="652" height="437" role="button" title="dkraeuter_sunne_0-1619545507663.png" alt="dkraeuter_sunne_0-1619545507663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:29:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380103#M63031</guid>
      <dc:creator>dkraeuter_sunne</dc:creator>
      <dc:date>2023-06-10T23:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Onset Point in Process</title>
      <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380166#M63041</link>
      <description>What are the rules or algorithm to use to detect this....or are you asking the Community to determine such rules?</description>
      <pubDate>Tue, 27 Apr 2021 18:41:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380166#M63041</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-27T18:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Onset Point in Process</title>
      <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380220#M63052</link>
      <description>&lt;P&gt;I am open to suggestions. Basically the onset of densification is the point when the ram travel changes a lot over just a few data points. Densification pauses when there isn't a change in the ram travel for a set number of points (I am not sure of a specific number.) I figured that I could modify the formulas suggested to deal with the final specifics. Does this help?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 19:20:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380220#M63052</guid>
      <dc:creator>dkraeuter_sunne</dc:creator>
      <dc:date>2021-04-27T19:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Onset Point in Process</title>
      <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380255#M63059</link>
      <description>How about something like, the Onset Point has been reached if the mean of the next X number of points - the standard deviation of those X number of points is less than the current data value?</description>
      <pubDate>Tue, 27 Apr 2021 21:06:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380255#M63059</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-27T21:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Onset Point in Process</title>
      <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380283#M63062</link>
      <description>&lt;P&gt;That definition sounds like a good start. How do I then pull the temperature value that corresponds to the Onset Point on the Ram Travel?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 22:13:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380283#M63062</guid>
      <dc:creator>dkraeuter_sunne</dc:creator>
      <dc:date>2021-04-27T22:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Onset Point in Process</title>
      <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380593#M63103</link>
      <description>&lt;P&gt;If you could attach a sample data table, I would be able to put together a starting script to calculate the Onset Point&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 21:10:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380593#M63103</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-28T21:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Onset Point in Process</title>
      <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380598#M63104</link>
      <description>&lt;P&gt;I have attached a subset of my data. Please let me know if this isn't clear.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 21:32:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380598#M63104</guid>
      <dc:creator>dkraeuter_sunne</dc:creator>
      <dc:date>2021-04-28T21:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Onset Point in Process</title>
      <link>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380665#M63111</link>
      <description>&lt;P&gt;Here is my first pass of a possible method for finding the Onset Point.&amp;nbsp; The script calculated the below graph&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="onset.PNG" style="width: 707px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/32401iAF79460C38F03D76/image-size/large?v=v2&amp;amp;px=999" role="button" title="onset.PNG" alt="onset.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
dt &amp;lt;&amp;lt; clear select;

// Set the number of places to look ahead for calculations
lookAhead = 6;

// Loop across all rows, finding possible Onset Points
//    temp[x] &amp;lt; temp[x+1] &amp;amp; temp[x] &amp;lt; Mean of the next 6 values of temp - 1.5 STD of those points
// When found, select those rows
For( i = 1, i &amp;lt;= N Rows( dt ) - lookAhead, i++,
	If(
		:Temperature Actual[i] &amp;lt; :Temperature Actual[i + 1] &amp;amp; :Temperature Actual[i] &amp;gt;
		Mean( :Temperature Actual[Index( i + 1, i + 1 + lookAhead )] )
		-Std Dev( :Temperature Actual[Index( i + 1, i + 1 + lookAhead )] ) * 1.5,
		Row State( i ) = Selected State( 1 )
	)
);

// Get the list of the selected rows
suspectRows = dt &amp;lt;&amp;lt; get selected rows();

// The target criteria for the Onset is where the max temp values for the suspect rows
maxTemp = Max( :temperature Actual[suspectRows] );

// Get the time value for the selected suspect Row
timeval = :"time (s)"n[suspectRows[Loc( :temperature Actual[suspectRows], maxTemp )[1]]];

// Clear all selected rows
dt &amp;lt;&amp;lt; clear select;

// Generate the Graph Builder Chart
gb = Graph Builder(
	Size( 534, 456 ),
	Show Control Panel( 0 ),
	Variables(
		X( :"Time (s)"n ),
		Y( :Temperature Actual ),
		Y( :Ram Travel Actual, Position( 1 ), Side( "Right" ) )
	),
	Elements( Points( X, Y( 1 ), Legend( 5 ) ), Points( X, Y( 2 ), Legend( 9 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"400",
			ScaleBox,
			{Legend Model( 5, Properties( 0, {Line Color( 21 )}, Item ID( "Temperature Actual", 1 ) ) )}
		)
	)
);

// Add a verticle reference line at the calculated Onset Point
Report( gb )[AxisBox( 1 )] &amp;lt;&amp;lt; add ref line( timeval, solid, green, "", 3 );

// Select the row in the data table that is the calculated Onset Point
Row State( suspectRows[Loc( :temperature Actual[suspectRows], maxTemp )[1]] ) = Selected State( 1 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Apr 2021 01:53:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Identify-Onset-Point-in-Process/m-p/380665#M63111</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-04-29T01:53:23Z</dc:date>
    </item>
  </channel>
</rss>

