Welcome to Mercury’s documentation!

A little history

In the late 1950s, Hal Anger developed the first position sensitive scintillation detector, a scintillation camera, featuring seven PMTs arranged in a radial pattern coupled to a NaI(Tl) scintillation crystal [1]. He has also shown that the center of gravity (sometimes still referred to as the Anger method) can be used to reconstruct the positions of gamma interactions in it. The alternative maximum likelihood reconstruction method for scintillation cameras was proposed by Grey and Makovsky in the mid-1970s [2]. This technique relied on the availability of the light response model for the detector in question. In a few practical implementations that followed, the LRFs were typically obtained by scanning the detector with a well-collimated gamma-ray source. Implementing such scanning in a noble liquid TPC proved to be an extremely challenging task, so an iterative technique for reconstructing LRFs from calibration data obtained with a non-collimated source was developed by the ZEPLIN III collaboration [3]. This technique, as well as position reconstruction based on iteratively reconstructed LRFs, received the internal name “Mercury” that was later picked up by the LUX [4] and the LZ collaborations. The current Mercury code is based in part on the position reconstruction module of ANTS2 software package [5]. Many features implemented in the code were inspired by the work on auto-calibrating gamma cameras [6] [7] carried out at LIP-Coimbra between 2012 and 2020.

A little theory

Mercury is a software package that performs reconstruction (i.e. finding the best estimate) of the position of a scintillation vertex from the distribution of the detected scintillation photons across the photo-sensor array(s) in a scintillation detector. It finds the coordinates \((x, y, z)\) and the scintillation flash intensity (N) that provide the closest match (similarity) between the vector of measured photo sensor signals \({A_i}\) (hit pattern) and the vector of photo sensor responses \({a_i}\) calculated for \((x, y, z, N)\) according to some model. Consequently, the following three elements are needed for successful reconstruction:

  • A model of the detector response to scintillation events.

  • A method for estimating the similarity between the two vectors \({A_i}\) and \({a_i}\)

  • A method for searching the parameter space \((x, y, z, N)\) for the optimal similarity (best match)

The light response model

A light response function (LRF) defines the response of a photosensor to a scintillation flash of fixed intensity as a function of the position of this flash in the detector. The set of LRFs corresponding to all the active sensors of the detector compose the light response model (LRM). From a practical point of view, an LRM takes \((x, y, z)\) as the input and outputs a vector \({a_i}\), calculated for some reference value of the scintillation flash intensity \(N_{ref}\). In Mercury, LRFs are implemented as cubic splines in one, two or three dimensions. An important special case is the axially-symmetric LRF, which only depends on the distance from the axis of the sensor in question and can be represented by a 1D spline. The LRFs currently used for S2 position reconstruction in LZ are axially-symmetric. The spline shape is defined by a set of coefficients, which are calculated through a linear fit of the experimental (or simulated) data.

Similarity function

This is a function of two vectors, \({A_i}\) and \({a_i}\), that returns a single value characterizing the proximity of the two input vectors. This function should be smooth for it to be compatible with gradient-based, iterative optimization algorithms. Mercury currently provides two options for such functions, called (somewhat imprecisely, for historical reasons) maximum likelihood (ML) and least squares (LS).

  • The maximum likelihood method assumes a Poisson distribution for the detected signal and generally performs better for low-intensity events.

  • The least squares method assumes a normal distribution for the detected signal. It is equivalent to the ML method for high-intensity events if the uncertainties of the measured signal are dominated by photoelectron statistics. In case the uncertainties have other significant components, the result can be improved by supplying them externally.

Optimization method

Mercury uses the CERN Minuit2 package to search for the optimum of the similarity function. The default method is a gradient search (Migrad), while Simplex can be used as an alternative (these two are the ones proven to work best, but there are others). Because the similarity function can have multiple local minima, it is important to initialize the optimization algorithm with a good starting point (initial guess) that is reasonably close to the actual event position. The initial guess can be calculated internally as a center of gravity (CoG) of the signal distribution across the sensor array or supplied externally.

Bibliography

1

Hal O. Anger. Scintillation camera. Review of Scientific Instruments, 29(1):27–33, 1958. doi:10.1063/1.1715998.

2

Robert M. Gray and Albert Macovski. Maximum a posteriori estimation of position in scintillation cameras. IEEE Transactions on Nuclear Science, 23(1):849–852, 1976. doi:10.1109/TNS.1976.4328354.

3

V. N. Solovov, V. A. Belov, D. Yu. Akimov, H. M. Araujo, E. J. Barnes, A. A. Burenkov, V. Chepel, A. Currie, L. DeViveiros, B. Edwards, C. Ghag, A. Hollingsworth, M. Horn, G. E. Kalmus, A. S. Kobyakin, A. G. Kovalenko, V. N. Lebedenko, A. Lindote, M. I. Lopes, R. Luscher, P. Majewski, A. S. J. Murphy, F. Neves, S. M. Paling, J. Pinto da Cunha, R. Preece, J. J. Quenby, L. Reichhart, P. R. Scovell, C. Silva, N. J. T. Smith, P. F. Smith, V. N. Stekhanov, T. J. Sumner, C. Thorne, and R. J. Walker. Position reconstruction in a dual phase xenon scintillation detector. IEEE Transactions on Nuclear Science, 59(6):3286–3293, 2012. doi:10.1109/TNS.2012.2221742.

4

D.S. Akerib, S. Alsum, H.M. Araújo, X. Bai, A.J. Bailey, J. Balajthy, P. Beltrame, E.P. Bernard, A. Bernstein, T.P. Biesiadzinski, E.M. Boulton, P. Brás, D. Byram, S.B. Cahn, M.C. Carmona-Benitez, C. Chan, A. Currie, J.E. Cutter, T.J.R. Davison, A. Dobi, E. Druszkiewicz, B.N. Edwards, S.R. Fallon, A. Fan, S. Fiorucci, R.J. Gaitskell, J. Genovesi, C. Ghag, M.G.D. Gilchriese, C.R. Hall, M. Hanhardt, S.J. Haselschwardt, S.A. Hertel, D.P. Hogan, M. Horn, D.Q. Huang, C.M. Ignarra, R.G. Jacobsen, W. Ji, K. Kamdin, K. Kazkaz, D. Khaitan, R. Knoche, N.A. Larsen, B.G. Lenardo, K.T. Lesko, A. Lindote, M.I. Lopes, A. Manalaysay, R.L. Mannino, M.F. Marzioni, D.N. McKinsey, D.-M. Mei, J. Mock, M. Moongweluwan, J.A. Morad, A.St.J. Murphy, C. Nehrkorn, H.N. Nelson, F. Neves, K. O'Sullivan, K.C. Oliver-Mallory, K.J. Palladino, E.K. Pease, C. Rhyne, S. Shaw, T.A. Shutt, C. Silva, M. Solmaz, V.N. Solovov, P. Sorensen, T.J. Sumner, M. Szydagis, D.J. Taylor, W.C. Taylor, B.P. Tennyson, P.A. Terman, D.R. Tiedt, W.H. To, M. Tripathi, L. Tvrznikova, S. Uvarov, V. Velan, J.R. Verbus, R.C. Webb, J.T. White, T.J. Whitis, M.S. Witherell, F.L.H. Wolfs, J. Xu, K. Yazdani, S.K. Young, and C. Zhang. Position reconstruction in lux. Journal of Instrumentation, 13(02):P02001, feb 2018. URL: https://dx.doi.org/10.1088/1748-0221/13/02/P02001, doi:10.1088/1748-0221/13/02/P02001.

5

A. Morozov, V. Solovov, R. Martins, F. Neves, V. Domingos, and V. Chepel. Ants2 package: simulation and experimental data processing for anger camera type detectors. Journal of Instrumentation, 11(04):P04022, apr 2016. URL: https://dx.doi.org/10.1088/1748-0221/11/04/P04022, doi:10.1088/1748-0221/11/04/P04022.

6

A Morozov, V Solovov, F Alves, V Domingos, R Martins, F Neves, and V Chepel. Iterative reconstruction of detector response of an anger gamma camera. Physics in Medicine & Biology, 60(10):4169, may 2015. URL: https://dx.doi.org/10.1088/0031-9155/60/10/4169, doi:10.1088/0031-9155/60/10/4169.

7

João de Sena Baptista Pimentel Marcos. Self-calibrating compact gamma camera for real-time medical imaging. PhD thesis, 00500:: Universidade de Coimbra, 2020.