<?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=IXFrebin_x_dataset_2d</id>
	<title>IXFrebin x 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=IXFrebin_x_dataset_2d"/>
	<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=IXFrebin_x_dataset_2d&amp;action=history"/>
	<updated>2026-04-30T20:57:51Z</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=IXFrebin_x_dataset_2d&amp;diff=2323&amp;oldid=prev</id>
		<title>Dean Whittaker at 09:03, 4 April 2008</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=IXFrebin_x_dataset_2d&amp;diff=2323&amp;oldid=prev"/>
		<updated>2008-04-04T09:03:06Z</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;&lt;br /&gt;
This function will rebin an [[IXTdataset_2d]] object along the x dimension according to the supplied optional arguments to give an [[IXTdataset_2d]] object result. The two optional arguments are defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Xref is an [[IXTdataset_2d]] object, if it is supplied then the dataset_2d object will be rebinned according to the binning of Xref&lt;br /&gt;
*Xdesc is an array of bin boundaries and intervals with a simple and more general form.&lt;br /&gt;
**basic form (xlo,dx,xhi)&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;
**general form (x_1,dx_1,x_2,dx_2,...,x_n,dx_n,x_n+1)&lt;br /&gt;
***dx_i &amp;gt; 0 constant bin width = dx_i&lt;br /&gt;
***dx_i &amp;lt; 0 logarithmic binning x(m+1) = x(m) *(1+|dx_i|)&lt;br /&gt;
***dx_i = 0 retain original bin boundaries&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Rebinning is &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;ONLY&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; possible on histogram data.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===F90 syntax===&lt;br /&gt;
&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;
! optional arguments&lt;br /&gt;
type(IXTdataset_2d)::Xref&lt;br /&gt;
real(dp)::Xdesc(:)&lt;br /&gt;
:&lt;br /&gt;
:&lt;br /&gt;
! using an array of bin boundaries and intervals&lt;br /&gt;
call IXFrebin_x_dataset_2d(result_d2d,status,dataset_2d,Xdesc)&lt;br /&gt;
&lt;br /&gt;
! using a reference object&lt;br /&gt;
call IXFrebin_x_dataset_2d(result_d2d,status,dataset_2d,Xref)&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dean Whittaker</name></author>
	</entry>
</feed>