Hostname: page-component-76d6cb85b7-hqrjx Total loading time: 0 Render date: 2026-07-19T05:54:29.089Z Has data issue: false hasContentIssue false

Efficient summation of arbitrary masks – ESAM

Published online by Cambridge University Press:  09 June 2025

Vivek Gupta*
Affiliation:
Australia Telescope National Facility, CSIRO, Space and Astronomy, Epping, NSW, Australia
Keith Bannister
Affiliation:
Australia Telescope National Facility, CSIRO, Space and Astronomy, Epping, NSW, Australia
Chris Flynn
Affiliation:
Center for Astrophysics and Supercomputing, Swinburne University of Technology, Hawthorn, VIC, Australia ARC Centre of Excellence for Gravitational Wave Discovery (OzGrav), Hawthorn, VIC, Australia
Clancy James
Affiliation:
International Centre for Radio Astronomy Research, Curtin University, Bentley, WA, Australia
*
Corresponding author: Vivek Gupta, Email: vivg269@gmail.com.
Rights & Permissions [Opens in a new window]

Abstract

Searches for impulsive, astrophysical transients are often highly computationally demanding. A notable example is the dedispersion process required for performing blind searches for fast radio bursts (FRBs) in radio telescope data. We introduce a novel approach – efficient summation of arbitrary masks (ESAM) – which efficiently computes 1D convolution of many arbitrary 2D masks and can be used to carry out dedispersion over thousands of dispersion trials efficiently. Our method matches the accuracy of the traditional brute force technique in recovering the desired signal-to-noise ratio while reducing computational cost by around a factor of 10. We compare its performance with existing dedispersion algorithms, such as the fast dispersion measure transform algorithm, and demonstrate how ESAM provides freedom to choose arbitrary masks and further optimise computational cost versus accuracy. We explore the potential applications of ESAM beyond FRB searches.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Astronomical Society of Australia
Figure 0

Figure 1. ESAM represents an arbitrary 2D mask as a ‘trace’. The trace is comprised of 2 structures: a set of relative offsets between a channel and the preceding, and the 1D convolution kernels themselves without the leading or trailing zeros. All masks must be converted to traces before they can be given to the ESAM tree.

Figure 1

Figure 2. Diagram showing how a trace is digested while building an 8-channel ESAM tree. The trace is split into upper and lower halves. The subband offset is computed and saved and the trace halves are sent to the respective child nodes. This proceeds until the 1D kernels are saved by the EndNodes as EndProducts. Each node returns the index (product ID) in its lookup table to its caller. The internal (IterNodes) save the upper and lower product ID, and the subband offset in a lookup table called the IterProduct. This lookup table is used in the evaluation stage. A procedural description of the building of a given IterNode and EndNode is depicted in Figures 3 and 4, respectively. Please see Section 2.3 for a more detailed discussion.

Figure 2

Figure 3. ESAM IterNode building procedure.

Figure 3

Figure 4. ESAM EndNode building procedure.

Figure 4

Listing 1. Types, showing how functions are dispatched

Figure 5

Listing 2. Preparation step of IterNode

Figure 6

Listing 3. Preparation step of an EndNode

Figure 7

Listing 4. Evaluation step of an IterNode

Figure 8

Listing 5. Evaluation step of an EndNode

Figure 9

Table 1. ESAM simulation parameters.

Figure 10

Listing 6. Code used for preparing an ESAM tree with S/N threshold and DM step

Figure 11

Figure 5. The output of ESAM tree evaluation for an example pulse dispersed at a DM delay of 500 samples. When loaded with dedipsersion masks, the ESAM produces the bow-tie pattern in its dispersion transform.

Figure 12

Figure 6. Recovered S/N as a fraction of the theoretical S/N evaluated for a range of algorithms and FRB DMs. The maximum recoverable S/N using quantised kernels is shown with a black dashed line. The performance of ESAM(1, 1) is shown in orange, and FDMT is shown in blue. The performance of the brute force algorithm is shown with black stars. ESAM(1, 1) exactly matches the performance of the brute force algorithm, while only requiring 10x fewer operations (see Figure 7). Red circles mark the performance of ESAM(1, 1) where the test DM trial matches the input mask, i.e. at integer DM trials. ESAM(1, 1) recovers the max S/N at those DMs. Inset: zoom-in on a small region of the three curves.

Figure 13

Figure 7. Number of operations needed to evaluate dedispersion for a range of algorithms and FRB DMs.

Figure 14

Figure 8. S/N recovery performance of the optimised ESAM trees $-$ ESAM(0.9,0.1) in red, and ESAM(0.8,0.1) in green, as a function of DM. The best possible S/N is shown in the black dashed line, and the performance of ESAM(1,1) is shown in orange for comparison. Black dotted lines show the 90% and the 80% S/N recovery thresholds used to build the two optimised trees. Both trees exceed the performance of the ESAM(1,1) tree in the low DM trial region – where the latter suffered. While we see larger drops in S/N due to scalloping between the increased gaps between successive DM trials, their performance stays within their specified thresholds, i.e. 0.8 and 0.9. This results in a reduction in the number of operations needed, as shown in Figure 9

Figure 15

Figure 9. Number of operations needed to evaluate the dedispesion transform for ESAM trees with differing parameters.