IXFintegrate dataset 1d

From LIBISIS
Revision as of 09:32, 4 April 2008 by Dean Whittaker (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)