Published September 15, 2023 | Journal article | Version v1 | https://doi.org/10.21105/joss.05703

pysersic: A Python package for determining galaxy structural properties via Bayesian inference, accelerated with jax

Files

joss.05703.pdf

Files (3.9 MB)

Name Size Download all
md5:19d0ebd79991842753096df714303fb5
234.2 kB Preview Download
md5:b135b11bfc51885b2273414f11853670
3.7 MB Preview Download

Additional details

Dates

Issued
September 15, 2023

References

  1. Pasha, I., & Miller, T. B. (2023). Pysersic: A Python package for determining galaxy structural properties via Bayesian inference, accelerated with jax (Version 0.1.3) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.8335352
  2. Lang, D. (2020). A hybrid Fourier--Real Gaussian Mixture method for fast galaxy--PSF convolution (Version 1) [Article]. arXiv. https://doi.org/10.48550/arxiv.2012.15797
  3. Sersic, J. L. (1968). Atlas de Galaxias Australes.
  4. Bradbury, J., Frostig, R., Hawkins, P., Johnson, M. J., Leary, C., Maclaurin, D., Necula, G., Paszke, A., VanderPlas, J., Wanderman-Milne, S., & Zhang, Q. (2018). JAX: Composable transformations of Python+NumPy programs (Version 0.3.13). https://github.com/google/jax
  5. Bingham, E., Chen, J. P., Jankowiak, M., Obermeyer, F., Pradhan, N., Karaletsos, T., Singh, R., Szerlip, P. A., Horsfall, P., & Goodman, N. D. (2019). Pyro: Deep universal probabilistic programming. J. Mach. Learn. Res., 20, 28:1–28:6. https://jmlr.org/papers/v20/18-403.html
  6. Phan, D., Pradhan, N., & Jankowiak, M. (2019). Composable effects for flexible and accelerated probabilistic programming in NumPyro. arXiv Preprint arXiv:1912.11554.
  7. Mowla, L. A., Dokkum, P. van ., Brammer, G. B., Momcheva, I., Wel, A. van . der ., Whitaker, K., Nelson, E., Bezanson, R., Muzzin, A., Franx, M., MacKenty, J., Leja, J., Kriek, M., & Marchesini, D. (2019). COSMOS-DASH: The Evolution of the Galaxy Size–Mass Relation since z ∼ 3 from New Wide-field WFC3 Imaging Combined with CANDELS/3D-HST. The Astrophysical Journal, 880(1), 57. https://doi.org/10.3847/1538-4357/ab290a
  8. Lange, R., Driver, S. P., Robotham, A. S. G., Kelvin, L. S., Graham, A. W., Alpaslan, M., Andrews, S. K., Baldry, I. K., Bamford, S., Bland-Hawthorn, J., Brough, S., Cluver, M. E., Conselice, C. J., Davies, L. J. M., Haeussler, B., Konstantopoulos, I. S., Loveday, J., Moffett, A. J., Norberg, P., … Wilkins, S. M. (2015). Galaxy And Mass Assembly (GAMA): mass–size relations of z < 0.1 galaxies subdivided by Sérsic index, colour and morphology. Monthly Notices of the Royal Astronomical Society, 447(3), 2603–2630. https://doi.org/10.1093/mnras/stu2467
  9. Kawinwanichakij, L., Silverman, J. D., Ding, X., George, A., Damjanov, I., Sawicki, M., Tanaka, M., Taranu, D. S., Birrer, S., Huang, S., Li, J., Onodera, M., Shibuya, T., & Yasuda, N. (2021). Hyper Suprime-Cam Subaru Strategic Program: A Mass-dependent Slope of the Galaxy Size−Mass Relation at z < 1. The Astrophysical Journal, 921(1), 38. https://doi.org/10.3847/1538-4357/ac1f21
  10. Erwin, P. (2015). IMFIT: A FAST, FLEXIBLE NEW PROGRAM FOR ASTRONOMICAL IMAGE FITTING. The Astrophysical Journal, 799(2), 226. https://doi.org/10.1088/0004-637x/799/2/226
  11. Peng, C. Y., Ho, L. C., Impey, C. D., & Rix, H.-W. (2002). Detailed Structural Decomposition of Galaxy Images. The Astronomical Journal, 124(1), 266–293. https://doi.org/10.1086/340952
  12. Robotham, A. S. G., Taranu, D. S., Tobar, R., Moffett, A., & Driver, S. P. (2016). ProFit: Bayesian profile fitting of galaxy images. Monthly Notices of the Royal Astronomical Society, 466(2), 1513–1541. https://doi.org/10.1093/mnras/stw3039
  13. Nightingale, J. W., Amvrosiadis, A., Hayes, R. G., He, Q., Etherington, A., Cao, X., Cole, S., Frawley, J., Frenk, C. S., Lange, S., Li, R., Massey, R. J., Negrello, M., & Robertson, A. (2023). PyAutoGalaxy: Open-Source Multiwavelength Galaxy Structure & Morphology. Journal of Open Source Software, 8(81), 4475. https://doi.org/10.21105/joss.04475
  14. Ding, X., Birrer, S., Treu, T., & Silverman, J. D. (2021). Galaxy shapes of Light (GaLight): a 2D modeling of galaxy images (Version 1) [Article]. arXiv. https://doi.org/10.48550/arxiv.2111.08721
  15. Birrer, S., Shajib, A., Gilman, D., Galan, A., Aalbers, J., Millon, M., Morgan, R., Pagano, G., Park, J., Teodori, L., Tessore, N., Ueland, M., Van de Vyvere, L., Wagner-Carena, S., Wempe, E., Yang, L., Ding, X., Schmidt, T., Sluse, D., … Amara, A. (2021). lenstronomy II: A gravitational lensing software ecosystem. Journal of Open Source Software, 6(62), 3283. https://doi.org/10.21105/joss.03283
  16. Shajib, A. J. (2019). Unified lensing and kinematic analysis for any elliptical mass profile. Monthly Notices of the Royal Astronomical Society, 488(1), 1387–1400. https://doi.org/10.1093/mnras/stz1796
  17. Geda, R., Crawford, S. M., Hunt, L., Bershady, M., Tollerud, E., & Randriamampandry, S. (2022). PetroFit: A Python Package for Computing Petrosian Radii and Fitting Galaxy Light Profiles. The Astronomical Journal, 163(5), 202. https://doi.org/10.3847/1538-3881/ac5908
  18. Hoffman, M. D., Gelman, A., & others. (2014). The No-U-Turn sampler: adaptively setting path lengths in Hamiltonian Monte Carlo. J. Mach. Learn. Res., 15(1), 1593–1623.
  19. Ranganath, R., Gerrish, S., & Blei, D. (2014). Black box variational inference. Artificial Intelligence and Statistics, 814–822.
  20. De Cao, N., Aziz, W., & Titov, I. (2020). Block neural autoregressive flow. Uncertainty in Artificial Intelligence, 1263–1273.
  21. The pandas development team. (2026). pandas-dev/pandas: Pandas (Version v3.1.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.3509134
  22. Bradley, L., Sipőcz, B., Robitaille, T., Tollerud, E., Vinícius, Z., Deil, C., Barbary, K., Wilson, T. J., Busko, I., Donath, A., Günther, H. M., Cara, M., Lim, P. L., Meßlinger, S., Conseil, S., Bostroem, A., Droettboom, M., Bray, E. M., Bratholm, L. A., … Souchereau, H. (2022). astropy/photutils: 1.5.0 (Version 1.5.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.6825092
  23. Pajankar, A. (2017). pytest. In Python Unit Test Automation (pp. 87–100). Apress. https://doi.org/10.1007/978-1-4842-2677-3_5
  24. Virtanen, P., Gommers, R., Oliphant, T. E., Haberland, M., Reddy, T., Cournapeau, D., Burovski, E., Peterson, P., Weckesser, W., Bright, J., van der Walt, S. J., Brett, M., Wilson, J., Millman, K. J., Mayorov, N., Nelson, A. R. J., Jones, E., Kern, R., Larson, E., … Vázquez-Baeza, Y. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods, 17(3), 261–272. https://doi.org/10.1038/s41592-019-0686-2
  25. Da Costa-Luis, C., Larroque, S. K., Altendorf, K., Mary, H., Richardsheridan, Korobov, M., Raphael, N., Ivanov, I., Bargull, M., Rodrigues, N., Chen, G., Lee, A., Newey, C., CrazyPython, JC, Zugnoni, M., Pagel, M. D., Mjstevens777, Dektyarev, M., … Nordlund, M. (2023). tqdm: A fast, Extensible Progress Bar for Python and CLI (Version v4.65.0) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.7697295

1–25 of 33

Citations

  1. Forrest, B., Muzzin, A., Marchesini, D., Pan, R., Ozden, N., Antwi-Danso, J., Chang, W., Cooper, M. C., Edward, A. H., Gomez, P., Kimmig, L., Lemaux, B. C., McConachie, I., Noble, A., Remus, R.-S., Urbano Stawinski, S. M., Wilson, G., & Wisz, M. E. (2026). A massive and evolved slow-rotating galaxy in the early Universe. Nature Astronomy, 10(8), 1232–1240. https://doi.org/10.1038/s41550-026-02855-0
  2. Naidu, R. P., Matthee, J., Katz, H., de Graaff, A., Oesch, P. A., Smith, A., Greene, J. E., Brammer, G., Weibel, A., Hviding, R., Chisholm, J., Labbé, I., Simcoe, R. A., Witten, C., Sun, W. Q., Atek, H., Baggen, J. F. W., Belli, S., Bezanson, R., … Whitaker, K. (2026). A gas-enshrouded and gas-reddened black hole at cosmic dawn. Nature, 656(8127), 329–333. https://doi.org/10.1038/s41586-026-10846-4
  3. Giovinazzo, E., Oesch, P. A., Weibel, A., Meyer, R. A., Witten, C., Bhagwat, A., Brammer, G., Chisholm, J., de Graaff, A., Gottumukkala, R., Jecmen, M., Katz, H., Leja, J., Marques-Chaves, R., Maseda, M., Shivaei, I., Trebitsch, M., & Verhamme, A. (2026). Breaking through the cosmic fog: JWST/NIRSpec constraints on ionizing photon escape in reionization-era galaxies. Astronomy & Astrophysics, 707, A352. https://doi.org/10.1051/0004-6361/202556204
  4. Baker, W. M., Ito, K., Valentino, F., Zhu, P., Scarpe, G., Gottumukkala, R., Hjorth, J., Barrufet, L., & Langeroodi, D. (2026). Double trouble: Two spectroscopically confirmed low-mass quiescent galaxies at z > 5 in overdensities. Astronomy & Astrophysics, 706, A91. https://doi.org/10.1051/0004-6361/202557207
  5. Marques-Chaves, R., Schaerer, D., Dessauges-Zavadsky, M., Álvarez-Márquez, J., Hashimoto, T., Colina, L., Inoue, A. K., Blanco-Prieto, C., Nakazato, Y., Costantin, L., Arribas, S., Bakx, T. J. L. C., Ceverino, D., Crespo Gómez, A., Fudamoto, Y., Hagimoto, M., Hamada, A., Matsuoka, Y., Mawatari, K., … Yoshida, N. (2026). Extremely ultraviolet-bright starbursts at the end of cosmic reionization. Astronomy & Astrophysics, 711, A112. https://doi.org/10.1051/0004-6361/202557740
  6. Golubchik, M., Furtak, L. J., Allingham, J. F. V., Zitrin, A., Akins, H. B., Kokorev, V., Fujimoto, S., Abdurro’uf, Amorín, R. O., Bauer, F. E., Bezanson, R., Bradač, M., Bradley, L. D., Brammer, G. B., Chisholm, J., Coe, D., Conselice, C. J., Dayal, P., Dessauges-Zavadsky, M., … Windhorst, R. A. (2026). VENUS: When red meets blue: A multiply imaged little red dot with an apparent blue companion behind the galaxy cluster Abell 383. Astronomy & Astrophysics, 710, A226. https://doi.org/10.1051/0004-6361/202558407
  7. Yang, D., Hennawi, J. F., Guarneri, F., Wolf, J., Belladitta, S., Schindler, J.-T., Hughes, A. C. N., Bañados, E., Mortlock, D. J., Yang, J., Wang, F., Fan, X., Jahnke, K., Stern, D., Willott, C. J., Barth, A. J., Rottgering, H. J. A., Varadaraj, R. G., Decarli, R., … Viel, M. (2026). Euclid : Discovery of 31 new quasars at 6.6 < z < 7.8. Astronomy & Astrophysics, 711, A104. https://doi.org/10.1051/0004-6361/202658883
  8. Marques-Chaves, R., Álvarez-Márquez, J., Colina, L., Kendrew, S., Abdurro’uf, Blanco-Prieto, C., Boogaard, L. A., Castellano, M., Caputi, K. I., Crespo-Gómez, A., Fontana, A., Fudamoto, Y., Fujimoto, S., García-Marín, M., Harikane, Y., Harish, S., Hashimoto, T., Hsiao, T., Iani, E., … Zavala, J. (2026). PRISMS: U37126, a very blue ISM-naked starburst at z = 10.255 with a nearly 100% Lyman continuum escape fraction. Astronomy & Astrophysics, 711, A301. https://doi.org/10.1051/0004-6361/202659281
  9. Wang, W., Cantalupo, S., Galbiati, M., Travascio, A., Pensabene, A., Steidel, C. C., Pezzulli, G., Wang, B., Wang, X., Dutta, R., Lazeyras, T., Ledos, N., Mao, H., & Quadri, G. (2026). A quiescent galaxy in a gas-rich cosmic web node at z ∼ 3. Astronomy & Astrophysics, 711, A84. https://doi.org/10.1051/0004-6361/202659351
  10. Zhu, P., Ito, K., Valentino, F., Hamadouche, M., Scarpe, G., Whitaker, K. E., Kakimoto, T., Baker, W. M., Gallazzi, A. R., Gillman, S., Gottumukkala, R., Jespersen, C. K., Lee, M., Man, A. W. S., Magdis, G., Onodera, M., Shimakawa, R., Vijayan, A., & Wu, P.-F. (2026). There and back again: Neutral outflows in z ∼ 3.5 quiescent galaxies. Astronomy & Astrophysics, 712, A169. https://doi.org/10.1051/0004-6361/202659510
  11. Ivey, L. R., Scholtz, J., Danhaive, A. L., Koudmani, S., Jones, G. C., Maiolino, R., Curti, M., D’Eugenio, F., Tacchella, S., Baker, W. M., Arribas, S., Charlot, S., Eisenstein, D., Ji, Z., Koller, M., Laporte, N., Perna, M., Puskás, D., Robertson, B., … Witten, C. (2026). Exploring spatially resolved metallicities, dynamics, and outflows in low-mass galaxies at z ∼ 7.6. Monthly Notices of the Royal Astronomical Society, 546(3), Article stag094. https://doi.org/10.1093/mnras/stag094
  12. Jones, G. C., Übler, H., Maiolino, R., Ji, X., Marconi, A., D’Eugenio, F., Arribas, S., Bunker, A. J., Carniani, S., Charlot, S., Cresci, G., Inayoshi, K., Isobe, Y., Juodžbalis, I., Mazzolari, G., Pérez-González, P. G., Perna, M., Schneider, R., Scholtz, J., & Tacchella, S. (2026). BlackTHUNDER: Shedding light on a dormant and extreme little red dot at z = 8.50. Monthly Notices of the Royal Astronomical Society, 546(3), Article stag115. https://doi.org/10.1093/mnras/stag115
  13. Danhaive, A. L., Tacchella, S., Bunker, A. J., Curtis-Lake, E., de Graaff, A., D’Eugenio, F., Duan, Q., Egami, E., Eisenstein, D. J., Johnson, B. D., Maiolino, R., McClymont, W., Rieke, M., Robertson, B., Sun, F., Willmer, C. N. A., Wu, Z., & Zhu, Y. (2026). The dark side of early galaxies: geko uncovers dark-matter fractions at z ∼ 4 − 6. Monthly Notices of the Royal Astronomical Society, 546(3). https://doi.org/10.1093/mnras/stag119
  14. Ivey, L. R., D’Eugenio, F., Maiolino, R., Isobe, Y., Juodžbalis, I., Koudmani, S., Perna, M., Zhang, S., Bromm, V., Bunker, A. J., Carniani, S., Fabian, A. C., Inayoshi, K., Ji, X., Jones, G. C., Liu, B., Pascalau, R., Rinaldi, P., Robertson, B., … Tacchella, S. (2026). The Cliff: a metal-poor little red dot hosting an overmassive black hole at z = 3.55. Monthly Notices of the Royal Astronomical Society, 550(4), Article stag1220. https://doi.org/10.1093/mnras/stag1220
  15. de Graaff, A., Hviding, R. E., Naidu, R. P., Greene, J. E., Miller, T. B., Leja, J., Matthee, J., Brammer, G., Katz, H., Bezanson, R., Boogaard, L. A., Bose, S., Chisholm, J., Cleri, N. J., Dayal, P., Feldmann, R., Fudamoto, Y., Fujimoto, S., Furtak, L. J., … van der Wel, A. (2026). Little red dots host black hole stars: a unified family of gas-reddened AGN revealed by JWST /NIRSpec spectroscopy. Monthly Notices of the Royal Astronomical Society, 551(3), Article stag1567. https://doi.org/10.1093/mnras/stag1567
  16. Cameron, A. J., Carreira, C., Simmonds, C., Bunker, A. J., Saxena, A., Carniani, S., Charlot, S., Chevallard, J., Curtis-Lake, E., Hainline, K., Hausen, R., Ji, X., Ji, Z., Johnson, B. D., Rinaldi, P., Robertson, B., Scholtz, J., Silcock, M. S., Tacchella, S., … Witstok, J. (2026). JADES: evolution of nitrogen abundances in star-forming galaxies from z ∼ 1.5−7. Monthly Notices of the Royal Astronomical Society, 552(2), Article stag1575. https://doi.org/10.1093/mnras/stag1575
  17. Rusakov, V., Conselice, C. J., Harvey, T., D’Silva, J. C. J., & Austin, D. (2026). Diverse histories and common origins of nitrogen-enhanced JWST galaxies. Monthly Notices of the Royal Astronomical Society, 553(1), Article stag1728. https://doi.org/10.1093/mnras/stag1728
  18. Danhaive, A. L., & Tacchella, S. (2026). geko : a tool for modelling galaxy kinematics and morphology in JWST /NIRCam slitless spectroscopic observations. Monthly Notices of the Royal Astronomical Society, 553(2), Article stag1965. https://doi.org/10.1093/mnras/stag1965
  19. Shields, T., Rieke, M., Hainline, K., Helton, J. M., Bunker, A. J., Carreira, C., Curtis-Lake, E., Eisenstein, D. J., Johnson, B. D., Rinaldi, P., Robertson, B., Williams, C. C., Willmer, C. N. A., & Sun, Y. (2026). JADES: low surface brightness galaxies at 0.4 &lt; z &lt; 0.8 in GOODS-S. Monthly Notices of the Royal Astronomical Society, 546(4). https://doi.org/10.1093/mnras/stag202
  20. Tudorache, M. N., Peiris, H. V., Thorp, S., Deger, S., Mortlock, D. J., Jagwani, G., Halder, A., Leistedt, B., Van den Bussche, B., & Leja, J. (2026). pop-cosmos : galaxy size evolution across structural and star-formation classifications in COSMOS-Web. Monthly Notices of the Royal Astronomical Society, 553(3), Article stag2074. https://doi.org/10.1093/mnras/stag2074
  21. Pascalau, R. G., D’Eugenio, F., Tacchella, S., Maiolino, R., Cappellari, M., Duan, Q., Lagos, C. del P., Bunker, A. J., Jones, G. C., Scholtz, J., Übler, H., Cresci, G., Arribas, S., Perna, M., van der Wel, A., Danhaive, A. L., McClymont, W., Williams, C. C., de Graaff, A., … Pérez González, P. (2026). When relics were made: vigorous stellar rotation and low dark matter content in the massive ultra-compact galaxy GS-9209 at z = 4.66. Monthly Notices of the Royal Astronomical Society, 547(1), Article stag210. https://doi.org/10.1093/mnras/stag210
  22. Roberts-Borsani, G., Oesch, P. A., Ellis, R., Weibel, A., Giovinazzo, E., Bouwens, R., Dayal, P., Fontana, A., Heintz, K. E., Matthee, J., Meyer, R. A., Pentericci, L., Shapley, A., Tacchella, S., Treu, T., Walter, F., Atek, H., Bose, S., Castellano, M., … van der Wel, A. (2026). JWST spectroscopic insights into the diversity of galaxies in the first 500 Myr: short-lived snapshots along a common evolutionary pathway. Monthly Notices of the Royal Astronomical Society, 548(3). https://doi.org/10.1093/mnras/stag701
  23. https://doi.org/10.1093/mnras/stag824
  24. https://doi.org/10.1126/sciadv.aek9035
  25. Barro, G., Pérez-González, P. G., Kocevski, D. D., McGrath, E. J., Leung, G. C. K., Cullen, F., Dunlop, J. S., Ellis, R. S., Finkelstein, S. L., Grogin, N. A., Illingworth, G., Kartaltepe, J. S., Koekemoer, A. M., Lucas, R. A., McLure, R. J., & Yang, G. (2026). A Comprehensive Photometric Selection of “Little Red Dots” in MIRI Fields: An Infrared-Bright Little Red Dot at z = 3.1386 with Warm Dust Emission. The Astrophysical Journal, 997(1), 48. https://doi.org/10.3847/1538-4357/ae0704

1–25 of 81