IXFintegrate dataset 1d

From LIBISIS
Jump to navigation Jump to search

This function will integrate the signal array of an IXTdataset_1d object between two limits to give an IXTdatum object result. It will integrate both histogram/point data and distribution/non-distribution data. The limits can exceed the data boundaries and error flags are raised if inapplicable limits are specified.


F90 syntax

use IXMdataset_1d

type(IXTdataset_1d):: dataset_1d
type (IXTdatum):: result
real(dp)::low_limit,high_limit
type(IXTstatus)::status

low_limit=10.0
high_limit=20.0

call IXFintegrate_dataset_1d(result,low_limit,high_limit,dataset_1d,status)


!or limits can be implicitly defined in the function call

call IXFintegrate_dataset_1d(result,15.0_dp,25.0_dp,dataset_1d,status)