{"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-compound-poisson-generator-approach-to","title":"A Compound Poisson Generator approach to Point-Source Inference in Astrophysics","arxiv_id":"2104.04529","date":"2021-04-09","proceeding":null,"authors":["Gabriel H. Collin","Nicholas L. Rodd","Tyler Erjavec","Kerstin Perez"],"abstract":"The identification and description of point sources is one of the oldest problems in astronomy; yet, even today the correct statistical treatment for point sources remains one of the field's hardest problems. For dim or crowded sources, likelihood based inference methods are required to estimate the uncertainty on the characteristics of the source population. In this work, a new parametric likelihood is constructed for this problem using Compound Poisson Generator (CPG) functionals which incorporate instrumental effects from first principles. We demonstrate that the CPG approach exhibits a number of advantages over Non-Poissonian Template Fitting (NPTF) - an existing method - in a series of test scenarios in the context of X-ray astronomy. These demonstrations show that the effect of the point-spread function, effective area, and choice of point-source spatial distribution cannot, generally, be factorised as they are in NPTF, while the new CPG construction is validated in these scenarios. Separately, an examination of the diffuse-flux emission limit is used to show that most simple choices of priors on the standard parameterisation of the population model can result in unexpected biases: when a model comprising both a point-source population and diffuse component is applied to this limit, nearly all observed flux will be assigned to either the population or to the diffuse component. A new parametrisation is presented for these priors which properly estimates the uncertainties in this limit. In this choice of priors, CPG correctly identifies that the fraction of flux assigned to the population model cannot be constrained by the data.","url_abs":"https://arxiv.org/abs/2104.04529v2","url_pdf":"https://arxiv.org/pdf/2104.04529v2.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":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"a-compound-poisson-generator-approach-to","repo_url":"https://github.com/ghcollin/cpg_likelihood","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2104.04529","atlas_url":"https://app.syntology.ai/?focus=2104.04529","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.04529"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/ghcollin/cpg_likelihood","reach":null}],"summary":{"ran_draft_wrong":4,"ran_violates":1},"by_repo_kind":{"official":{"samples":5,"ran":5,"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":5,"samples":[{"code_sha256_prefix":"be56122313e68bc3","entry":"create_eff_area_fuction","repo":"ghcollin/cpg_likelihood","repo_kind":"official","path":"examples/mueps_construction.py","file_url":"https://github.com/ghcollin/cpg_likelihood/blob/HEAD/examples/mueps_construction.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"be56122313e68bc3"}},{"code_sha256_prefix":"c66ce308de9659ce","entry":"create_image_coords","repo":"ghcollin/cpg_likelihood","repo_kind":"official","path":"examples/mueps_construction.py","file_url":"https://github.com/ghcollin/cpg_likelihood/blob/HEAD/examples/mueps_construction.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c66ce308de9659ce"}},{"code_sha256_prefix":"2d2cd74ac7062e3d","entry":"create_test_data","repo":"ghcollin/cpg_likelihood","repo_kind":"official","path":"examples/model_construction.py","file_url":"https://github.com/ghcollin/cpg_likelihood/blob/HEAD/examples/model_construction.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"2d2cd74ac7062e3d"}},{"code_sha256_prefix":"53aa82ebc4caa163","entry":"flatten_map","repo":"ghcollin/cpg_likelihood","repo_kind":"official","path":"examples/model_construction.py","file_url":"https://github.com/ghcollin/cpg_likelihood/blob/HEAD/examples/model_construction.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"53aa82ebc4caa163"}},{"code_sha256_prefix":"49a73ae4c5364123","entry":"psf_function","repo":"ghcollin/cpg_likelihood","repo_kind":"official","path":"examples/mueps_construction.py","file_url":"https://github.com/ghcollin/cpg_likelihood/blob/HEAD/examples/mueps_construction.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"49a73ae4c5364123"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}