Skip to content

Research at St Andrews

PyTorchDIA: a flexible, GPU-accelerated numerical approach to Difference Image Analysis

Research output: Contribution to journalArticlepeer-review

Author(s)

James A Hitchcock, Markus Hundertmark, Daniel Foreman-Mackey, Etienne Bachelet, Martin Dominik, Rachel Street, Yiannis Tsapras

School/Research organisations

Abstract

We present a GPU-accelerated numerical approach for fast kernel and differential background solutions. The model image proposed in the Bramich (2008) difference image analysis algorithm is analogous to a very simple Convolutional Neural Network (CNN), with a single convolutional filter (i.e. the kernel) and an added scalar bias (i.e. the differential background). Here, we do not solve for the discrete pixel array in the classical, analytical linear least-squares sense. Instead, by making use of PyTorch tensors (GPU compatible multi-dimensional matrices) and associated deep learning tools, we solve for the kernel via an inherently massively parallel optimisation. By casting the Difference Image Analysis (DIA) problem as a GPU-accelerated optimisation which utilises automatic differentiation tools, our algorithm is both flexible to the choice of scalar objective function, and can perform DIA on astronomical data sets at least an order of magnitude faster than its classical analogue. More generally, we demonstrate that tools developed for machine learning can be used to address generic data analysis and modelling problems.
Close

Details

Original languageEnglish
Pages (from-to)3561–3579
Number of pages20
JournalMonthly Notices of the Royal Astronomical Society
Volume504
Issue number3
Early online date21 Apr 2021
DOIs
Publication statusPublished - Jul 2021

    Research areas

  • Methods: data analysis, Techniques: image processing, Software: development

Discover related content
Find related publications, people, projects and more using interactive charts.

View graph of relations

Related by author

  1. OGLE-2018-BLG-1185b: a low-mass microlensing planet orbiting a low-mass dwarf

    Kondo, I., Yee, J. C., Bennett, D. P., Sumi, T., Koshimoto, N., Bond, I. A., Gould, A., Udalski, A., Shvartzvald, Y., Jung, Y. K., Zang, W., Bozza, V., Bachelet, E., Hundertmark, M. P. G., Rattenbury, N. J., Abe, F., Barry, R., Bhattacharya, A., Donachie, M., Fukui, A. & 78 others, Fujii, H., Hirao, Y., Ishitani Silva, S., Itow, Y., Kirikawa, R., Li, M. C. A., Matsubara, Y., Miyazaki, S., Muraki, Y., Olmschenk, G., Ranc, C., Satoh, Y., Shoji, H., Suzuki, D., Tanaka, Y., Tristram, P. J., Yamawaki, T., Yonehara, A., Mróz, P., Poleski, R., Skowron, J., Szymański, M. K., Soszyński, I., Kozłowski, S., Pietrukowicz, P., Ulaczyk, K., Rybicki, K. A., Iwanek, P., Wrona, M., Albrow, M. D., Chung, S-J., Han, C., Hwang, K-H., Kim, H-W., Shin, I-G., Cha, S-M., Kim, D-J., Kim, S-L., Lee, C-U., Lee, D-J., Lee, Y., Park, B-G., Pogge, R. W., Ryu, Y-H., Beichman, C. A., Bryden, G., Calchi Novati, S., Carey, S., Gaudi, B. S., Henderson, C. B., Zhu, W., Maoz, D., Penny, M. T., Dominik, M., Jørgensen, U. G., Longa-Peña, P., Peixinho, N., Sajadian, S., Skottfelt, J., Snodgrass, C., Tregloan-Reed, J., Burgdorf, M. J., Campbell-White, J., Dib, S., Fujii, Y. I., Hinse, T. C., Khalouei, E., Rahvar, S., Rabus, M., Southworth, J., Tsapras, Y., Street, R. A., Bramich, D. M., Cassan, A., Horne, K., Wambsganss, J., Mao, S. & Saha, A., 1 Aug 2021, In: Astronomical Journal. 162, 2, 18 p., 77.

    Research output: Contribution to journalArticlepeer-review

  2. Six outbursts of comet 46P/Wirtanen

    Kelley, M. S. P., Farnham, T. L., Li, J-Y., Bodewits, D., Snodgrass, C., Allen, J., Bellm, E. C., Coughlin, M. W., Drake, A. J., Duev, D. A., Graham, M. J., Kupfer, T., Masci, F. J., Reiley, D., Walters, R., Dominik, M., Jørgensen, U. G., Andrews, A., Bach-Møller, N., Bozza, V. & 15 others, Burgdorf, M. J., Campbell-White, J., Dib, S., Fujii, Y. I., Hinse, T. C., Hundertmark, M., Khalouei, E., Longa-Peña, P., Rabus, M., Rahvar, S., Sajadian, S., Skottfelt, J., Southworth, J., Tregloan-Reed, J. & Unda-Sanzana, E., Aug 2021, In: The Planetary Science Journal. 2, 4, 18 p., 131.

    Research output: Contribution to journalArticlepeer-review

  3. Refined physical parameters for Chariklo's body and rings from stellar occultations observed between 2013 and 2020

    Morgado, B. E., Sicardy, B., Braga-Ribas, F., Desmars, J., Gomes-Júnior, A. R., Bérard, D., Leiva, R., Ortiz, J. L., Vieira-Martins, R., Benedetti-Rossi, G., Santos-Sanz, P., Camargo, J. I. B., Duffard, R., Rommel, F. L., Assafin, M., Boufleur, R. C., Colas, F., Kretlow, M., Beisker, W., Sfair, R. & 61 others, Snodgrass, C., Morales, N., Fernández-Valenzuela, E., Amaral, L. S., Amarante, A., Artola, R. A., Backes, M., Bath, K-L., Bouley, S., Buie, M. W., Cacella, P., Colazo, C. A., Colque, J. P., Dauvergne, J-L., Dominik, M., Emilio, M., Erickson, C., Evans, R., Fabrega-Polleri, J., Garcia-Lambas, D., Giacchini, B. L., Hanna, W., Herald, D., Hesler, G., Hinse, T. C., Jacques, C., Jehin, E., Jørgensen, U. G., Kerr, S., Kouprianov, V., Levine, S. E., Linder, T., Maley, P. D., Machado, D. I., Maquet, L., Maury, A., Melia, R., Meza, E., Mondon, B., Moura, T., Newman, J., Payet, T., Pereira, C. L., Pollock, J., Poltronieri, R. C., Quispe-Huaynasi, F., Reichart, D., de Santana, T., Schneiter, E. M., Sieyra, M. V., Skottfelt, J., Soulier, J. F., Starck, M., Thierry, P., Torres, P. J., Trabuco, L. L., Unda-Sanzana, E., Yamashita, T. A. R., Winter, O. C., Zapata, A. & Zuluaga, C. A., 12 Jul 2021, (Accepted/In press) In: Astronomy & Astrophysics.

    Research output: Contribution to journalArticlepeer-review

  4. Gaia photometric Science Alerts

    Hodgkin, S. T., Harrison, D. L., Breedt, E., Wevers, T., Rixon, G., Delgado, A., Yoldas, A., Kostrzewa-Rutkowska, Z., Wyrzykowski, Ł., van Leeuwen, M., Blagorodnova, N., Campbell, H., Eappachen, D., Fraser, M., Ihanec, N., Koposov, S. E., Kruszyńska, K., Marton, G., Rybicki, K. A., Brown, A. G. A. & 91 others, Burgess, P. W., Busso, G., Cowell, S., De Angeli, F., Diener, C., Evans, D. W., Gilmore, G., Holland, G., Jonker, P. G., van Leeuwen, F., Mignard, F., Osborne, P. J., Portell, J., Prusti, T., Richards, P. J., Riello, M., Seabroke, G. M., Walton, N. A., Ábrahám, P., Altavilla, G., Baker, S. G., Bastian, U., O'Brien, P., de Bruijne, J., Butterley, T., Carrasco, J. M., Castañeda, J., Clark, J. S., Clementini, G., Copperwheat, C. M., Cropper, M., Damljanovic, G., Davidson, M., Davis, C. J., Dennefeld, M., Dhillon, V. S., Dolding, C., Dominik, M., Esquej, P., Eyer, L., Fabricius, C., Fridman, M., Froebrich, D., Garralda, N., Gomboc, A., González-Vidal, J. J., Guerra, R., Hambly, N. C., Hardy, L. K., Holl, B., Hourihane, A., Japelj, J., Kann, D. A., Kiss, C., Knigge, C., Kolb, U., Komossa, S., Kóspál, Á., Kovács, G., Kun, M., Leto, G., Lewis, F., Littlefair, S. P., Mahabal, A. A., Mundell, C. G., Nagy, Z., Padeletti, D., Palaversa, L., Pigulski, A., Pretorius, M. L., van Reeven, W., Ribeiro, V. A. R. M., Roelens, M., Rowell, N., Schartel, N., Scholz, A., Schwope, A., Sipőcz, B. M., Smartt, S. J., Smith, M. D., Serraller, I., Steeghs, D., Sullivan, M., Szabados, L., Szegedi-Elek, E., Tisserand, P., Tomasella, L., van Velzen, S., Whitelock, P. A., Wilson, R. W. & Young, D. R., 20 May 2021, (Accepted/In press) In: Astronomy & Astrophysics.

    Research output: Contribution to journalArticlepeer-review

  5. PyTorchDIA: A flexible, GPU-accelerated numerical approach to Difference Image Analysis (code)

    Hitchcock, J. A., Hitchcock, J. A., Foreman-Mackey, D., Bachelet, E., Dominik, M., Street, R. & Tsapras, Y., 2021

    Research output: Non-textual formSoftware

Related by journal

  1. Transmission spectroscopy with VLT FORS2: a featureless spectrum for the low-density transiting exoplanet WASP-88b

    Spyratos, P., Nikolov, N., Southworth, J., Constantinou, S., Madhusudhan, N., Carter, A. L., de Mooij, E. J. W., Fortney, J. J., Gibson, N. P., Goyal, J. M., Helling, C., Mayne, N. J. & Mikal-Evans, T., 1 Sep 2021, In: Monthly Notices of the Royal Astronomical Society. 506, 2, p. 2853-2870 18 p.

    Research output: Contribution to journalArticlepeer-review

  2. Exploiting timing capabilities of the CHEOPS mission with warm-Jupiter planets

    Borsato, L., Piotto, G., Gandolfi, D., Nascimbeni, V., Lacedelli, G., Marzari, F., Billot, N., Maxted, P. F. L., Sousa, S., Cameron, A. C., Bonfanti, A., Wilson, T. G., Serrano, L. M., Garai, Z., Alibert, Y., Alonso, R., Asquier, J., Bárczy, T., Bandy, T., Barrado, D. & 58 others, Barros, S. C. C., Baumjohann, W., Beck, M., Beck, T., Benz, W., Bonfils, X., Brandeker, A., Broeg, C., Cabrera, J., Charnoz, S., Csizmadia, S., Davies, M. B., Deleuil, M., Delrez, L., Demangeon, O., Demory, B-O., des Etangs, A. L., Ehrenreich, D., Erikson, A., Escudé, G. A., Fortier, A., Fossati, L., Fridlund, M., Gillon, M., Guedel, M., Hasiba, J., Heng, K., Hoyer, S., Isaak, K. G., Kiss, L., Kopp, E., Laskar, J., Lendl, M., Lovis, C., Magrin, D., Munari, M., Olofsson, G., Ottensamer, R., Pagano, I., Pallé, E., Peter, G., Pollacco, D., Queloz, D., Ragazzoni, R., Rando, N., Rauer, H., Ribas, I., Ségransan, D., Santos, N. C., Scandariato, G., Simon, A., Smith, A. M. S., Steller, M., Szabó, G., Thomas, N., Udry, S., Van Grootel, V. & Walton, N., Sep 2021, In: Monthly Notices of the Royal Astronomical Society. 506, 3, p. 3810-3830 21 p.

    Research output: Contribution to journalArticlepeer-review

  3. The first spectroscopically confirmed brown dwarfs in NGC 2264

    Pearson, S., Scholz, A., Teixeira, P. S., Mužić, K. & Almendros-Abad, V., 24 Aug 2021, (Accepted/In press) In: Monthly Notices of the Royal Astronomical Society.

    Research output: Contribution to journalArticlepeer-review

  4. Separating planetary reflex Doppler shifts from stellar variability in the wavelength domain

    Cameron, A. C., Ford, E. B., Shahaf, S., Aigrain, S., Dumusque, X., Haywood, R. D., Mortier, A., Phillips, D. F., Buchhave, L., Cecconi, M., Cegla, H., Cosentino, R., Crétignier, M., Ghedina, A., González, M., Latham, D. W., Lodi, M., López-Morales, M., Micela, G., Molinari, E. & 11 others, Pepe, F., Piotto, G., Poretti, E., Queloz, D., Juan, J. S., Ségransan, D., Sozzetti, A., Szentgyorgyi, A., Thompson, S., Udry, S. & Watson, C., 2 Aug 2021, In: Monthly Notices of the Royal Astronomical Society. 505, 2, p. 1699–1717

    Research output: Contribution to journalArticlepeer-review

Related by journal

  1. Monthly Notices of the Royal Astronomical Society (Journal)

    Ineke De Moortel (Member of editorial board)

    1 Jan 2019 → …

    Activity: Publication peer-review and editorial work typesEditor of research journal

  2. Monthly Notices of the Royal Astronomical Society (Journal)

    Carolin Villforth (Reviewer)

    2011 → …

    Activity: Publication peer-review and editorial work typesPeer review of manuscripts

  3. Monthly Notices of the Royal Astronomical Society (Journal)

    Christiane Helling (Editor)

    2007 → …

    Activity: Publication peer-review and editorial work typesEditor of research journal

  4. Monthly Notices of the Royal Astronomical Society (Journal)

    Andrew Collier Cameron (Editor)

    2005 → …

    Activity: Publication peer-review and editorial work typesEditor of research journal

  5. Monthly Notices of the Royal Astronomical Society (Journal)

    Duncan Hendry Mackay (Editor)

    2003 → …

    Activity: Publication peer-review and editorial work typesEditor of research journal

ID: 274064742

Top