pbjcosmo 1.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pbjcosmo-1.5.0/LICENSE +21 -0
- pbjcosmo-1.5.0/PKG-INFO +153 -0
- pbjcosmo-1.5.0/README.md +116 -0
- pbjcosmo-1.5.0/pbjcosmo/PBJ.py +961 -0
- pbjcosmo-1.5.0/pbjcosmo/__init__.py +5 -0
- pbjcosmo-1.5.0/pbjcosmo/binning.py +1015 -0
- pbjcosmo-1.5.0/pbjcosmo/config_default/priors.yaml +104 -0
- pbjcosmo-1.5.0/pbjcosmo/config_default/priors_cosmo.yaml +104 -0
- pbjcosmo-1.5.0/pbjcosmo/fptplus.py +475 -0
- pbjcosmo-1.5.0/pbjcosmo/likelihood.py +2548 -0
- pbjcosmo-1.5.0/pbjcosmo/templates.py +339 -0
- pbjcosmo-1.5.0/pbjcosmo/theory/effective_3D_c0.50_dk1.00_n64_leftopen_opentri-true.txt +24432 -0
- pbjcosmo-1.5.0/pbjcosmo/theory/effective_3D_c1.00_dk1.00_n64_leftopen_opentri-true.txt +25424 -0
- pbjcosmo-1.5.0/pbjcosmo/theory/effective_3D_c1.50_dk1.00_n63_rightopen_opentri-true.txt +24305 -0
- pbjcosmo-1.5.0/pbjcosmo/theory.py +2938 -0
- pbjcosmo-1.5.0/pbjcosmo/tools/__init__.py +0 -0
- pbjcosmo-1.5.0/pbjcosmo/tools/bispectrum_functions.py +664 -0
- pbjcosmo-1.5.0/pbjcosmo/tools/cosmology.py +449 -0
- pbjcosmo-1.5.0/pbjcosmo/tools/data_handler.py +339 -0
- pbjcosmo-1.5.0/pbjcosmo/tools/param_handler.py +346 -0
- pbjcosmo-1.5.0/pbjcosmo/tools/post_process.py +387 -0
- pbjcosmo-1.5.0/pbjcosmo/tools/prior_handler.py +166 -0
- pbjcosmo-1.5.0/pyproject.toml +49 -0
pbjcosmo-1.5.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Chiara Moretti
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
pbjcosmo-1.5.0/PKG-INFO
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pbjcosmo
|
|
3
|
+
Version: 1.5.0
|
|
4
|
+
Summary: Joint analysis of galaxy power spectrum and bispectrum
|
|
5
|
+
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Author: Chiara Moretti
|
|
8
|
+
Author-email: chiara.moretti1989@gmail.com
|
|
9
|
+
Requires-Python: >=3.9,<3.13
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Provides-Extra: dev
|
|
17
|
+
Provides-Extra: likelihood
|
|
18
|
+
Provides-Extra: theory
|
|
19
|
+
Requires-Dist: MGrowth (>=0.1,<0.2) ; extra == "theory"
|
|
20
|
+
Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
|
|
21
|
+
Requires-Dist: baccoemu (==2.2.1) ; extra == "theory"
|
|
22
|
+
Requires-Dist: camb (>=1.5.4,<2.0.0)
|
|
23
|
+
Requires-Dist: emcee (>=3.1.4,<4.0.0) ; extra == "likelihood"
|
|
24
|
+
Requires-Dist: fast-pt (>=3.1.1,<4.0.0)
|
|
25
|
+
Requires-Dist: getdist (>=1.4.7,<2.0.0) ; extra == "likelihood"
|
|
26
|
+
Requires-Dist: mkdocs-material (>=9.6.12,<10.0.0) ; extra == "dev"
|
|
27
|
+
Requires-Dist: mkdocstrings[python] (>=0.29.1,<0.30.0) ; extra == "dev"
|
|
28
|
+
Requires-Dist: nautilus-sampler (>=1.0.2,<2.0.0) ; extra == "likelihood"
|
|
29
|
+
Requires-Dist: pandas (>=2.2.1,<3.0.0)
|
|
30
|
+
Requires-Dist: pocomc (>=1.0.2,<2.0.0) ; extra == "likelihood"
|
|
31
|
+
Requires-Dist: pytest (>=8.4.1,<9.0.0) ; extra == "dev"
|
|
32
|
+
Requires-Dist: pytest-cov (>=6.2.1,<7.0.0) ; extra == "dev"
|
|
33
|
+
Requires-Dist: tqdm (>=4.65.0,<5.0.0) ; extra == "likelihood"
|
|
34
|
+
Requires-Dist: ultranest (>=4.3.2,<5.0.0) ; extra == "likelihood"
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
# πͺ PBJ: Power spectrum & Bispectrum Joint analysis
|
|
38
|
+
<!-- [](https://gitlab.com/chiaramoretti/pbj/pipelines)
|
|
39
|
+
[](https://gitlab.com/chiaramoretti/pbj/-/releases)-->
|
|
40
|
+
|
|
41
|
+
[](https://gitlab.com/your-project/-/tags) <!--
|
|
42
|
+
--> [](https://chiaramoretti.gitlab.io/pbj/) <!--
|
|
43
|
+
--> [](https://chiaramoretti.gitlab.io/pbj/#contributors-) <!--
|
|
44
|
+
--> [](https://gitlab.com/chiaramoretti/pbj/-/pipelines)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
**`pbj`** is a Python package for the joint analysis of the galaxy
|
|
48
|
+
power spectrum and bispectrum from spectroscopic galaxy clustering.
|
|
49
|
+
|
|
50
|
+
*Authors*: Chiara Moretti, Andrea Oddo
|
|
51
|
+
|
|
52
|
+
**Full documentation [here](https://chiaramoretti.gitlab.io/pbj/)**
|
|
53
|
+
|
|
54
|
+
## Installation and quickstart π
|
|
55
|
+
|
|
56
|
+
See the [Installation
|
|
57
|
+
Guide](https://chiaramoretti.gitlab.io/pbj/install) for full
|
|
58
|
+
instructions on how to install, and the [Inference
|
|
59
|
+
quickstart](https://chiaramoretti.gitlab.io/pbj/inference_quickstart/)
|
|
60
|
+
for a brief introduction on how to run chains. More detailed examples
|
|
61
|
+
coming soon!
|
|
62
|
+
|
|
63
|
+
## Citing π
|
|
64
|
+
|
|
65
|
+
If you use `pbj` in your work, please use the DOI
|
|
66
|
+
[10.5281/zenodo.20048910](10.5281/zenodo.20048910) and cite the
|
|
67
|
+
following paper:
|
|
68
|
+
|
|
69
|
+
- [Moretti, C. et
|
|
70
|
+
al., JCAP12(2023)025](https://iopscience.iop.org/article/10.1088/1475-7516/2023/12/025),
|
|
71
|
+
*Modified gravity and massive neutrinos: constraints from the full
|
|
72
|
+
shape analysis of BOSS galaxies and forecasts for Stage IV surveys*
|
|
73
|
+
|
|
74
|
+
For the original implementation and modelling for the real space bispectrum:
|
|
75
|
+
|
|
76
|
+
- [Oddo et al.,
|
|
77
|
+
2020](https://ui.adsabs.harvard.edu/abs/2020JCAP...03..056O/abstract)
|
|
78
|
+
|
|
79
|
+
For the real space power spectrum and bispectrum:
|
|
80
|
+
|
|
81
|
+
- [Oddo et al.,
|
|
82
|
+
2021](https://ui.adsabs.harvard.edu/abs/2021JCAP...11..038O/abstract)
|
|
83
|
+
|
|
84
|
+
For the redshift space bispectrum:
|
|
85
|
+
|
|
86
|
+
- [Rizzo et al.,
|
|
87
|
+
2022](https://ui.adsabs.harvard.edu/abs/2022arXiv220413628R/abstract
|
|
88
|
+
)
|
|
89
|
+
|
|
90
|
+
The code has been validated and used to analyse both simulated and
|
|
91
|
+
real data already in a number of papers, a full list can be found in
|
|
92
|
+
[this ADS
|
|
93
|
+
library](https://ui.adsabs.harvard.edu/public-libraries/xQaO7O9EQ3uyqNileyLpLw)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## Contributing & Contact π€
|
|
97
|
+
|
|
98
|
+
Feel free to open an issue or a fork and then a pull request!
|
|
99
|
+
For questions, reach out to [Chiara Moretti](mailto:chiara.moretti1989@gmail.com).
|
|
100
|
+
|
|
101
|
+
## Contributors β¨
|
|
102
|
+
|
|
103
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
104
|
+
|
|
105
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
106
|
+
<!-- prettier-ignore-start -->
|
|
107
|
+
<!-- markdownlint-disable -->
|
|
108
|
+
<table>
|
|
109
|
+
<tbody>
|
|
110
|
+
<tr>
|
|
111
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/chiaramoretti"><img src="https://gitlab.com/uploads/-/system/user/avatar/5682313/avatar.png?s=100" width="100px;" alt="Chiara Moretti"/><br /><sub><b>Chiara Moretti</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Documentation">π</a> <a href="#example-chiaramoretti" title="Examples">π‘</a> <a href="#ideas-chiaramoretti" title="Ideas, Planning, & Feedback">π€</a> <a href="#infra-chiaramoretti" title="Infrastructure (Hosting, Build-Tools, etc)">π</a> <a href="#maintenance-chiaramoretti" title="Maintenance">π§</a> <a href="#mentoring-chiaramoretti" title="Mentoring">π§βπ«</a> <a href="#platform-chiaramoretti" title="Packaging/porting to new platform">π¦</a> <a href="#projectManagement-chiaramoretti" title="Project Management">π</a> <a href="#promotion-chiaramoretti" title="Promotion">π£</a> <a href="#research-chiaramoretti" title="Research">π¬</a> <a href="https://gitlab.com/Chiara Moretti/pbj/merge_requests?scope=all&state=all&approver_usernames[]=chiaramoretti" title="Reviewed Pull Requests">π</a> <a href="#talk-chiaramoretti" title="Talks">π’</a></td>
|
|
112
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/ceoliveri"><img src="https://gitlab.com/uploads/-/system/user/avatar/22042797/avatar.png?s=100" width="100px;" alt="Cecilia Oliveri"/><br /><sub><b>Cecilia Oliveri</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-ceoliveri" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-ceoliveri" title="Promotion">π£</a> <a href="#research-ceoliveri" title="Research">π¬</a> <a href="#talk-ceoliveri" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=ceoliveri" title="Bug reports">π</a></td>
|
|
113
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/esarpa"><img src="https://secure.gravatar.com/avatar/190ccd9d88fdf6327008a86a6173ad7243def2898c9c24c21ffd641897f5950a?s=80&d=identicon?s=100" width="100px;" alt="Elena Sarpa"/><br /><sub><b>Elena Sarpa</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-esarpa" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-esarpa" title="Promotion">π£</a></td>
|
|
114
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/esefusat"><img src="https://secure.gravatar.com/avatar/741dd8b559710c92545f90095c3e4829a616366658ce616a7422b8e341b624ed?s=80&d=identicon?s=100" width="100px;" alt="Emiliano Sefusatti"/><br /><sub><b>Emiliano Sefusatti</b></sub></a><br /><a href="#ideas-esefusat" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-esefusat" title="Promotion">π£</a> <a href="#talk-esefusat" title="Talks">π’</a></td>
|
|
115
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/emilio.bellini"><img src="https://secure.gravatar.com/avatar/8804e25cfbd9aebfd279c1ceee12d8edb5497c0ab129adbb5f79919c3dca4709?s=80&d=identicon?s=100" width="100px;" alt="Emilio Bellini"/><br /><sub><b>Emilio Bellini</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-emilio.bellini" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-emilio.bellini" title="Promotion">π£</a> <a href="#research-emilio.bellini" title="Research">π¬</a> <a href="#talk-emilio.bellini" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=emilio.bellini" title="Bug reports">π</a></td>
|
|
116
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/fverd"><img src="https://secure.gravatar.com/avatar/b74a6987e8e2d58c9d691050189f5164ece896a1f956a703c66c4838ede68024?s=80&d=identicon?s=100" width="100px;" alt="Francesco Verdiani"/><br /><sub><b>Francesco Verdiani</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-fverd" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-fverd" title="Promotion">π£</a> <a href="#research-fverd" title="Research">π¬</a> <a href="#talk-fverd" title="Talks">π’</a></td>
|
|
117
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/federico.montano"><img src="https://secure.gravatar.com/avatar/14776bad0325cfdc5bd36722f9296bf22cea6e4731a8cd2a9dfd14cd46c7d875?s=80&d=identicon?s=100" width="100px;" alt="Federico Montano"/><br /><sub><b>Federico Montano</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-federico.montano" title="Ideas, Planning, & Feedback">π€</a> <a href="#research-federico.montano" title="Research">π¬</a></td>
|
|
118
|
+
</tr>
|
|
119
|
+
<tr>
|
|
120
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/federico.rizzo"><img src="https://secure.gravatar.com/avatar/14d5b035cd7a67d3aee2a36b77d9a75d351cfcb809e2935e82813edc3a1096d6?s=80&d=identicon?s=100" width="100px;" alt="Federico Rizzo"/><br /><sub><b>Federico Rizzo</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#promotion-federico.rizzo" title="Promotion">π£</a> <a href="#research-federico.rizzo" title="Research">π¬</a> <a href="#data-federico.rizzo" title="Data">π£</a></td>
|
|
121
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/GiosueGambardella1998"><img src="https://secure.gravatar.com/avatar/430db604f62dfcc585e1ecb5bc1e14b656cb83a938e6b2bb0201534b33eb630c?s=80&d=identicon?s=100" width="100px;" alt="GiosuΓ¨ Gambardella"/><br /><sub><b>GiosuΓ¨ Gambardella</b></sub></a><br /><a href="#promotion-GiosueGambardella1998" title="Promotion">π£</a> <a href="#research-GiosueGambardella1998" title="Research">π¬</a> <a href="#talk-GiosueGambardella1998" title="Talks">π’</a></td>
|
|
122
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/jacoposalvalaggio"><img src="https://gitlab.com/uploads/-/system/user/avatar/10623230/avatar.png?s=100" width="100px;" alt="Jacopo Salvalaggio"/><br /><sub><b>Jacopo Salvalaggio</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=jacoposalvalaggio" title="Bug reports">π</a></td>
|
|
123
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/kpardede96"><img src="https://secure.gravatar.com/avatar/d75c82a35157e745fd56898314e01919bd8ee5eca676b63173fedf5f1ae0ddf3?s=80&d=identicon?s=100" width="100px;" alt="Kevin Pardede"/><br /><sub><b>Kevin Pardede</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-kpardede96" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-kpardede96" title="Promotion">π£</a> <a href="#research-kpardede96" title="Research">π¬</a> <a href="#talk-kpardede96" title="Talks">π’</a></td>
|
|
124
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/MariaTsedrik"><img src="https://secure.gravatar.com/avatar/562b3d91f195b526cf5f5469e2c14299fadc5cb921b9c62a57d634c46293119e?s=80&d=identicon?s=100" width="100px;" alt="Maria Tsedrik"/><br /><sub><b>Maria Tsedrik</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-MariaTsedrik" title="Ideas, Planning, & Feedback">π€</a> <a href="#mentoring-MariaTsedrik" title="Mentoring">π§βπ«</a> <a href="#promotion-MariaTsedrik" title="Promotion">π£</a> <a href="#research-MariaTsedrik" title="Research">π¬</a> <a href="#talk-MariaTsedrik" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=MariaTsedrik" title="Bug reports">π</a></td>
|
|
125
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/Yousryyy"><img src="https://secure.gravatar.com/avatar/dccaa6cd7c59457196b164ec4d8ca03913dbcede343ccb41873bba1994198adf?s=80&d=identicon?s=100" width="100px;" alt="Mohamed Elkhashab"/><br /><sub><b>Mohamed Elkhashab</b></sub></a><br /><a href="#ideas-Yousryyy" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-Yousryyy" title="Promotion">π£</a> <a href="#research-Yousryyy" title="Research">π¬</a> <a href="#talk-Yousryyy" title="Talks">π’</a></td>
|
|
126
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/pcarrilho"><img src="https://secure.gravatar.com/avatar/74eb286948240a5d6849bf609248eb0f38ae9df76ab23b178929f8042bb5249a?s=80&d=identicon?s=100" width="100px;" alt="Pedro Carrilho"/><br /><sub><b>Pedro Carrilho</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-pcarrilho" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-pcarrilho" title="Promotion">π£</a> <a href="#research-pcarrilho" title="Research">π¬</a> <a href="#talk-pcarrilho" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=pcarrilho" title="Bug reports">π</a></td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr>
|
|
129
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/sujeong-lee"><img src="https://secure.gravatar.com/avatar/502ccd6e96ebc2b8d625b627f1c150bb186279a031e7fdb54be7936016f32658?s=80&d=identicon?s=100" width="100px;" alt="Sujeong Lee"/><br /><sub><b>Sujeong Lee</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-sujeong-lee" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-sujeong-lee" title="Promotion">π£</a> <a href="#research-sujeong-lee" title="Research">π¬</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=sujeong-lee" title="Bug reports">π</a></td>
|
|
130
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/matildebs"><img src="https://secure.gravatar.com/avatar/76e01baf26278aa27b97eab2bd250cbed58d786eac879b372b7cb8f708d4a0b9?s=80&d=identicon?s=100" width="100px;" alt="matildebs"/><br /><sub><b>matildebs</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-matildebs" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-matildebs" title="Promotion">π£</a> <a href="#research-matildebs" title="Research">π¬</a> <a href="#talk-matildebs" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=matildebs" title="Bug reports">π</a></td>
|
|
131
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/ztchenustc"><img src="https://secure.gravatar.com/avatar/f7a4e34ddee1a5b45ab8d13dcb04fee77c6b520a1320fc3d09de7c40e02cdc31?s=80&d=identicon?s=100" width="100px;" alt="Zhaoting Chen"/><br /><sub><b>Zhaoting Chen</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Documentation">π</a> <a href="#research-ztchenustc" title="Research">π¬</a></td>
|
|
132
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/Asser_Elhegawy"><img src="https://gitlab.com/uploads/-/system/user/avatar/31076008/avatar.png?s=100" width="100px;" alt="Asser Elhegawy"/><br /><sub><b>Asser Elhegawy</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=Asser_Elhegawy" title="Bug reports">π</a></td>
|
|
133
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/nebblub"><img src="https://secure.gravatar.com/avatar/5bf6784c13b20208d30248fb733e68a5cfba061cebfd9267ff21faca34a2fe3b?s=80&d=identicon?s=100" width="100px;" alt="nebblu"/><br /><sub><b>nebblu</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Documentation">π</a> <a href="#research-nebblub" title="Research">π¬</a></td>
|
|
134
|
+
</tr>
|
|
135
|
+
</tbody>
|
|
136
|
+
<tfoot>
|
|
137
|
+
<tr>
|
|
138
|
+
<td align="center" size="13px" colspan="7">
|
|
139
|
+
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
140
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
141
|
+
</img>
|
|
142
|
+
</td>
|
|
143
|
+
</tr>
|
|
144
|
+
</tfoot>
|
|
145
|
+
</table>
|
|
146
|
+
|
|
147
|
+
<!-- markdownlint-restore -->
|
|
148
|
+
<!-- prettier-ignore-end -->
|
|
149
|
+
|
|
150
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
151
|
+
|
|
152
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
|
153
|
+
|
pbjcosmo-1.5.0/README.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# πͺ PBJ: Power spectrum & Bispectrum Joint analysis
|
|
2
|
+
<!-- [](https://gitlab.com/chiaramoretti/pbj/pipelines)
|
|
3
|
+
[](https://gitlab.com/chiaramoretti/pbj/-/releases)-->
|
|
4
|
+
|
|
5
|
+
[](https://gitlab.com/your-project/-/tags) <!--
|
|
6
|
+
--> [](https://chiaramoretti.gitlab.io/pbj/) <!--
|
|
7
|
+
--> [](https://chiaramoretti.gitlab.io/pbj/#contributors-) <!--
|
|
8
|
+
--> [](https://gitlab.com/chiaramoretti/pbj/-/pipelines)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
**`pbj`** is a Python package for the joint analysis of the galaxy
|
|
12
|
+
power spectrum and bispectrum from spectroscopic galaxy clustering.
|
|
13
|
+
|
|
14
|
+
*Authors*: Chiara Moretti, Andrea Oddo
|
|
15
|
+
|
|
16
|
+
**Full documentation [here](https://chiaramoretti.gitlab.io/pbj/)**
|
|
17
|
+
|
|
18
|
+
## Installation and quickstart π
|
|
19
|
+
|
|
20
|
+
See the [Installation
|
|
21
|
+
Guide](https://chiaramoretti.gitlab.io/pbj/install) for full
|
|
22
|
+
instructions on how to install, and the [Inference
|
|
23
|
+
quickstart](https://chiaramoretti.gitlab.io/pbj/inference_quickstart/)
|
|
24
|
+
for a brief introduction on how to run chains. More detailed examples
|
|
25
|
+
coming soon!
|
|
26
|
+
|
|
27
|
+
## Citing π
|
|
28
|
+
|
|
29
|
+
If you use `pbj` in your work, please use the DOI
|
|
30
|
+
[10.5281/zenodo.20048910](10.5281/zenodo.20048910) and cite the
|
|
31
|
+
following paper:
|
|
32
|
+
|
|
33
|
+
- [Moretti, C. et
|
|
34
|
+
al., JCAP12(2023)025](https://iopscience.iop.org/article/10.1088/1475-7516/2023/12/025),
|
|
35
|
+
*Modified gravity and massive neutrinos: constraints from the full
|
|
36
|
+
shape analysis of BOSS galaxies and forecasts for Stage IV surveys*
|
|
37
|
+
|
|
38
|
+
For the original implementation and modelling for the real space bispectrum:
|
|
39
|
+
|
|
40
|
+
- [Oddo et al.,
|
|
41
|
+
2020](https://ui.adsabs.harvard.edu/abs/2020JCAP...03..056O/abstract)
|
|
42
|
+
|
|
43
|
+
For the real space power spectrum and bispectrum:
|
|
44
|
+
|
|
45
|
+
- [Oddo et al.,
|
|
46
|
+
2021](https://ui.adsabs.harvard.edu/abs/2021JCAP...11..038O/abstract)
|
|
47
|
+
|
|
48
|
+
For the redshift space bispectrum:
|
|
49
|
+
|
|
50
|
+
- [Rizzo et al.,
|
|
51
|
+
2022](https://ui.adsabs.harvard.edu/abs/2022arXiv220413628R/abstract
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
The code has been validated and used to analyse both simulated and
|
|
55
|
+
real data already in a number of papers, a full list can be found in
|
|
56
|
+
[this ADS
|
|
57
|
+
library](https://ui.adsabs.harvard.edu/public-libraries/xQaO7O9EQ3uyqNileyLpLw)
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## Contributing & Contact π€
|
|
61
|
+
|
|
62
|
+
Feel free to open an issue or a fork and then a pull request!
|
|
63
|
+
For questions, reach out to [Chiara Moretti](mailto:chiara.moretti1989@gmail.com).
|
|
64
|
+
|
|
65
|
+
## Contributors β¨
|
|
66
|
+
|
|
67
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
68
|
+
|
|
69
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
70
|
+
<!-- prettier-ignore-start -->
|
|
71
|
+
<!-- markdownlint-disable -->
|
|
72
|
+
<table>
|
|
73
|
+
<tbody>
|
|
74
|
+
<tr>
|
|
75
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/chiaramoretti"><img src="https://gitlab.com/uploads/-/system/user/avatar/5682313/avatar.png?s=100" width="100px;" alt="Chiara Moretti"/><br /><sub><b>Chiara Moretti</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Documentation">π</a> <a href="#example-chiaramoretti" title="Examples">π‘</a> <a href="#ideas-chiaramoretti" title="Ideas, Planning, & Feedback">π€</a> <a href="#infra-chiaramoretti" title="Infrastructure (Hosting, Build-Tools, etc)">π</a> <a href="#maintenance-chiaramoretti" title="Maintenance">π§</a> <a href="#mentoring-chiaramoretti" title="Mentoring">π§βπ«</a> <a href="#platform-chiaramoretti" title="Packaging/porting to new platform">π¦</a> <a href="#projectManagement-chiaramoretti" title="Project Management">π</a> <a href="#promotion-chiaramoretti" title="Promotion">π£</a> <a href="#research-chiaramoretti" title="Research">π¬</a> <a href="https://gitlab.com/Chiara Moretti/pbj/merge_requests?scope=all&state=all&approver_usernames[]=chiaramoretti" title="Reviewed Pull Requests">π</a> <a href="#talk-chiaramoretti" title="Talks">π’</a></td>
|
|
76
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/ceoliveri"><img src="https://gitlab.com/uploads/-/system/user/avatar/22042797/avatar.png?s=100" width="100px;" alt="Cecilia Oliveri"/><br /><sub><b>Cecilia Oliveri</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-ceoliveri" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-ceoliveri" title="Promotion">π£</a> <a href="#research-ceoliveri" title="Research">π¬</a> <a href="#talk-ceoliveri" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=ceoliveri" title="Bug reports">π</a></td>
|
|
77
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/esarpa"><img src="https://secure.gravatar.com/avatar/190ccd9d88fdf6327008a86a6173ad7243def2898c9c24c21ffd641897f5950a?s=80&d=identicon?s=100" width="100px;" alt="Elena Sarpa"/><br /><sub><b>Elena Sarpa</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-esarpa" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-esarpa" title="Promotion">π£</a></td>
|
|
78
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/esefusat"><img src="https://secure.gravatar.com/avatar/741dd8b559710c92545f90095c3e4829a616366658ce616a7422b8e341b624ed?s=80&d=identicon?s=100" width="100px;" alt="Emiliano Sefusatti"/><br /><sub><b>Emiliano Sefusatti</b></sub></a><br /><a href="#ideas-esefusat" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-esefusat" title="Promotion">π£</a> <a href="#talk-esefusat" title="Talks">π’</a></td>
|
|
79
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/emilio.bellini"><img src="https://secure.gravatar.com/avatar/8804e25cfbd9aebfd279c1ceee12d8edb5497c0ab129adbb5f79919c3dca4709?s=80&d=identicon?s=100" width="100px;" alt="Emilio Bellini"/><br /><sub><b>Emilio Bellini</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-emilio.bellini" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-emilio.bellini" title="Promotion">π£</a> <a href="#research-emilio.bellini" title="Research">π¬</a> <a href="#talk-emilio.bellini" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=emilio.bellini" title="Bug reports">π</a></td>
|
|
80
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/fverd"><img src="https://secure.gravatar.com/avatar/b74a6987e8e2d58c9d691050189f5164ece896a1f956a703c66c4838ede68024?s=80&d=identicon?s=100" width="100px;" alt="Francesco Verdiani"/><br /><sub><b>Francesco Verdiani</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-fverd" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-fverd" title="Promotion">π£</a> <a href="#research-fverd" title="Research">π¬</a> <a href="#talk-fverd" title="Talks">π’</a></td>
|
|
81
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/federico.montano"><img src="https://secure.gravatar.com/avatar/14776bad0325cfdc5bd36722f9296bf22cea6e4731a8cd2a9dfd14cd46c7d875?s=80&d=identicon?s=100" width="100px;" alt="Federico Montano"/><br /><sub><b>Federico Montano</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-federico.montano" title="Ideas, Planning, & Feedback">π€</a> <a href="#research-federico.montano" title="Research">π¬</a></td>
|
|
82
|
+
</tr>
|
|
83
|
+
<tr>
|
|
84
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/federico.rizzo"><img src="https://secure.gravatar.com/avatar/14d5b035cd7a67d3aee2a36b77d9a75d351cfcb809e2935e82813edc3a1096d6?s=80&d=identicon?s=100" width="100px;" alt="Federico Rizzo"/><br /><sub><b>Federico Rizzo</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#promotion-federico.rizzo" title="Promotion">π£</a> <a href="#research-federico.rizzo" title="Research">π¬</a> <a href="#data-federico.rizzo" title="Data">π£</a></td>
|
|
85
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/GiosueGambardella1998"><img src="https://secure.gravatar.com/avatar/430db604f62dfcc585e1ecb5bc1e14b656cb83a938e6b2bb0201534b33eb630c?s=80&d=identicon?s=100" width="100px;" alt="GiosuΓ¨ Gambardella"/><br /><sub><b>GiosuΓ¨ Gambardella</b></sub></a><br /><a href="#promotion-GiosueGambardella1998" title="Promotion">π£</a> <a href="#research-GiosueGambardella1998" title="Research">π¬</a> <a href="#talk-GiosueGambardella1998" title="Talks">π’</a></td>
|
|
86
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/jacoposalvalaggio"><img src="https://gitlab.com/uploads/-/system/user/avatar/10623230/avatar.png?s=100" width="100px;" alt="Jacopo Salvalaggio"/><br /><sub><b>Jacopo Salvalaggio</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=jacoposalvalaggio" title="Bug reports">π</a></td>
|
|
87
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/kpardede96"><img src="https://secure.gravatar.com/avatar/d75c82a35157e745fd56898314e01919bd8ee5eca676b63173fedf5f1ae0ddf3?s=80&d=identicon?s=100" width="100px;" alt="Kevin Pardede"/><br /><sub><b>Kevin Pardede</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-kpardede96" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-kpardede96" title="Promotion">π£</a> <a href="#research-kpardede96" title="Research">π¬</a> <a href="#talk-kpardede96" title="Talks">π’</a></td>
|
|
88
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/MariaTsedrik"><img src="https://secure.gravatar.com/avatar/562b3d91f195b526cf5f5469e2c14299fadc5cb921b9c62a57d634c46293119e?s=80&d=identicon?s=100" width="100px;" alt="Maria Tsedrik"/><br /><sub><b>Maria Tsedrik</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-MariaTsedrik" title="Ideas, Planning, & Feedback">π€</a> <a href="#mentoring-MariaTsedrik" title="Mentoring">π§βπ«</a> <a href="#promotion-MariaTsedrik" title="Promotion">π£</a> <a href="#research-MariaTsedrik" title="Research">π¬</a> <a href="#talk-MariaTsedrik" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=MariaTsedrik" title="Bug reports">π</a></td>
|
|
89
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/Yousryyy"><img src="https://secure.gravatar.com/avatar/dccaa6cd7c59457196b164ec4d8ca03913dbcede343ccb41873bba1994198adf?s=80&d=identicon?s=100" width="100px;" alt="Mohamed Elkhashab"/><br /><sub><b>Mohamed Elkhashab</b></sub></a><br /><a href="#ideas-Yousryyy" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-Yousryyy" title="Promotion">π£</a> <a href="#research-Yousryyy" title="Research">π¬</a> <a href="#talk-Yousryyy" title="Talks">π’</a></td>
|
|
90
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/pcarrilho"><img src="https://secure.gravatar.com/avatar/74eb286948240a5d6849bf609248eb0f38ae9df76ab23b178929f8042bb5249a?s=80&d=identicon?s=100" width="100px;" alt="Pedro Carrilho"/><br /><sub><b>Pedro Carrilho</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-pcarrilho" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-pcarrilho" title="Promotion">π£</a> <a href="#research-pcarrilho" title="Research">π¬</a> <a href="#talk-pcarrilho" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=pcarrilho" title="Bug reports">π</a></td>
|
|
91
|
+
</tr>
|
|
92
|
+
<tr>
|
|
93
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/sujeong-lee"><img src="https://secure.gravatar.com/avatar/502ccd6e96ebc2b8d625b627f1c150bb186279a031e7fdb54be7936016f32658?s=80&d=identicon?s=100" width="100px;" alt="Sujeong Lee"/><br /><sub><b>Sujeong Lee</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-sujeong-lee" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-sujeong-lee" title="Promotion">π£</a> <a href="#research-sujeong-lee" title="Research">π¬</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=sujeong-lee" title="Bug reports">π</a></td>
|
|
94
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/matildebs"><img src="https://secure.gravatar.com/avatar/76e01baf26278aa27b97eab2bd250cbed58d786eac879b372b7cb8f708d4a0b9?s=80&d=identicon?s=100" width="100px;" alt="matildebs"/><br /><sub><b>matildebs</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="#ideas-matildebs" title="Ideas, Planning, & Feedback">π€</a> <a href="#promotion-matildebs" title="Promotion">π£</a> <a href="#research-matildebs" title="Research">π¬</a> <a href="#talk-matildebs" title="Talks">π’</a> <a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=matildebs" title="Bug reports">π</a></td>
|
|
95
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/ztchenustc"><img src="https://secure.gravatar.com/avatar/f7a4e34ddee1a5b45ab8d13dcb04fee77c6b520a1320fc3d09de7c40e02cdc31?s=80&d=identicon?s=100" width="100px;" alt="Zhaoting Chen"/><br /><sub><b>Zhaoting Chen</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Documentation">π</a> <a href="#research-ztchenustc" title="Research">π¬</a></td>
|
|
96
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/Asser_Elhegawy"><img src="https://gitlab.com/uploads/-/system/user/avatar/31076008/avatar.png?s=100" width="100px;" alt="Asser Elhegawy"/><br /><sub><b>Asser Elhegawy</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/issues?author_username=Asser_Elhegawy" title="Bug reports">π</a></td>
|
|
97
|
+
<td align="center" valign="top" width="14.28%"><a href="https://gitlab.com/nebblub"><img src="https://secure.gravatar.com/avatar/5bf6784c13b20208d30248fb733e68a5cfba061cebfd9267ff21faca34a2fe3b?s=80&d=identicon?s=100" width="100px;" alt="nebblu"/><br /><sub><b>nebblu</b></sub></a><br /><a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Code">π»</a> <a href="https://gitlab.com/Chiara Moretti/pbj/commits/master" title="Documentation">π</a> <a href="#research-nebblub" title="Research">π¬</a></td>
|
|
98
|
+
</tr>
|
|
99
|
+
</tbody>
|
|
100
|
+
<tfoot>
|
|
101
|
+
<tr>
|
|
102
|
+
<td align="center" size="13px" colspan="7">
|
|
103
|
+
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
104
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
105
|
+
</img>
|
|
106
|
+
</td>
|
|
107
|
+
</tr>
|
|
108
|
+
</tfoot>
|
|
109
|
+
</table>
|
|
110
|
+
|
|
111
|
+
<!-- markdownlint-restore -->
|
|
112
|
+
<!-- prettier-ignore-end -->
|
|
113
|
+
|
|
114
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
115
|
+
|
|
116
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|