{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/a-unified-framework-for-21cm-tomography","title":"A unified framework for 21cm tomography sample generation and parameter inference with Progressively Growing GANs","arxiv_id":"2002.07940","date":"2020-02-19","proceeding":null,"authors":["Florian List","Geraint F. Lewis"],"abstract":"Creating a database of 21cm brightness temperature signals from the Epoch of Reionisation (EoR) for an array of reionisation histories is a complex and computationally expensive task, given the range of astrophysical processes involved and the possibly high-dimensional parameter space that is to be probed. We utilise a specific type of neural network, a Progressively Growing Generative Adversarial Network (PGGAN), to produce realistic tomography images of the 21cm brightness temperature during the EoR, covering a continuous three-dimensional parameter space that models varying X-ray emissivity, Lyman band emissivity, and ratio between hard and soft X-rays. The GPU-trained network generates new samples at a resolution of $\\sim 3'$ in a second (on a laptop CPU), and the resulting global 21cm signal, power spectrum, and pixel distribution function agree well with those of the training data, taken from the 21SSD catalogue \\citep{Semelin2017}. Finally, we showcase how a trained PGGAN can be leveraged for the converse task of inferring parameters from 21cm tomography samples via Approximate Bayesian Computation.","url_abs":"https://arxiv.org/abs/2002.07940v1","url_pdf":"https://arxiv.org/pdf/2002.07940v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"a-unified-framework-for-21cm-tomography","repo_url":"https://github.com/FloList/21cmGAN","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":null,"task_name":"CPU"},{"task_slug":null,"task_name":"GPU"},{"task_slug":null,"task_name":"Generative Adversarial Network"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2002.07940","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2002.07940"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/FloList/21cmGAN","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":9},"by_repo_kind":{"official":{"samples":9,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"d756a00336e9f473","entry":"GAN_loss","repo":"FloList/21cmGAN","repo_kind":"official","path":"NN_21cm.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/NN_21cm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d756a00336e9f473"}},{"code_sha256_prefix":"c461fe4705301b4f","entry":"LSGAN_loss","repo":"FloList/21cmGAN","repo_kind":"official","path":"NN_21cm.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/NN_21cm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c461fe4705301b4f"}},{"code_sha256_prefix":"d96b55e8f1e709a8","entry":"WGAN_loss","repo":"FloList/21cmGAN","repo_kind":"official","path":"NN_21cm.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/NN_21cm.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d96b55e8f1e709a8"}},{"code_sha256_prefix":"de10f2a7071d3278","entry":"floats_from_file","repo":"FloList/21cmGAN","repo_kind":"official","path":"process_high_res_data.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/process_high_res_data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"de10f2a7071d3278"}},{"code_sha256_prefix":"b8d3bcbf07216fad","entry":"interp_nans","repo":"FloList/21cmGAN","repo_kind":"official","path":"process_high_res_data.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/process_high_res_data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b8d3bcbf07216fad"}},{"code_sha256_prefix":"c4acf3a252b9300b","entry":"nan_helper","repo":"FloList/21cmGAN","repo_kind":"official","path":"process_high_res_data.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/process_high_res_data.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c4acf3a252b9300b"}},{"code_sha256_prefix":"cd8acd67f9cde38e","entry":"read_tfRecord_function","repo":"FloList/21cmGAN","repo_kind":"official","path":"ops.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/ops.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cd8acd67f9cde38e"}},{"code_sha256_prefix":"7f64835663dada9e","entry":"scale_pars","repo":"FloList/21cmGAN","repo_kind":"official","path":"utils.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7f64835663dada9e"}},{"code_sha256_prefix":"2d0f2e9779de0775","entry":"scale_pars_tf","repo":"FloList/21cmGAN","repo_kind":"official","path":"utils.py","file_url":"https://github.com/FloList/21cmGAN/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2d0f2e9779de0775"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}