<?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: nearest neighbors wafer map in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/540173#M76083</link>
    <description>Thank you very much</description>
    <pubDate>Sat, 03 Sep 2022 06:46:00 GMT</pubDate>
    <dc:creator>Tiff</dc:creator>
    <dc:date>2022-09-03T06:46:00Z</dc:date>
    <item>
      <title>nearest neighbors wafer map</title>
      <link>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/539382#M76037</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;Is this possible to filter a specific defect (in defect column) and 8 nearest neighbor and subset the data from main table?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:53:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/539382#M76037</guid>
      <dc:creator>Tiff</dc:creator>
      <dc:date>2023-06-10T23:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: nearest neighbors wafer map</title>
      <link>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/539393#M76038</link>
      <description>&lt;P&gt;I suggest checking out &lt;LI-MESSAGE title="Semiconductor Toolkit" uid="22460" url="https://community.jmp.com/t5/JMP-Add-Ins/Semiconductor-Toolkit/m-p/22460#U22460" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt; addin. Hierarchical clustering might also work. There is also always option to do some scripting which can do basically "anything" (KDTable() might be a good start,&lt;LI-MESSAGE title="Near neighbors mean calculation" uid="345333" url="https://community.jmp.com/t5/Discussions/Near-neighbors-mean-calculation/m-p/345333#U345333" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 07:44:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/539393#M76038</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-09-01T07:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: nearest neighbors wafer map</title>
      <link>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/539451#M76043</link>
      <description>&lt;P&gt;Here is an example using the Wafer Stacked data table from the JMP Sample tables that selects the nearest neighbor die&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1662027495705.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45125i166A1795A443B8E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1662027495705.png" alt="txnelson_0-1662027495705.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dtMain =
// Open Data Table: Wafer Stacked.jmp
// → Data Table( "Wafer Stacked" )
Open( "$SAMPLE_DATA/Wafer Stacked.jmp" );
dtMain &amp;lt;&amp;lt; set name("Main");
dtMain:X_Die &amp;lt;&amp;lt; modeling type(Ordinal);
dtMain:Y_Die &amp;lt;&amp;lt; modeling type(Ordinal);

// For illustration, use only Wafer 1 data
dtMain &amp;lt;&amp;lt; select where( :Wafer == 1 &amp;amp; :Lot =="1" );
dtMain &amp;lt;&amp;lt; invert row selection;
dtMain &amp;lt;&amp;lt; delete rows;

// Create a separate data table that only has the die with defects in them
dtMain &amp;lt;&amp;lt; select where( :Defects &amp;gt; 0 );
dtDefects = dtMain &amp;lt;&amp;lt; subset( selected rows( 1 ), selected columns( 0 ),
output table( "Defects" ) );

// Remove the defects column from the main table
dtMain &amp;lt;&amp;lt; delete columns( :Defects );

// Create a table with the nearest neighbor data from the main table, based upon one of the 
// defect die that has a defect in the defect table.
// For illustration we will pick the die in the Defect table in row
DefectRow = 1;

dtMain &amp;lt;&amp;lt; select where( dtMain:X_Die &amp;gt;= dtDefects:X_Die[DefectRow] - 1 &amp;amp; 
dtMain:X_Die &amp;lt;= dtDefects:X_Die[DefectRow] + 1
 &amp;amp;
dtMain:Y_Die &amp;gt;= dtDefects:Y_Die[DefectRow] - 1 &amp;amp; dtMain:Y_Die &amp;lt;= dtDefects:Y_Die[DefectRow] + 1	
);

dtNear = dtMain &amp;lt;&amp;lt; subset( selected rows( 1 ), selected columns( 0 ),
output table( "Nearest" ) );

// Display the selected die
dtNear &amp;lt;&amp;lt; Graph Builder(
	Size( 512, 448 ),
	Show Control Panel( 0 ),
	Variables( X( :X_Die ), Y( :Y_Die ) ),
	Elements( Points( X, Y, Legend( 5 ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2022 10:18:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/539451#M76043</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-09-01T10:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: nearest neighbors wafer map</title>
      <link>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/540173#M76083</link>
      <description>Thank you very much</description>
      <pubDate>Sat, 03 Sep 2022 06:46:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/nearest-neighbors-wafer-map/m-p/540173#M76083</guid>
      <dc:creator>Tiff</dc:creator>
      <dc:date>2022-09-03T06:46:00Z</dc:date>
    </item>
  </channel>
</rss>

