Skip to content

Add central field to weighted lightcone and set nhalos_host=1 for centrals#37

Merged
aphearin merged 1 commit into
mainfrom
subhalo_weights_bugfix
May 3, 2026
Merged

Add central field to weighted lightcone and set nhalos_host=1 for centrals#37
aphearin merged 1 commit into
mainfrom
subhalo_weights_bugfix

Conversation

@aphearin
Copy link
Copy Markdown
Contributor

Add central field to weighted lightcone and set nhalos_host=1 for centrals. The change to the value of nhalos_host simplifies downstream calculations of weighted photometry: with this update, the appropriate weight to use for weighted histograms is halopop.nhalos*halopop.nhalos_host.

@aphearin aphearin merged commit 6544121 into main May 3, 2026
5 checks passed
@aphearin aphearin deleted the subhalo_weights_bugfix branch May 3, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants