mirror of
https://github.com/Richard-Sti/csiborgtools_public.git
synced 2025-05-14 06:31:11 +00:00
Mass enclosed in a sphere calculation (#5)
* rename nb * add merge func * rm bug.. * add static methods * save rmin, rmax * add properties for box units * move radial info to the clump * add Npart explicit * move where rmin, rmax obtained * add box cosmo * add __getattr__ * add comments in units * add enclosed spherical mass * rm unused variables * add clump mass setter * add the halo index * add enclosed overdensity * add enclosed_overdensity * simplify loss func * opt result to nan * change Rs to log10 * change back to attribs * add H0 and h props * add setattrs * Remove global constants * move Msuncgs above * add crit density * add dots * add r200c and r500c * add M200 and M500 * make lowercase * output r200, r500, m200, m500 * update TODO * update README * fit NFW only up to r200 * add r178, m178 * add m178, r178 * update TODO
This commit is contained in:
parent
88e2132232
commit
ba98ecc299
9 changed files with 540 additions and 188 deletions
19
README.md
19
README.md
|
@ -1,11 +1,16 @@
|
|||
# CSiBORG analysis tools :dart:
|
||||
# CSiBORG tools
|
||||
|
||||
## TODO :scroll:
|
||||
- [ ] Calculate $M_{\rm vir}, R_{\rm vir}, c$ from $R_s, \rho_0, \ldots$
|
||||
- [ ] Calculate $M_{\rm 500c}$ by sphere shrinking
|
||||
- [ ] Calculate the cross-correlation in CSiBORG. Should see the scale of the constraints?
|
||||
## :scroll: Short-term TODO
|
||||
- [x] Calculate $M_{\rm vir}, R_{\rm vir}, c$ from $R_s, \rho_0, \ldots$
|
||||
- [x] In `NFWPosterior` correct for the radius in which particles are fitted.
|
||||
- [x] Calculate $M_{\rm 500c}$ by sphere shrinking
|
||||
- [x] Change to log10 of the scale factor
|
||||
- [ ] Calculate uncertainty on $R_{\rm s}$, switch to `JAX` and get gradients.
|
||||
|
||||
|
||||
## :hourglass: Long-term TODO
|
||||
- [ ] Improve file naming system
|
||||
- [ ] Calculate the cross-correlation in CSiBORG. Should see the scale of the constraints?
|
||||
|
||||
|
||||
## Open questions :bulb:
|
||||
- Get uncertainty on the fitted $R_{\rm s}$? If so get this directly from JAX.
|
||||
## :bulb: Open questions
|
Loading…
Add table
Add a link
Reference in a new issue