<?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_xy_dataset_2d</id>
	<title>IXFrebin 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=IXFrebin_xy_dataset_2d"/>
	<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=IXFrebin_xy_dataset_2d&amp;action=history"/>
	<updated>2026-04-30T20:58:16Z</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_xy_dataset_2d&amp;diff=2325&amp;oldid=prev</id>
		<title>Dean Whittaker at 09:06, 4 April 2008</title>
		<link rel="alternate" type="text/html" href="http://libisis.org/index.php?title=IXFrebin_xy_dataset_2d&amp;diff=2325&amp;oldid=prev"/>
		<updated>2008-04-04T09:06:54Z</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 rebin an [[IXTdataset_2d]] object along both the x and y dimensions according to the supplied optional arguments to give an [[IXTdataset_2d]] object result. The four possible 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_1d object will be rebinned along the x dimension according to the binning of Xref&lt;br /&gt;
*Xdesc is an array of bin boundaries and intervals along the x dimension 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;
*Yref is an [[IXTdataset_2d]]object, if it is supplied then the dataset_2d object will be rebinned along the y dimension according to the binning of Yref&lt;br /&gt;
*Ydesc is an array of bin boundaries and intervals along the y dimension with a simple and more general form.&lt;br /&gt;
**basic form (ylo,dy,yhi)&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;
**general form (y_1,dy_1,y_2,dy_2,...,y_n,dy_n,y_n+1)&lt;br /&gt;
***dy_i &amp;gt; 0 constant bin width = dy_i&lt;br /&gt;
***dy_i &amp;lt; 0 logarithmic binning y(m+1) = y(m) *(1+|dy_i|)&lt;br /&gt;
***dy_i = 0 retain original bin boundaries&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):: input_d2d, result_d2d&lt;br /&gt;
type(IXTstatus)::status&lt;br /&gt;
!optional arguments&lt;br /&gt;
type(IXTdataset_2d):: Xref,Yref&lt;br /&gt;
real(dp)::Xdesc(:),Ydesc(:)&lt;br /&gt;
:&lt;br /&gt;
:&lt;br /&gt;
! there are 4 different permutations for the calling of IXFrebin_xy_dataset_2d. Keywords must be used each time&lt;br /&gt;
! since all the arguments are optional&lt;br /&gt;
call IXFrebin_xy_dataset_2d(wres,status,w1,Xdesc=Xdesc,Ydesc=Ydesc)&lt;br /&gt;
call IXFrebin_xy_dataset_2d(wres,status,w1,Xdesc=Xdesc,Yref=Yref)&lt;br /&gt;
call IXFrebin_xy_dataset_2d(wres,status,w1,Xref=Xref,Ydesc=Ydesc)&lt;br /&gt;
call IXFrebin_xy_dataset_2d(wres,status,w1,Xref=Xref,Yref=Yref)&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dean Whittaker</name></author>
	</entry>
</feed>