ForMoSA 2.0.1__tar.gz → 2.0.2__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.
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/__init__.py +1 -1
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA.egg-info/PKG-INFO +31 -16
- {formosa-2.0.1 → formosa-2.0.2}/PKG-INFO +31 -16
- {formosa-2.0.1 → formosa-2.0.2}/README.md +30 -15
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/analysis.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/config/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/config/global_config.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/config/paths.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/core/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/core/config.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/core/enums.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/core/errors.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/core/loggings.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/filter/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/filter/filter.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/grid/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/grid/grid_loader.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/grid/model_grid.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/grid/subgrid_base.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/grid/subgrid_photometry.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/grid/subgrid_set.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/grid/subgrid_spectroscopy.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/nested_sampling/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/nested_sampling/nested_sampling.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/nested_sampling/ns_analysis.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/nested_sampling/plotting.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/nested_sampling/results.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/observation/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/observation/observation_base.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/observation/observation_loader.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/observation/observation_photometry.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/observation/observation_set.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/observation/observation_spectroscopy.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/parameter/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/parameter/parameter.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/parameter/parameter_set.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/parameter/prior.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/transform/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/transform/apply_effects.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/transform/observed.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/transform/photometric_effects.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/transform/spectroscopic_effects.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/utils/__init__.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/utils/logL_functions.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/utils/misc.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/utils/prior_functions.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA/utils/spec.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA.egg-info/SOURCES.txt +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA.egg-info/dependency_links.txt +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA.egg-info/requires.txt +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/ForMoSA.egg-info/top_level.txt +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/LICENSE +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/docs/conf.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/pyproject.toml +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/requirements.txt +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/setup.cfg +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/tests/test_grid.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/tests/test_grid_set.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/tests/test_observation.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/tests/test_observation_set.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/tests/test_observed.py +0 -0
- {formosa-2.0.1 → formosa-2.0.2}/tests/test_parameter_set.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ForMoSA
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: ForMoSA: Forward Modeling Tool for Spectral Analysis
|
|
5
5
|
Author-email: "P. Palma-Bifani" <paulina.palma-bifani@oca.eu>, "S. Petrus" <simon.petrus.pro@gmail.com>, "M. Ravet" <matthieu.ravet@univ-grenoble-alpes.fr>, "A. Denis" <allan.denis@lam.fr>, "B. Rajpoot" <rajpoot@mpia.de>, "M. Bonnefoy" <mickael.bonnefoy@univ-grenoble-alpes.fr>, "G. Chauvin" <chauvin@mpia.de>, "A. Vigan" <arthur.vigan@lam.fr>, "A. Radcliffe" <Alice.RADCLIFFE@obspm.fr>, "K. Hoy" <kevinmhoy@gmail.com>, "P. Requejio" <prequeijo03@gmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -50,15 +50,15 @@ Requires-Dist: sphinx-copybutton>=0.5; extra == "dev"
|
|
|
50
50
|
Requires-Dist: myst-parser>=2.0; extra == "dev"
|
|
51
51
|
Dynamic: license-file
|
|
52
52
|
|
|
53
|
-
<p align="
|
|
53
|
+
<p align="center"><img src="https://github.com/exoAtmospheres/ForMoSA/blob/main/docs/_static/ForMoSA.png" alt="ForMoSA" width="250"/></p>
|
|
54
54
|
|
|
55
55
|
# ForMoSA — Forward Modeling Tool for Spectral Analysis
|
|
56
56
|
|
|
57
|
-
[](https://pypi.org/project/ForMoSA/)
|
|
58
|
+
[](https://pypistats.org/packages/formosa)
|
|
59
|
+
[](https://formosa.readthedocs.io/en/latest/?badge=latest)
|
|
60
|
+

|
|
60
61
|
[](https://deepwiki.com/exoAtmospheres/ForMoSA)
|
|
61
|
-
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
62
62
|
[](https://semaphorep.github.io/codeastro/)
|
|
63
63
|
|
|
64
64
|
ForMoSA is an open-source Python package for modeling exoplanetary atmospheres using a forward modeling approach. It compares observed spectra and photometry against grids of atmospheric models via nested sampling to derive posterior distributions on physical parameters.
|
|
@@ -69,7 +69,7 @@ ForMoSA is an open-source Python package for modeling exoplanetary atmospheres u
|
|
|
69
69
|
|
|
70
70
|
## Features
|
|
71
71
|
|
|
72
|
-
- **Class-based API**
|
|
72
|
+
- **Class-based API** centered around a single `Analysis` entry point
|
|
73
73
|
- **Multi-instrument support (MOSAIC)** — fit spectroscopic and photometric data simultaneously from multiple instruments
|
|
74
74
|
- **Three nested-sampling back-ends** — [nestle](http://kylebarbary.com/nestle/), [PyMultiNest](https://github.com/JohannesBuchner/PyMultiNest), and [UltraNest](https://johannesbuchner.github.io/UltraNest/)
|
|
75
75
|
- **High-contrast mode** — model stellar speckles and systematics alongside the companion signal
|
|
@@ -132,7 +132,7 @@ config_path = ConfigPath(
|
|
|
132
132
|
model_path="path/to/model_grid.nc",
|
|
133
133
|
)
|
|
134
134
|
|
|
135
|
-
# 2.
|
|
135
|
+
# 2. Initialize the analysis
|
|
136
136
|
analysis = Analysis(config_path)
|
|
137
137
|
|
|
138
138
|
# 3. Configure adaptation & inversion
|
|
@@ -230,7 +230,7 @@ analysis.nested_sampling(ConfigParameters(par1=["uniform","500","3000"], r=["uni
|
|
|
230
230
|
analysis.plot(analysis.ns.results)
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-
If you need the old
|
|
233
|
+
If you need the old behavior in the short term, pin to `formosa==1.1.6`.
|
|
234
234
|
|
|
235
235
|
---
|
|
236
236
|
|
|
@@ -254,9 +254,9 @@ conda install dask netCDF4 bottleneck
|
|
|
254
254
|
|
|
255
255
|
Then:
|
|
256
256
|
|
|
257
|
-
1. **Branch off `
|
|
257
|
+
1. **Branch off `ForMoSA_class`** (the integration branch), not `main`:
|
|
258
258
|
```bash
|
|
259
|
-
git checkout
|
|
259
|
+
git checkout ForMoSA_class
|
|
260
260
|
git checkout -b my-feature
|
|
261
261
|
```
|
|
262
262
|
2. **Run the test suite** before opening a pull request:
|
|
@@ -269,11 +269,9 @@ Then:
|
|
|
269
269
|
```bash
|
|
270
270
|
cd docs && make html
|
|
271
271
|
```
|
|
272
|
-
4. **Open a pull request** against `
|
|
272
|
+
4. **Open a pull request** against `ForMoSA_class` describing the change.
|
|
273
273
|
|
|
274
|
-
Releases are automated: once changes are merged and a maintainer pushes a
|
|
275
|
-
`v*` tag (e.g. `v2.0.0`), the package is built and published to PyPI and a
|
|
276
|
-
GitHub release is created automatically.
|
|
274
|
+
Releases are automated: once changes are merged and a maintainer pushes a `v*` tag (e.g. `v2.0.0`), the package is built and published to PyPI, and a GitHub release is created automatically.
|
|
277
275
|
|
|
278
276
|
---
|
|
279
277
|
|
|
@@ -285,5 +283,22 @@ If you encounter any problems, please open an issue on [GitHub](https://github.c
|
|
|
285
283
|
|
|
286
284
|
## Acknowledgments
|
|
287
285
|
|
|
288
|
-
Our sincere thanks to [Code/Astro](https://semaphorep.github.io/codeastro/).
|
|
286
|
+
Our sincere thanks to [Code/Astro](https://semaphorep.github.io/codeastro/), which provided the foundational training that enabled us to transform ForMoSA into a professional, open-source Python package.
|
|
289
287
|
|
|
288
|
+
We gratefully acknowledge the funding and support for the ForM-X workshops held in Nice (2023), Heidelberg (2024/2025), and Grenoble (2025). These collaborative sessions were instrumental in developing and refining the code. We also thank the various laboratories and institutions, especially IPAG, Lagrange, and MPIA, for their continued support.
|
|
289
|
+
|
|
290
|
+
Furthermore, this work has been supported by the French National Research Agency (ANR) through the MIRAGES project (PI: A. Vigan, ANR-20-CE31-0017). We also acknowledge support from the French National Research Agency (ANR) through the project grant ANR-20-CE31-0012.
|
|
291
|
+
|
|
292
|
+
S. Petrus was supported by an appointment to the NASA Postdoctoral Program at the NASA-Goddard Space Flight Center, administered by Oak Ridge Associated Universities under contract with NASA.
|
|
293
|
+
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## Star History
|
|
297
|
+
|
|
298
|
+
<a href="https://www.star-history.com/?repos=exoAtmospheres%2FForMoSA&type=date&legend=top-left">
|
|
299
|
+
<picture>
|
|
300
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&theme=dark&legend=top-left" />
|
|
301
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&legend=top-left" />
|
|
302
|
+
<img alt="Star History Chart" src="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&legend=top-left" />
|
|
303
|
+
</picture>
|
|
304
|
+
</a>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ForMoSA
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: ForMoSA: Forward Modeling Tool for Spectral Analysis
|
|
5
5
|
Author-email: "P. Palma-Bifani" <paulina.palma-bifani@oca.eu>, "S. Petrus" <simon.petrus.pro@gmail.com>, "M. Ravet" <matthieu.ravet@univ-grenoble-alpes.fr>, "A. Denis" <allan.denis@lam.fr>, "B. Rajpoot" <rajpoot@mpia.de>, "M. Bonnefoy" <mickael.bonnefoy@univ-grenoble-alpes.fr>, "G. Chauvin" <chauvin@mpia.de>, "A. Vigan" <arthur.vigan@lam.fr>, "A. Radcliffe" <Alice.RADCLIFFE@obspm.fr>, "K. Hoy" <kevinmhoy@gmail.com>, "P. Requejio" <prequeijo03@gmail.com>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -50,15 +50,15 @@ Requires-Dist: sphinx-copybutton>=0.5; extra == "dev"
|
|
|
50
50
|
Requires-Dist: myst-parser>=2.0; extra == "dev"
|
|
51
51
|
Dynamic: license-file
|
|
52
52
|
|
|
53
|
-
<p align="
|
|
53
|
+
<p align="center"><img src="https://github.com/exoAtmospheres/ForMoSA/blob/main/docs/_static/ForMoSA.png" alt="ForMoSA" width="250"/></p>
|
|
54
54
|
|
|
55
55
|
# ForMoSA — Forward Modeling Tool for Spectral Analysis
|
|
56
56
|
|
|
57
|
-
[](https://pypi.org/project/ForMoSA/)
|
|
58
|
+
[](https://pypistats.org/packages/formosa)
|
|
59
|
+
[](https://formosa.readthedocs.io/en/latest/?badge=latest)
|
|
60
|
+

|
|
60
61
|
[](https://deepwiki.com/exoAtmospheres/ForMoSA)
|
|
61
|
-
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
62
62
|
[](https://semaphorep.github.io/codeastro/)
|
|
63
63
|
|
|
64
64
|
ForMoSA is an open-source Python package for modeling exoplanetary atmospheres using a forward modeling approach. It compares observed spectra and photometry against grids of atmospheric models via nested sampling to derive posterior distributions on physical parameters.
|
|
@@ -69,7 +69,7 @@ ForMoSA is an open-source Python package for modeling exoplanetary atmospheres u
|
|
|
69
69
|
|
|
70
70
|
## Features
|
|
71
71
|
|
|
72
|
-
- **Class-based API**
|
|
72
|
+
- **Class-based API** centered around a single `Analysis` entry point
|
|
73
73
|
- **Multi-instrument support (MOSAIC)** — fit spectroscopic and photometric data simultaneously from multiple instruments
|
|
74
74
|
- **Three nested-sampling back-ends** — [nestle](http://kylebarbary.com/nestle/), [PyMultiNest](https://github.com/JohannesBuchner/PyMultiNest), and [UltraNest](https://johannesbuchner.github.io/UltraNest/)
|
|
75
75
|
- **High-contrast mode** — model stellar speckles and systematics alongside the companion signal
|
|
@@ -132,7 +132,7 @@ config_path = ConfigPath(
|
|
|
132
132
|
model_path="path/to/model_grid.nc",
|
|
133
133
|
)
|
|
134
134
|
|
|
135
|
-
# 2.
|
|
135
|
+
# 2. Initialize the analysis
|
|
136
136
|
analysis = Analysis(config_path)
|
|
137
137
|
|
|
138
138
|
# 3. Configure adaptation & inversion
|
|
@@ -230,7 +230,7 @@ analysis.nested_sampling(ConfigParameters(par1=["uniform","500","3000"], r=["uni
|
|
|
230
230
|
analysis.plot(analysis.ns.results)
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-
If you need the old
|
|
233
|
+
If you need the old behavior in the short term, pin to `formosa==1.1.6`.
|
|
234
234
|
|
|
235
235
|
---
|
|
236
236
|
|
|
@@ -254,9 +254,9 @@ conda install dask netCDF4 bottleneck
|
|
|
254
254
|
|
|
255
255
|
Then:
|
|
256
256
|
|
|
257
|
-
1. **Branch off `
|
|
257
|
+
1. **Branch off `ForMoSA_class`** (the integration branch), not `main`:
|
|
258
258
|
```bash
|
|
259
|
-
git checkout
|
|
259
|
+
git checkout ForMoSA_class
|
|
260
260
|
git checkout -b my-feature
|
|
261
261
|
```
|
|
262
262
|
2. **Run the test suite** before opening a pull request:
|
|
@@ -269,11 +269,9 @@ Then:
|
|
|
269
269
|
```bash
|
|
270
270
|
cd docs && make html
|
|
271
271
|
```
|
|
272
|
-
4. **Open a pull request** against `
|
|
272
|
+
4. **Open a pull request** against `ForMoSA_class` describing the change.
|
|
273
273
|
|
|
274
|
-
Releases are automated: once changes are merged and a maintainer pushes a
|
|
275
|
-
`v*` tag (e.g. `v2.0.0`), the package is built and published to PyPI and a
|
|
276
|
-
GitHub release is created automatically.
|
|
274
|
+
Releases are automated: once changes are merged and a maintainer pushes a `v*` tag (e.g. `v2.0.0`), the package is built and published to PyPI, and a GitHub release is created automatically.
|
|
277
275
|
|
|
278
276
|
---
|
|
279
277
|
|
|
@@ -285,5 +283,22 @@ If you encounter any problems, please open an issue on [GitHub](https://github.c
|
|
|
285
283
|
|
|
286
284
|
## Acknowledgments
|
|
287
285
|
|
|
288
|
-
Our sincere thanks to [Code/Astro](https://semaphorep.github.io/codeastro/).
|
|
286
|
+
Our sincere thanks to [Code/Astro](https://semaphorep.github.io/codeastro/), which provided the foundational training that enabled us to transform ForMoSA into a professional, open-source Python package.
|
|
289
287
|
|
|
288
|
+
We gratefully acknowledge the funding and support for the ForM-X workshops held in Nice (2023), Heidelberg (2024/2025), and Grenoble (2025). These collaborative sessions were instrumental in developing and refining the code. We also thank the various laboratories and institutions, especially IPAG, Lagrange, and MPIA, for their continued support.
|
|
289
|
+
|
|
290
|
+
Furthermore, this work has been supported by the French National Research Agency (ANR) through the MIRAGES project (PI: A. Vigan, ANR-20-CE31-0017). We also acknowledge support from the French National Research Agency (ANR) through the project grant ANR-20-CE31-0012.
|
|
291
|
+
|
|
292
|
+
S. Petrus was supported by an appointment to the NASA Postdoctoral Program at the NASA-Goddard Space Flight Center, administered by Oak Ridge Associated Universities under contract with NASA.
|
|
293
|
+
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## Star History
|
|
297
|
+
|
|
298
|
+
<a href="https://www.star-history.com/?repos=exoAtmospheres%2FForMoSA&type=date&legend=top-left">
|
|
299
|
+
<picture>
|
|
300
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&theme=dark&legend=top-left" />
|
|
301
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&legend=top-left" />
|
|
302
|
+
<img alt="Star History Chart" src="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&legend=top-left" />
|
|
303
|
+
</picture>
|
|
304
|
+
</a>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<p align="
|
|
1
|
+
<p align="center"><img src="https://github.com/exoAtmospheres/ForMoSA/blob/main/docs/_static/ForMoSA.png" alt="ForMoSA" width="250"/></p>
|
|
2
2
|
|
|
3
3
|
# ForMoSA — Forward Modeling Tool for Spectral Analysis
|
|
4
4
|
|
|
5
|
-
[](https://pypi.org/project/ForMoSA/)
|
|
6
|
+
[](https://pypistats.org/packages/formosa)
|
|
7
|
+
[](https://formosa.readthedocs.io/en/latest/?badge=latest)
|
|
8
|
+

|
|
8
9
|
[](https://deepwiki.com/exoAtmospheres/ForMoSA)
|
|
9
|
-
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
10
10
|
[](https://semaphorep.github.io/codeastro/)
|
|
11
11
|
|
|
12
12
|
ForMoSA is an open-source Python package for modeling exoplanetary atmospheres using a forward modeling approach. It compares observed spectra and photometry against grids of atmospheric models via nested sampling to derive posterior distributions on physical parameters.
|
|
@@ -17,7 +17,7 @@ ForMoSA is an open-source Python package for modeling exoplanetary atmospheres u
|
|
|
17
17
|
|
|
18
18
|
## Features
|
|
19
19
|
|
|
20
|
-
- **Class-based API**
|
|
20
|
+
- **Class-based API** centered around a single `Analysis` entry point
|
|
21
21
|
- **Multi-instrument support (MOSAIC)** — fit spectroscopic and photometric data simultaneously from multiple instruments
|
|
22
22
|
- **Three nested-sampling back-ends** — [nestle](http://kylebarbary.com/nestle/), [PyMultiNest](https://github.com/JohannesBuchner/PyMultiNest), and [UltraNest](https://johannesbuchner.github.io/UltraNest/)
|
|
23
23
|
- **High-contrast mode** — model stellar speckles and systematics alongside the companion signal
|
|
@@ -80,7 +80,7 @@ config_path = ConfigPath(
|
|
|
80
80
|
model_path="path/to/model_grid.nc",
|
|
81
81
|
)
|
|
82
82
|
|
|
83
|
-
# 2.
|
|
83
|
+
# 2. Initialize the analysis
|
|
84
84
|
analysis = Analysis(config_path)
|
|
85
85
|
|
|
86
86
|
# 3. Configure adaptation & inversion
|
|
@@ -178,7 +178,7 @@ analysis.nested_sampling(ConfigParameters(par1=["uniform","500","3000"], r=["uni
|
|
|
178
178
|
analysis.plot(analysis.ns.results)
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
-
If you need the old
|
|
181
|
+
If you need the old behavior in the short term, pin to `formosa==1.1.6`.
|
|
182
182
|
|
|
183
183
|
---
|
|
184
184
|
|
|
@@ -202,9 +202,9 @@ conda install dask netCDF4 bottleneck
|
|
|
202
202
|
|
|
203
203
|
Then:
|
|
204
204
|
|
|
205
|
-
1. **Branch off `
|
|
205
|
+
1. **Branch off `ForMoSA_class`** (the integration branch), not `main`:
|
|
206
206
|
```bash
|
|
207
|
-
git checkout
|
|
207
|
+
git checkout ForMoSA_class
|
|
208
208
|
git checkout -b my-feature
|
|
209
209
|
```
|
|
210
210
|
2. **Run the test suite** before opening a pull request:
|
|
@@ -217,11 +217,9 @@ Then:
|
|
|
217
217
|
```bash
|
|
218
218
|
cd docs && make html
|
|
219
219
|
```
|
|
220
|
-
4. **Open a pull request** against `
|
|
220
|
+
4. **Open a pull request** against `ForMoSA_class` describing the change.
|
|
221
221
|
|
|
222
|
-
Releases are automated: once changes are merged and a maintainer pushes a
|
|
223
|
-
`v*` tag (e.g. `v2.0.0`), the package is built and published to PyPI and a
|
|
224
|
-
GitHub release is created automatically.
|
|
222
|
+
Releases are automated: once changes are merged and a maintainer pushes a `v*` tag (e.g. `v2.0.0`), the package is built and published to PyPI, and a GitHub release is created automatically.
|
|
225
223
|
|
|
226
224
|
---
|
|
227
225
|
|
|
@@ -233,5 +231,22 @@ If you encounter any problems, please open an issue on [GitHub](https://github.c
|
|
|
233
231
|
|
|
234
232
|
## Acknowledgments
|
|
235
233
|
|
|
236
|
-
Our sincere thanks to [Code/Astro](https://semaphorep.github.io/codeastro/).
|
|
234
|
+
Our sincere thanks to [Code/Astro](https://semaphorep.github.io/codeastro/), which provided the foundational training that enabled us to transform ForMoSA into a professional, open-source Python package.
|
|
237
235
|
|
|
236
|
+
We gratefully acknowledge the funding and support for the ForM-X workshops held in Nice (2023), Heidelberg (2024/2025), and Grenoble (2025). These collaborative sessions were instrumental in developing and refining the code. We also thank the various laboratories and institutions, especially IPAG, Lagrange, and MPIA, for their continued support.
|
|
237
|
+
|
|
238
|
+
Furthermore, this work has been supported by the French National Research Agency (ANR) through the MIRAGES project (PI: A. Vigan, ANR-20-CE31-0017). We also acknowledge support from the French National Research Agency (ANR) through the project grant ANR-20-CE31-0012.
|
|
239
|
+
|
|
240
|
+
S. Petrus was supported by an appointment to the NASA Postdoctoral Program at the NASA-Goddard Space Flight Center, administered by Oak Ridge Associated Universities under contract with NASA.
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
## Star History
|
|
245
|
+
|
|
246
|
+
<a href="https://www.star-history.com/?repos=exoAtmospheres%2FForMoSA&type=date&legend=top-left">
|
|
247
|
+
<picture>
|
|
248
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&theme=dark&legend=top-left" />
|
|
249
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&legend=top-left" />
|
|
250
|
+
<img alt="Star History Chart" src="https://api.star-history.com/chart?repos=exoAtmospheres/ForMoSA&type=date&legend=top-left" />
|
|
251
|
+
</picture>
|
|
252
|
+
</a>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|