<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://libisis.org/index.php?action=history&amp;feed=atom&amp;title=IXFregroup_xy_dataset_2d</id>
	<title>IXFregroup xy dataset 2d - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://libisis.org/index.php?action=history&amp;feed=atom&amp;title=IXFregroup_xy_dataset_2d"/>
	<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=IXFregroup_xy_dataset_2d&amp;action=history"/>
	<updated>2026-04-30T21:14:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>http://libisis.org/index.php?title=IXFregroup_xy_dataset_2d&amp;diff=2331&amp;oldid=prev</id>
		<title>Dean Whittaker at 09:13, 4 April 2008</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=IXFregroup_xy_dataset_2d&amp;diff=2331&amp;oldid=prev"/>
		<updated>2008-04-04T09:13:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This function will regroup an [[IXTdataset_2d]] object along the x and y dimension according to the supplied Xparams(xlo,dx,xhi) and Yparams(ylo,dy,yhi) argument to give an [[IXTdataset_2d]] object result. It regroups data with new bin boundaries to ensure that bins have minimum width determined by the parameter dx and dy with limits xlo,xhi and ylo,yhi respectively, but ensuring the bin boundaries are coincident with original bin boundaries along both dimensions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
x dimension&lt;br /&gt;
*dx &amp;gt; 0 constant bin width = dx&lt;br /&gt;
*dx &amp;lt; 0 logarithmic binning x(m+1) = x(m) *(1+|dx|)&lt;br /&gt;
*dx = 0 retain original bin boundaries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
y dimension&lt;br /&gt;
*dy &amp;gt; 0 constant bin width = dy&lt;br /&gt;
*dy &amp;lt; 0 logarithmic binning y(m+1) = y(m) *(1+|dy|)&lt;br /&gt;
*dy = 0 retain original bin boundaries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference between [[IXFrebin_xy_dataset_2d]] and [[IXFregroup_xy_dataset_2d]] is that in the former the data in the original bins may be divided by the new bin boundaries. In the latter case, new bins are created only by combining whole bins.&lt;br /&gt;
&lt;br /&gt;
Regrouping is &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;ONLY&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; permitted on histogram data, therefore if one dimension has point data then then the operation will fail.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===F90 syntax===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;use IXMdataset_2d&lt;br /&gt;
&lt;br /&gt;
type(IXTdataset_2d):: dataset_2d,result_d2d&lt;br /&gt;
type(IXTstatus)::status&lt;br /&gt;
real(dp)::Xparams(3),Yparams(3)&lt;br /&gt;
&lt;br /&gt;
call IXFregroup_xy_dataset_2d(result_d2d,dataset_2d,Xparams,Yparams,status)&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dean Whittaker</name></author>
	</entry>
</feed>