mc3 3.1.4__tar.gz → 3.2.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.
- mc3-3.2.0/.readthedocs.yml +19 -0
- {mc3-3.1.4 → mc3-3.2.0}/MANIFEST.in +2 -0
- mc3-3.2.0/Makefile +46 -0
- {mc3-3.1.4 → mc3-3.2.0}/PKG-INFO +3 -3
- {mc3-3.1.4 → mc3-3.2.0}/docs/conf.py +4 -1
- {mc3-3.1.4 → mc3-3.2.0}/docs/get_started.rst +1 -1
- {mc3-3.1.4 → mc3-3.2.0}/docs/index.rst +1 -1
- {mc3-3.1.4 → mc3-3.2.0}/mc3/version.py +2 -2
- {mc3-3.1.4 → mc3-3.2.0}/mc3.egg-info/PKG-INFO +3 -3
- {mc3-3.1.4 → mc3-3.2.0}/mc3.egg-info/SOURCES.txt +1 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3.egg-info/requires.txt +1 -1
- {mc3-3.1.4 → mc3-3.2.0}/pyproject.toml +4 -5
- {mc3-3.1.4 → mc3-3.2.0}/requirements.txt +1 -1
- {mc3-3.1.4 → mc3-3.2.0}/setup.py +2 -2
- mc3-3.1.4/.readthedocs.yml +0 -11
- {mc3-3.1.4 → mc3-3.2.0}/CONTRIBUTING.md +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/LICENSE +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/README.md +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/Makefile +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/api.rst +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/contributing.rst +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/figures/quad_bestfit.png +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/figures/quad_fitting.png +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/figures/quad_hist.png +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/figures/quad_pairwise.png +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/figures/quad_trace.png +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/figures/rms-vs-binsize.png +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/fit_tutorial.rst +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/license.rst +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/make.bat +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/mcmc_tutorial.rst +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/references.rst +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/docs/time_averaging.rst +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/examples/get_started.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/examples/timeavg.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/examples/tutorial.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/__init__.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/__main__.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/chain.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/fit_driver.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/mcmc_driver.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/plots/__init__.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/plots/colors.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/plots/plot_functions.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/plots/posterior.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/sampler_driver.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/stats/__init__.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/stats/gelman.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/stats/prayer.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/stats/stats.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/stats/time_averaging.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/utils/__init__.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/utils/log.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3/utils/utils.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3.egg-info/dependency_links.txt +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3.egg-info/entry_points.txt +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/mc3.egg-info/top_level.txt +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/pytest.ini +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/setup.cfg +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/src_c/_binarray.c +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/src_c/_chisq.c +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/src_c/_dwt.c +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/src_c/_time_averaging.c +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/src_c/include/ind.h +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/src_c/include/stats.h +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/src_c/include/wavelet.h +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/tests/test_fit.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/tests/test_logging.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/tests/test_mcmc.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/tests/test_plots.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/tests/test_stats.py +0 -0
- {mc3-3.1.4 → mc3-3.2.0}/tests/test_utils.py +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
|
|
3
|
+
build:
|
|
4
|
+
os: "ubuntu-22.04"
|
|
5
|
+
tools:
|
|
6
|
+
python: "3.11"
|
|
7
|
+
|
|
8
|
+
# Build documentation in the docs/ directory with Sphinx
|
|
9
|
+
sphinx:
|
|
10
|
+
configuration: docs/conf.py
|
|
11
|
+
|
|
12
|
+
python:
|
|
13
|
+
install:
|
|
14
|
+
- requirements: requirements.txt
|
|
15
|
+
- requirements: docs/docs_requirements.txt
|
|
16
|
+
- method: pip
|
|
17
|
+
path: .
|
|
18
|
+
|
|
19
|
+
|
mc3-3.2.0/Makefile
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Makefile - prepared for MC3
|
|
2
|
+
#
|
|
3
|
+
# `make` - Build and compile the MC3 executable and python extension..
|
|
4
|
+
# `make clean` - Remove all compiled (non-source) files that are created.
|
|
5
|
+
|
|
6
|
+
# If you are interested in the commands being run by this makefile, you may add
|
|
7
|
+
# "VERBOSE=1" to the end of any `make` command, i.e.:
|
|
8
|
+
# make VERBOSE=1
|
|
9
|
+
# This will display the exact commands being used for building, etc.
|
|
10
|
+
|
|
11
|
+
# To enforce compilation with Python3 append "PY3=1" to the make command:
|
|
12
|
+
# make PY3=1
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
LIBDIR = mc3/lib/
|
|
16
|
+
|
|
17
|
+
# Set verbosity
|
|
18
|
+
#
|
|
19
|
+
Q = @
|
|
20
|
+
O = > /dev/null
|
|
21
|
+
|
|
22
|
+
ifdef VERBOSE
|
|
23
|
+
ifeq ("$(origin VERBOSE)", "command line")
|
|
24
|
+
Q =
|
|
25
|
+
O =
|
|
26
|
+
endif
|
|
27
|
+
else
|
|
28
|
+
MAKEFLAGS += --no-print-directory
|
|
29
|
+
endif
|
|
30
|
+
|
|
31
|
+
DIRECTIVE =
|
|
32
|
+
ifdef PY3
|
|
33
|
+
ifeq ("$(origin PY3)", "command line")
|
|
34
|
+
DIRECTIVE = 3
|
|
35
|
+
endif
|
|
36
|
+
endif
|
|
37
|
+
|
|
38
|
+
all:
|
|
39
|
+
@echo "Building MC3 package."
|
|
40
|
+
$(Q) python$(DIRECTIVE) setup.py build $(O)
|
|
41
|
+
@mv -f build/lib.*/$(LIBDIR)*.so ./$(LIBDIR)
|
|
42
|
+
@rm -rf build/
|
|
43
|
+
@echo "Successful compilation."
|
|
44
|
+
@echo ""
|
|
45
|
+
clean:
|
|
46
|
+
@rm -rf $(LIBDIR)*.so
|
{mc3-3.1.4 → mc3-3.2.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mc3
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2.0
|
|
4
4
|
Summary: Multi-core Markov-chain Monte Carlo package
|
|
5
5
|
Author-email: Patricio Cubillos <patricio.cubillos@oeaw.ac.at>
|
|
6
6
|
License: Copyright (c) 2015-2022 Patricio Cubillos and contributors.
|
|
@@ -24,10 +24,10 @@ License: Copyright (c) 2015-2022 Patricio Cubillos and contributors.
|
|
|
24
24
|
THE SOFTWARE.
|
|
25
25
|
|
|
26
26
|
Project-URL: Homepage, https://github.com/pcubillos/mc3
|
|
27
|
-
Requires-Python: >=3.
|
|
27
|
+
Requires-Python: >=3.9
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
29
29
|
License-File: LICENSE
|
|
30
|
-
Requires-Dist: numpy>=1.
|
|
30
|
+
Requires-Dist: numpy>=1.23.5
|
|
31
31
|
Requires-Dist: scipy>=1.5.4
|
|
32
32
|
Requires-Dist: matplotlib>=3.3.4
|
|
33
33
|
Provides-Extra: test
|
|
@@ -37,6 +37,9 @@ extensions = [
|
|
|
37
37
|
'sphinx.ext.autodoc',
|
|
38
38
|
'sphinx.ext.mathjax',
|
|
39
39
|
'sphinx.ext.viewcode',
|
|
40
|
+
'IPython.sphinxext.ipython_console_highlighting',
|
|
41
|
+
'nbsphinx',
|
|
42
|
+
"sphinx_copybutton",
|
|
40
43
|
]
|
|
41
44
|
|
|
42
45
|
# Add any paths that contain templates here, relative to this directory.
|
|
@@ -72,7 +75,7 @@ release = mc3.__version__
|
|
|
72
75
|
#
|
|
73
76
|
# This is also used if you do content translation via gettext catalogs.
|
|
74
77
|
# Usually you set "language" from the command line for these cases.
|
|
75
|
-
language =
|
|
78
|
+
language = 'en'
|
|
76
79
|
|
|
77
80
|
# There are two options for replacing |today|: either, you set today to some
|
|
78
81
|
# non-false value, then it is used:
|
|
@@ -6,7 +6,7 @@ Getting Started
|
|
|
6
6
|
System Requirements
|
|
7
7
|
-------------------
|
|
8
8
|
|
|
9
|
-
``mc3`` is compatible with Python 3.
|
|
9
|
+
``mc3`` is compatible with Python 3.9+, and has been `tested
|
|
10
10
|
<https://github.com/pcubillos/mc3/actions/workflows/python-package.yml>`_ to work on Unix/Linux and OS X machines.
|
|
11
11
|
|
|
12
12
|
Install
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mc3
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2.0
|
|
4
4
|
Summary: Multi-core Markov-chain Monte Carlo package
|
|
5
5
|
Author-email: Patricio Cubillos <patricio.cubillos@oeaw.ac.at>
|
|
6
6
|
License: Copyright (c) 2015-2022 Patricio Cubillos and contributors.
|
|
@@ -24,10 +24,10 @@ License: Copyright (c) 2015-2022 Patricio Cubillos and contributors.
|
|
|
24
24
|
THE SOFTWARE.
|
|
25
25
|
|
|
26
26
|
Project-URL: Homepage, https://github.com/pcubillos/mc3
|
|
27
|
-
Requires-Python: >=3.
|
|
27
|
+
Requires-Python: >=3.9
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
29
29
|
License-File: LICENSE
|
|
30
|
-
Requires-Dist: numpy>=1.
|
|
30
|
+
Requires-Dist: numpy>=1.23.5
|
|
31
31
|
Requires-Dist: scipy>=1.5.4
|
|
32
32
|
Requires-Dist: matplotlib>=3.3.4
|
|
33
33
|
Provides-Extra: test
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
[build-system]
|
|
2
2
|
requires = [
|
|
3
|
-
'setuptools
|
|
4
|
-
'
|
|
5
|
-
'oldest-supported-numpy',
|
|
3
|
+
'setuptools',
|
|
4
|
+
'numpy>=2.0.0',
|
|
6
5
|
]
|
|
7
6
|
build-backend = "setuptools.build_meta"
|
|
8
7
|
|
|
@@ -15,13 +14,13 @@ license = { file = "LICENSE" }
|
|
|
15
14
|
#https://packaging.python.org/en/latest/guides/single-sourcing-package-version/
|
|
16
15
|
dynamic = ["version"]
|
|
17
16
|
|
|
18
|
-
requires-python = ">=3.
|
|
17
|
+
requires-python = ">=3.9"
|
|
19
18
|
authors = [
|
|
20
19
|
{name = "Patricio Cubillos", email = "patricio.cubillos@oeaw.ac.at"},
|
|
21
20
|
]
|
|
22
21
|
|
|
23
22
|
dependencies = [
|
|
24
|
-
'numpy>=1.
|
|
23
|
+
'numpy>=1.23.5',
|
|
25
24
|
'scipy>=1.5.4',
|
|
26
25
|
'matplotlib>=3.3.4',
|
|
27
26
|
]
|
{mc3-3.1.4 → mc3-3.2.0}/setup.py
RENAMED
|
@@ -17,8 +17,8 @@ cfiles = list(filter(lambda x: re.search('.+[.]c$', x), cfiles))
|
|
|
17
17
|
cfiles = list(filter(lambda x: not re.search('[.#].+[.]c$', x), cfiles))
|
|
18
18
|
|
|
19
19
|
inc = [get_include(), incdir]
|
|
20
|
-
eca = ['-O3', '-ffast-math']
|
|
21
|
-
ela = []
|
|
20
|
+
eca = ['-lm', '-O3', '-ffast-math']
|
|
21
|
+
ela = ['-lm']
|
|
22
22
|
|
|
23
23
|
extensions = [
|
|
24
24
|
Extension(
|
mc3-3.1.4/.readthedocs.yml
DELETED
|
File without changes
|
{mc3-3.1.4 → mc3-3.2.0}/LICENSE
RENAMED
|
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
|