mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 17:10:03 +02:00
150 lines
7.4 KiB
HTML
150 lines
7.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
|
|
<!--Converted with LaTeX2HTML 2008 (1.71)
|
|
original version by: Nikos Drakos, CBLU, University of Leeds
|
|
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
|
|
* with significant contributions from:
|
|
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>What are settings and calibration files for?</TITLE>
|
|
<META NAME="description" CONTENT="What are settings and calibration files for?">
|
|
<META NAME="keywords" CONTENT="slsDetectors-FAQ">
|
|
<META NAME="resource-type" CONTENT="document">
|
|
<META NAME="distribution" CONTENT="global">
|
|
|
|
<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
|
|
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
|
|
|
|
<LINK REL="STYLESHEET" HREF="slsDetectors-FAQ.css">
|
|
|
|
<LINK REL="next" HREF="node7.html">
|
|
<LINK REL="previous" HREF="node5.html">
|
|
<LINK REL="up" HREF="node2.html">
|
|
<LINK REL="next" HREF="node7.html">
|
|
</HEAD>
|
|
|
|
<BODY >
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html230"
|
|
HREF="node7.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
|
<A NAME="tex2html226"
|
|
HREF="node2.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
|
<A NAME="tex2html220"
|
|
HREF="node5.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
|
<A NAME="tex2html228"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html231"
|
|
HREF="node7.html">How should a configuration</A>
|
|
<B> Up:</B> <A NAME="tex2html227"
|
|
HREF="node2.html">SLS Detectors Software</A>
|
|
<B> Previous:</B> <A NAME="tex2html221"
|
|
HREF="node5.html">How can I configure</A>
|
|
<B> <A NAME="tex2html229"
|
|
HREF="node1.html">Contents</A></B>
|
|
<BR>
|
|
<BR>
|
|
<!--End of Navigation Panel-->
|
|
<!--Table of Child-Links-->
|
|
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
|
|
|
|
<UL>
|
|
<LI><A NAME="tex2html232"
|
|
HREF="node6.html#SECTION00241000000000000000">MYTHEN</A>
|
|
<LI><A NAME="tex2html233"
|
|
HREF="node6.html#SECTION00242000000000000000">GOTTHARD</A>
|
|
</UL>
|
|
<!--End of Table of Child-Links-->
|
|
<HR>
|
|
|
|
<H1><A NAME="SECTION00240000000000000000"></A> <A NAME="sec:trimdir"></A>
|
|
<BR>
|
|
What are settings and calibration files for?
|
|
</H1>
|
|
|
|
<P>
|
|
The analog characteristics of the detector have to be initialized in order to define the noise and the dynamic range which need to be used for the measurements. These parameters have a different meaning for analog or digital detectors, but in both cases some predefined voltage levels and current (we call them <I>settings</I>) must be laoded to the detector. Moreover, there are some parameters that are custom to single detectors or modules (e.g. the trimbits). All these settings are stored in some settings file, which are organized in a <I>settingsdir</I> with a definite architecture, where the software will look for the files to load to the detector whaen changing its settings.
|
|
|
|
<P>
|
|
In addition to that, in a single photon counting detector the threshold is set as a voltage level for the comparator, but for the user it is useful to have a direct conversion to the energy level. For this, after a proper calibration of the detector (see specific documentation) calibration file are generated in order to convert threshold in volts to keV. Also in this case the directory <I>caldir</I> where the calibration files are stored must be defined ad organized with a proper architecture, suche that the software can find the calibration coefficients for settings the threshold.
|
|
<BR>
|
|
Normally <I>settingsdir</I> and <I>caldir</I> can be the same, but have been left separate for flexibility.
|
|
|
|
<P>
|
|
The <I>settingsdir</I> and <I>caldir</I> should be properly configured for your detector either in a configuration file (for use with text clients, GUI or API) or dynamically (works only for the text clients).
|
|
|
|
<P>
|
|
In the following, the architecture of the <I>settingsdir</I> and <I>caldir</I> is described for the different detectors.
|
|
|
|
<P>
|
|
|
|
<H2><A NAME="SECTION00241000000000000000">
|
|
MYTHEN</A>
|
|
</H2>
|
|
For mythen, an example of <I>settingsdir</I> and <I>caldir</I> is given in the software package by the directory <code>trimdir</code>.
|
|
Since these directories are customized by producing trimbit files and calibration for each detector, make sure not to overwrite yours every time you upgrade the software.
|
|
|
|
<P>
|
|
<I>settingsdir</I> should contain three subdirectories <code>standard</code>, <code>fast</code> and <code>highgain</code> containing respectively the trimfiles <code>standard.trim</code>, <code>fast.trim</code> and <code>highgain.trim</code> which contain the correct voltage settings for the detector although all the individual channel thresholds set to 0. The original files contained in the package should be used, infact in case of error the detector would not recognize the correct settings.
|
|
<BR>
|
|
The default trimbit files for each file will be stored in the directory according to the settings with the name <code>noise.snxxx</code> where <code>xxx</code> is the module serial number.
|
|
<BR>
|
|
<P>
|
|
<I>caldir</I> should contain three subdirectories <code>standard</code>, <code>fast</code> and <code>highgain</code> containing respectively the trimfiles <code>standard.cal</code>, <code>fast.cal</code> and <code>highgain.cal</code> which contain an average calibration of the modules for the diffrent settings. However this can different from the correct one for each individual module even of several kev and therefore it is very important to perform an energy calibration on a module basis.
|
|
<BR>
|
|
The default calibration files for each file will be stored in the directory according to the settings with the name <code>calibration.snxxx</code> where <code>xxx</code> is the module serial number.
|
|
|
|
<P>
|
|
|
|
<H2><A NAME="SECTION00242000000000000000">
|
|
GOTTHARD</A>
|
|
</H2>
|
|
A <I>settingsdir</I> should be configured, as the directory <code>settings</code> in this software package.
|
|
<BR>
|
|
It must contain the subdirectories <code>dynamicgain</code>, <code>gain1</code>, <code>gain2</code>, <code>gain3</code>, <code>highgain</code>, <code>lowgain</code>, <code>mediumgain</code>, and <code>veryhighgain</code> in order to properly configure the GOTTHARD detector using the various gain settings.
|
|
|
|
<P>
|
|
<HR>
|
|
<!--Navigation Panel-->
|
|
<A NAME="tex2html230"
|
|
HREF="node7.html">
|
|
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
|
|
SRC="file:/usr/share/latex2html/icons/next.png"></A>
|
|
<A NAME="tex2html226"
|
|
HREF="node2.html">
|
|
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
|
|
SRC="file:/usr/share/latex2html/icons/up.png"></A>
|
|
<A NAME="tex2html220"
|
|
HREF="node5.html">
|
|
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
|
|
SRC="file:/usr/share/latex2html/icons/prev.png"></A>
|
|
<A NAME="tex2html228"
|
|
HREF="node1.html">
|
|
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
|
|
SRC="file:/usr/share/latex2html/icons/contents.png"></A>
|
|
<BR>
|
|
<B> Next:</B> <A NAME="tex2html231"
|
|
HREF="node7.html">How should a configuration</A>
|
|
<B> Up:</B> <A NAME="tex2html227"
|
|
HREF="node2.html">SLS Detectors Software</A>
|
|
<B> Previous:</B> <A NAME="tex2html221"
|
|
HREF="node5.html">How can I configure</A>
|
|
<B> <A NAME="tex2html229"
|
|
HREF="node1.html">Contents</A></B>
|
|
<!--End of Navigation Panel-->
|
|
<ADDRESS>
|
|
Thattil Dhanya
|
|
2017-11-28
|
|
</ADDRESS>
|
|
</BODY>
|
|
</HTML>
|