HealPixPrior (Resloves Issue #419)
-
Review changes -
-
Download -
Patches
-
Plain diff
Hi all, This MR introduces a HealPixMapPriorDist
object to be used to create a 2D or 3D joint prior in ra/dec (ra/dec/distance) according to a passed in HealPix map or .fits file to address and resolve issue #419 (closed).
This PriorObject inherits from BaseJointPriorDist and needs to overwrite three methods (_rescale(), _sample(), and _lnprob())
To illustrate this is working I sample 5000 samples from the prior and show below that these samples are distribvuted according to whats in the HealPix Map .fits file.
Here I show that the _rescale() method is also working by generating 5000 samples uniformly on [0,1] then rescale to the HealPixPrior which also matches with what is in the map file.
Edited by Bruce Edelman
Merge request reports
Compare and
Show latest version
- version 3885c9ab7b
- version 3714ee918e
- version 3613030179
- version 35552a6ddc
- version 344df5fd9a
- version 3379ae7608
- version 32275ea0ee
- version 3186a20898
- version 30e85f120d
- version 29c8aaa531
- version 28edbe0001
- version 271971448d
- version 26532d2432
- version 256c81650f
- version 2492a907d3
- version 23099ce8e3
- version 2241d50a38
- version 211e67614b
- version 201acee00f
- version 19d402d097
- version 18bc585f4c
- version 17cda39f7f
- version 16dc007628
- version 15b81b6be3
- version 14834493b5
- version 13c67aaf05
- version 123dce97fb
- version 11f10ca006
- version 100e231a7e
- version 9a7ee0822
- version 85954ccbc
- version 7c8c79969
- version 6eb239390
- version 5c98091e5
- version 48f4c440f
- version 31d38fbd5
- version 2e2fd11f4
- version 189f69cd2
- master (base)
- latest version7d40cec3172 commits,
- version 3885c9ab7b171 commits,
- version 3714ee918e170 commits,
- version 3613030179169 commits,
- version 35552a6ddc168 commits,
- version 344df5fd9a167 commits,
- version 3379ae7608166 commits,
- version 32275ea0ee165 commits,
- version 3186a20898164 commits,
- version 30e85f120d163 commits,
- version 29c8aaa531162 commits,
- version 28edbe0001161 commits,
- version 271971448d160 commits,
- version 26532d2432159 commits,
- version 256c81650f158 commits,
- version 2492a907d3157 commits,
- version 23099ce8e3156 commits,
- version 2241d50a38155 commits,
- version 211e67614b154 commits,
- version 201acee00f152 commits,
- version 19d402d097151 commits,
- version 18bc585f4c149 commits,
- version 17cda39f7f148 commits,
- version 16dc007628147 commits,
- version 15b81b6be3146 commits,
- version 14834493b5145 commits,
- version 13c67aaf05131 commits,
- version 123dce97fb130 commits,
- version 11f10ca006129 commits,
- version 100e231a7e128 commits,
- version 9a7ee0822126 commits,
- version 85954ccbc125 commits,
- version 7c8c79969124 commits,
- version 6eb239390123 commits,
- version 5c98091e5121 commits,
- version 48f4c440f120 commits,
- version 31d38fbd5119 commits,
- version 2e2fd11f4118 commits,
- version 189f69cd2117 commits,
2 files
+ 4
− 2
Compare changes
- Side-by-side
- Inline
Files
2+ 0
− 0
GW150914_testing_skymap.fits
DownloadLoading