Skip to content

Commit

Permalink
Merge 8aa5304 into 774bd43
Browse files Browse the repository at this point in the history
  • Loading branch information
vitenti committed Feb 15, 2023
2 parents 774bd43 + 8aa5304 commit ec87cc2
Show file tree
Hide file tree
Showing 82 changed files with 4,532 additions and 78,644 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
with:
name: release
path: numcosmo-*.tar.gz
- name: Ensure clear Jupyter Notebooks
uses: ResearchSoftwareActions/EnsureCleanNotebooksAction@1.1

coveralls-gcc-ubuntu:

Expand Down Expand Up @@ -94,3 +96,5 @@ jobs:
run: make -j8
- name: make check
run: make check -j8
- name: Ensure clear Jupyter Notebooks
uses: ResearchSoftwareActions/EnsureCleanNotebooksAction@1.1
1 change: 1 addition & 0 deletions docs/numcosmo-docs.sgml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
<xi:include href="xml/ncm_data_gauss_cov_mvnd.xml"/>
<xi:include href="xml/ncm_model_rosenbrock.xml"/>
<xi:include href="xml/ncm_data_rosenbrock.xml"/>
<xi:include href="xml/ncm_data_gaussmix2d.xml"/>
<xi:include href="xml/ncm_model_funnel.xml"/>
<xi:include href="xml/ncm_data_funnel.xml"/>
</section>
Expand Down
42 changes: 42 additions & 0 deletions examples/example_apes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/usr/bin/env python
#
# example_apes.py
#
# Wed Feb 8 10:00:00 2023
# Copyright 2023 Sandro Dias Pinto Vitenti
# <vitenti@uel.br>
#
# example_apes.py
# Copyright (C) 2023 Sandro Dias Pinto Vitenti <vitenti@uel.br>
#
# numcosmo is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# numcosmo is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.

"""Example of using the APES MCMC sampler on test posteriors."""

import typer
from numcosmo_py import Ncm
from numcosmo_py.experiments.rosenbrock import run_rosenbrock_mcmc
from numcosmo_py.experiments.gaussmix2d import run_gaussmix2d_mcmc
from numcosmo_py.experiments.funnel import run_funnel_mcmc


Ncm.cfg_init()
app = typer.Typer()

app.command()(run_rosenbrock_mcmc)
app.command()(run_gaussmix2d_mcmc)
app.command()(run_funnel_mcmc)

if __name__ == "__main__":
app()
154 changes: 0 additions & 154 deletions examples/example_rosenbrock.py

This file was deleted.

67 changes: 11 additions & 56 deletions notebooks/CLMM_backend_comp.ipynb

Large diffs are not rendered by default.

131 changes: 14 additions & 117 deletions notebooks/FisherMatrixExample.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit ec87cc2

Please sign in to comment.