![qutools quTAU Скачать руководство пользователя страница 41](http://html1.mh-extra.com/html/qutools/qutau/qutau_manual_3793622041.webp)
11
HISTOGRAMS
The quTAU software assists in HBT measurements. The work flow can be seen in the
LabVIEW
TM
example
hbt measurement.vi
(see Figure
). The HBT feature is optional,
use
TDC checkFeatureHbt
to check for its availability.
Again, the HBT feature has to be enabled explicitly after the histogram parameters have
been set. As for the Lifetime feature, the number of bins (”bincount”) is for the positive
bins only and a storage container for the measurement (and a second one for the fit if
needed) has to be generated. This is done with the function call
TDC createHbtFunction
.
For the procedure to get the histograms from the device and to fit one of the provided
model functions confer Figure
Note, that the size of the containers/data sets has to match the number of bins in the
histogram. Therefore, if you change the histogram size you need to release and recreate
the data sets with
TDC releaseHbtFunction
and
TDC createHbtFunction
.
Usage examples are also available in the
src
folder as
example[2].c
.
Functions relevant to HBT Measurements:
tdcbase.h:
Bln32
TDC checkFeatureHbt
()
tdchbt.h:
int
TDC enableHbt
(Bln32 enable)
int
TDC setHbtParams
(Int32 binWidth, Int32 binCount)
int
TDC getHbtParams
(Int32
∗
binWidth, Int32
∗
binCount)
int
TDC setHbtDetectorParams
(double jitter)
int
TDC getHbtDetectorParams
(double
∗
jitter)
int
TDC setHbtInput
(Int32 channel1, Int32 channel2)
int
TDC getHbtInput
(Int32
∗
channel1, Int32
∗
channel2)
int
TDC switchHbtInternalApds
(Bln32 internal)
int
TDC resetHbtCorrelations
()
int
TDC getHbtEventCount
(Int64
∗
totalCount, Int64
∗
lastCount, double
∗
lastRate)
int
TDC getHbtIntegrationTime
(double
∗
intTime)
int
TDC getHbtCorrelations
(Bln32 forward, TDC HbtFunction
∗
fct)
int
TDC calcHbtG2
(TDC HbtFunction
∗
fct)
int
TDC fitHbtG2
(const TDC HbtFunction
∗
fct, HBT FctType fitType,
const double
∗
startParams, double
∗
fitParams, Int32
∗
iterations)
const double
∗
TDC getHbtFitStartParams
(HBT FctType fctType)
int
TDC calcHbtModelFct
(HBT FctType fctType, const double
∗
params,
TDC HbtFunction
∗
fct)
int
TDC generateHbtDemo
(HBT FctType fctType, const double
∗
params,
double noiseLv)
TDC HbtFunction
∗
TDC createHbtFunction
(void)
void
TDC releaseHbtFunction
(TDC HbtFunction
∗
fct)
void
TDC analyseHbtFunction
(const TDC HbtFunction
∗
fct, Int32
∗
capacity,
Int32
∗
size, Int32
∗
binWidth, Int32
∗
iOffset, double
∗
values, Int32 bufSize)
quTAU/quPSI Manual V4.0 Page 41