![Dectris MYTHEN Скачать руководство пользователя страница 13](http://html1.mh-extra.com/html/dectris/mythen/mythen_interface-manual_2462219013.webp)
Socket Interface Specification. MYTHEN Detector System. Version: 3.0.0, Document Version: 2
13/34
5.5. Data corrections
For channels marked as bad the server will replace the number of counts with the average number of counts of
the next lower and the next upper working channels. With the "-badchannelinterpolation" command the user can
turn off this correction. In this case the number of counts will equal to -2 for these channels.
The server automatically applies a flat-field correction to the data. This behavior can be disabled with the "-
flatfieldcorrection" command.
For high incoming X-ray fluxes, the rate correction can be turned on with the "-ratecorrection" command.
5.6. Triggering and gating
The standard and the continuous trigger modes can be enabled by the "-trigen" and "-conttrigen" commands. The
timing of the measurements can be adjusted with the "-delbef" and "-delafter" commands.
The gating mode is turned on by the "-gateen" command. The number of gates can be programmed with the "-
gates" command.
The polarity of the input and output signals can be defined with the help of the "-inpol" and "-outpol" commands.
5.7. Debugging
After sending the command "-log start" the socket server will log its activities into a file on the DCS until a "-log
stop" command is sent. The content of the file is sent to the user in response to the "-log read" command. Since
there is only limited disk and memory space on the DCS, the logging functionality should only be turned on for
short periods of time.
For debugging problems related to the transmission of the data packages over the socket, the freely available
network protocol analyzer WireShark can be used.