IXFintegrate y dataset 2d

From LIBISIS
Jump to navigation Jump to search

This function will integrate the signal array of an IXTdataset_2d object between two limits along the y dimension to give an IXTdataset_1d object result. It will integrate distribution/non-distribution data, but it will NOT integrate point data. The limits can exceed the data boundaries and error flags are raised if inapplicable limits are specified.


F90 syntax

use IXMdataset_2d

type(IXTdataset_2d):: dataset_2d
type(IXTdataset_1d):: result
real(dp)::low_limit,high_limit
type (IXTstatus)::status

low_limit=10.0
high_limit=20.0

call IXFintegrate_y_dataset_2d(result,low_limit,high_limit,dataset_2d,status)

!limits can be implicitly defined in the function call

call IXFintegrate_y_dataset_2d(result,13.6_dp,23.5_dp,dataset_2d,status)