From 51a02ffbaa79307c5145d631713a0251973f4b87 Mon Sep 17 00:00:00 2001 From: Dave Whipp Date: Wed, 17 Sep 2025 14:15:21 +0300 Subject: [PATCH 1/2] Fix MCMC example parameters --- src/tc1d/tc1d.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tc1d/tc1d.py b/src/tc1d/tc1d.py index 06c0cbf..b0d8f71 100644 --- a/src/tc1d/tc1d.py +++ b/src/tc1d/tc1d.py @@ -2600,8 +2600,8 @@ def batch_run_mcmc(params, batch_params): # BG: MCMC setup - number of walkers and initial positions sampled from uniform priors nwalkers = 16 - nsteps = 20 - discard = 3 + nsteps = 200 + discard = 30 thin = 3 p0 = [ @@ -5064,5 +5064,4 @@ def run_model(params): # Returns misfit for inverse_mode if "misfit" in locals(): - # print(f"- Returning misfit: {misfit}") return misfit From 4643ee77b518af90808e8570eec02f3e7ab37e97 Mon Sep 17 00:00:00 2001 From: Dave Whipp Date: Mon, 22 Sep 2025 14:56:16 +0300 Subject: [PATCH 2/2] Update Binder link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d6476e6..a40bfbc 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Tests](https://github.com/HUGG/TC1D/actions/workflows/run-tests.yml/badge.svg)](https://github.com/HUGG/TC1D/actions/workflows/run-tests.yml) [![Documentation Status](https://readthedocs.org/projects/tc1d/badge/?version=latest)](https://tc1d.readthedocs.io/en/latest/?badge=latest) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) -[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/HUGG/TC1D/HEAD?labpath=notebooks%2Fexplore_tc1d.ipynb) +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/HUGG/TC1D/HEAD?urlpath=%2Flab%2Ftree%2Fnotebooks%2Fexplore_tc1d.ipynb) Tc1D is a one-dimensional thermal and thermochronometer age prediction model that can simulate the effects of various geodynamic and geomorphic processes on thermochronometer ages. It currently supports prediction of apatite and zircon (U-Th)/He and fission-track ages.