{"id":19246464,"url":"https://github.com/edoaltamura/entropy-core-problem","last_synced_at":"2026-06-12T22:33:13.557Z","repository":{"id":165930297,"uuid":"553190042","full_name":"edoaltamura/entropy-core-problem","owner":"edoaltamura","description":"Repository for suppelementary material  from my publications on the entropy core problem","archived":false,"fork":false,"pushed_at":"2024-02-26T16:48:11.000Z","size":873,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-23T22:31:31.273Z","etag":null,"topics":["cosmology","data-science","galaxy-clusters","high-performance-computing","hydrodynamics","simulations"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edoaltamura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.bib","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-17T21:25:11.000Z","updated_at":"2025-02-26T16:58:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"61ef7a27-125d-4306-926b-faad8b2f97c5","html_url":"https://github.com/edoaltamura/entropy-core-problem","commit_stats":{"total_commits":39,"total_committers":1,"mean_commits":39.0,"dds":0.0,"last_synced_commit":"e094be4214477fa1e741c1d914baf129b00135b0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/edoaltamura/entropy-core-problem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoaltamura%2Fentropy-core-problem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoaltamura%2Fentropy-core-problem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoaltamura%2Fentropy-core-problem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoaltamura%2Fentropy-core-problem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edoaltamura","download_url":"https://codeload.github.com/edoaltamura/entropy-core-problem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edoaltamura%2Fentropy-core-problem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34265491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cosmology","data-science","galaxy-clusters","high-performance-computing","hydrodynamics","simulations"],"created_at":"2024-11-09T17:32:15.437Z","updated_at":"2026-06-12T22:33:13.519Z","avatar_url":"https://github.com/edoaltamura.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Entropy cores](https://img.shields.io/badge/ArXiv-2210.09978-red)\n![Entropy cores](https://img.shields.io/badge/ADS-2022arXiv221009978A-important)\n![MIT License](https://img.shields.io/github/license/edoaltamura/entropy-core-problem)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/3)\n![DiRAC](https://img.shields.io/badge/DiRAC-COSMA7-green)\n![Stargazers](https://img.shields.io/github/stars/edoaltamura/entropy-core-problem)\n![Issues](https://img.shields.io/github/issues/edoaltamura/entropy-core-problem)\n\n\u003cp align=\"center\"\u003e\n     \u003cpicture\u003e\n       \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"img/logo_light.jpg\"\u003e\n       \u003cimg alt=\"Logo\" src=\"img/logo_dark.jpg\" width=\"200\"/\u003e\n     \u003c/picture\u003e\n\u003c/p\u003e\n\n\n# The entropy core problem\n#### Data products from the study by [Altamura et al. (2022)](https://ui.adsabs.harvard.edu/abs/2022arXiv221009978A/abstract)\n\n![Profiles](img/profiles_observations.png)\n\nThe data are supplied in `hdf5` format. They can be inspectes with `h5dump`, `HDFView` and can be read programmatically using the supplied file `load_data.py`.\n\n`load_data.py` organises the data in categories through the following classes:\n- `RefModelExtendedSample`\n- `PropertiesReducedSample`\n- `ProfilesReducedSample`\n\nFor each class, the data structure is the same as in the `hdf5` files and can be navigated using class attributes. The datasets already include the units from the `unyt` module.\n\nThis is an example code to plot the profile for the group (`VR2915`) at high resolution (`+1res` in the `hdf5` file or `plus_1res` in the class instance attributes), run with the reference EAGLE-like model (`Ref`).\n```python\nfrom load_data import ProfilesReducedSample\n\nprofiles = ProfilesReducedSample()\nentropy_profile = profiles.data.VR2915_plus_1res.Ref.entropy_profile\n\n# The entropy profile is in dimensionless units, normalised to the self-similar scaling $K_{500}$ \nprint(entropy_profile)\n\n# The radial distance of the shells used to bin the particles is scaled by $r_{500}$\nradial_bin_centres = profiles.data.VR2915_plus_1res.Ref.radial_bin_centres\n\nfrom matplotlib import pyplot as plt\n\n# To display the dimensionless profile, use matplotlib\nplt.plot(radial_bin_centres, entropy_profile)\nplt.xlabel(r\"$r/r_{500}$\")\nplt.ylabel(r\"$K/K_{500}$\")\nplt.show()\n```\n\n## Data structure: `RefModelExtendedSample`\n```text\nRefModelExtendedSample()\n|\n|-- resolution_minus_8res\n|    |-- entropy_profile\n|    |-- gas_fraction\n|    |-- m500\n|    |-- radial_bin_centres\n|    |-- star_fraction\n|    |-- VR_numbers\n|\n|-- resolution_plus_1res\n     |--  ...\n```\n\n## Data structure: `PropertiesReducedSample`\n```text\nPropertiesReducedSample()\n|\n|-- redshift_0\n|    |-- VR18_minus_1res\n|    |    |-- AGNdT8\n|    |    |    |-- entropy_core\n|    |    |    |-- fbary            {Baryon fraction == fgas + fstar}\n|    |    |    |-- fgas\n|    |    |    |-- fstar\n|    |    |    |-- m500\n|    |    |    |-- mbh              {Mass of the SMBH}\n|    |    |    |-- mgas             {Mass of the hot gas inside r500}\n|    |    |    |-- mstar_100kpc     {Stellar mass of the BCG}\n|    |    |    |-- ssfr_100kpc      {1Gyr-averaged specific star-formation rate in the BCG}\n|    |    |\n|    |    |-- AGNdT9 [same fields]\n|    |    |-- Bipolar [...]\n|    |    |-- Isotropic [...]\n|    |    |-- Random [...]\n|    |    |-- Ref [...]\n|    |    |-- alpha0 [...]\n|    |    |-- noAGN [...]\n|    |    |-- noMetalCooling [...]\n|    |    |-- noSN [...]\n|    |\n|    |-- VR18_plus_8res\n|    |    |--  ...\n|    |\n|    |-- VR2915_plus_1res\n|    |    |--  ...\n|    |\n|    |-- VR2915_minus_8res\n|         |--  ...\n|\n|\n|-- redshift_1\n     |--  ...\n```\n\n## Data structure: `ProfilesReducedSample`\n```text\nProfilesReducedSample()\n|\n|-- VR18_minus_1res\n|    |-- AGNdT8\n|    |    |-- density_profile\n|    |    |-- entropy_profile\n|    |    |-- temperature_profile\n|    |    |-- radial_bin_centers\n|    |\n|    |-- AGNdT9 [same fields]\n|    |-- Bipolar [...]\n|    |-- Isotropic [...]\n|    |-- Random [...]\n|    |-- Ref [...]\n|    |-- alpha0 [...]\n|    |-- noAGN [...]\n|    |-- noMetalCooling [...]\n|    |-- noSN [...]\n|\n|-- VR18_plus_8res\n|    |--  ...\n|\n|-- VR2915_plus_1res\n|    |--  ...\n|\n|-- VR2915_minus_8res\n     |--  ...\n```\n## Raw simulation data for the simulated cluster\nThe raw data for the simulated cluster at $z=0$ run with the _Ref_ model is publicly accessible and can be downloaded from Zenodo at [this link](https://doi.org/10.5281/zenodo.8410619).\n\nIf you use these raw data files for your work, please consider citing the MNRAS paper, as well as the Zenodo dataset with this BibTeX handle:\n```text\n@dataset{edoardo_altamura_2023_8410619,\n  author       = {Edoardo Altamura},\n  title        = {{Simulated galaxy cluster data at $z=0$ demonstrating \n                   the entropy core problem with the SWIFT-EAGLE\n                   galaxy formation model}},\n  month        = oct,\n  year         = 2023,\n  note         = {{Main snapshot data: snap\\_2640.hdf5 Main catalogue \n                   data: snap\\_2640.properties}},\n  publisher    = {Zenodo},\n  version      = {1.0},\n  doi          = {10.5281/zenodo.8410619},\n  url          = {https://doi.org/10.5281/zenodo.8410619}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedoaltamura%2Fentropy-core-problem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedoaltamura%2Fentropy-core-problem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedoaltamura%2Fentropy-core-problem/lists"}