Skip to main content

Tcages

PyPI Build

Tcages is a Python package for predicting low-temperature thermochronometer ages from a time-temperature (tT) history. It provides compiled versions of two widely used age prediction codes with a simple Python interface:

Tcages is the age prediction engine used by Tc1D and Tcplotter, but it can also be used on its own.

Installation

Tcages can be installed using pip:

pip install tcages

Pre-built wheels are available for Linux (x86-64 and ARM64), macOS (Intel and Apple silicon) and Windows (x86-64 and ARM64), so no compilers are needed. Tcages requires Python 3.10 or newer and NumPy.

Older versions of Tc1D and Tcplotter

Prior to version 0.3, this software was distributed as Tccore, two command-line programs (RDAAM_He and ketch_aft) rather than a Python package. These programs are still needed by Tc1D versions prior to 0.5.0 and Tcplotter versions up to 0.4.0. They can be downloaded from the v0.2 release and installation instructions are in the v0.2 README.

Building from source

Building from source requires a C/C++ compiler (GCC, Clang or MSVC). CMake is installed automatically during the build if needed.

git clone https://github.com/HUGG/tcages.git
cd tcages
pip install .

To run the tests:

pip install pytest
pytest tests

Quick start

import tcages

# Define thermal history with cooling from 300 °C at 30 Ma to 0 °C today (rate of 10 °C/Myr)
times = [0.0, 30.0]    # Ma, youngest (present day) first
temps = [0.0, 300.0]   # °C

# Calculate (U-Th)/He and AFT ages
he = tcages.he_ages(
    times, temps,
    ap_rad=60.0, ap_u=10.0, ap_th=40.0,    # apatite: radius (µm), U and Th (ppm)
    zr_rad=60.0, zr_u=100.0, zr_th=40.0,   # zircon: radius (µm), U and Th (ppm)
)
aft = tcages.aft_age(times, temps)

# Print results
print(f"AHe: {he.ahe_corr:.2f} Ma")
print(f"AFT: {aft.age:.2f} Ma (mean track length {aft.mean_length:.2f} µm)")
print(f"ZHe: {he.zhe_corr:.2f} Ma")

Output:

AHe: 6.13 Ma
AFT: 10.68 Ma (mean track length 13.94 µm)
ZHe: 13.20 Ma

Citing Tcages

If you use Tcages in your work, please cite the papers describing the models it implements (see References). If you use Tcages through Tc1D or Tcplotter, please also cite those packages as described in their documentation.

References

  • Flowers, R. M., Ketcham, R. A., Shuster, D. L., and Farley, K. A.: Apatite (U-Th)/He thermochronometry using a radiation damage accumulation and annealing model, Geochimica et Cosmochimica Acta, 73, 2347–2365, https://doi.org/10.1016/j.gca.2009.01.015, 2009.
  • Guenthner, W. R., Reiners, P. W., Ketcham, R. A., Nasdala, L., and Giester, G.: Helium diffusion in natural zircon: Radiation damage, anisotropy, and the interpretation of zircon (U-Th)/He thermochronology, American Journal of Science, 313, 145–198, https://doi.org/10.2475/03.2013.01, 2013.
  • Ketcham, R. A., Donelick, R. A., and Carlson, W. D.: Variability of apatite fission-track annealing kinetics III: Extrapolation to geological time scales, American Mineralogist, 84, 1235–1255, https://doi.org/10.2138/am-1999-0903, 1999.
  • Ketcham, R. A., Carter, A., Donelick, R. A., Barbarand, J., and Hurford, A. J.: Improved modeling of fission-track annealing in apatite, American Mineralogist, 92, 799–810, https://doi.org/10.2138/am.2007.2281, 2007.
  • Ketcham, R. A., Gautheron, C., and Tassan-Got, L.: Accounting for long alpha-particle stopping distances in (U–Th–Sm)/He geochronology: Refinement of the baseline case, Geochimica et Cosmochimica Acta, 75, 7779–7791, https://doi.org/10.1016/j.gca.2011.10.011, 2011.

License

Tcages is distributed under the GNU General Public License v3.0.

Metadata

Release files for tcages 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tcages 0.3.0
File Size Uploaded Provenance Actions
tcages-0.3.0.tar.gz 56.3 kB With provenance Details for tcages-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tcages 0.3.0
File Actions
tcages-0.3.0-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for tcages-0.3.0-py3-none-win_arm64.whl
tcages-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for tcages-0.3.0-py3-none-win_amd64.whl
tcages-0.3.0-py3-none-win32.whl Python 3 none Windows x86-32 Details for tcages-0.3.0-py3-none-win32.whl
tcages-0.3.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for tcages-0.3.0-py3-none-musllinux_1_2_x86_64.whl
tcages-0.3.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for tcages-0.3.0-py3-none-musllinux_1_2_aarch64.whl
tcages-0.3.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for tcages-0.3.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
tcages-0.3.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for tcages-0.3.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
tcages-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for tcages-0.3.0-py3-none-macosx_11_0_arm64.whl
tcages-0.3.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details for tcages-0.3.0-py3-none-macosx_10_9_x86_64.whl

Total release size: 2.6 MB

Release files / tcages-0.3.0.tar.gz

Download URL tcages-0.3.0.tar.gz
Size 56.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8ca1e56245eb3d07a0f577c7b4e1b9bdf3690cc76a50056f1d4e0c1032a783d9
BLAKE2b-256 checksum
How to use checksums
9fe1b4635bf95efbe146b1479a2148ea7740c0bf83c48aa33a1446947d702f46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-win_arm64.whl

Download URL tcages-0.3.0-py3-none-win_arm64.whl
Size 57.3 kB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
507f7f43344bfd249b751ebd71211b4a8f077526038d791630eed8816554e3c9
BLAKE2b-256 checksum
How to use checksums
c42fe58b43f5ee7d61a08ed8f66ca7ee9ef80b752b5db11ea0bf00d43be361ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-win_amd64.whl

Download URL tcages-0.3.0-py3-none-win_amd64.whl
Size 61.3 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
98ba52e86de98266aa6dc80c011ffabab230b71a50e6d2c7e6cb5dff04391ebd
BLAKE2b-256 checksum
How to use checksums
d2cd74a1ef3679ad1ec4966e4286a1ff408266ec9cebd25a0f12bacaca029b41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-win32.whl

Download URL tcages-0.3.0-py3-none-win32.whl
Size 55.9 kB
Tags Python 3 Windows x86-32
SHA-256 checksum
How to use checksums
1774feba1a2d83ab7acb59d5926518908d4f0365f1c2196d2bb404adcab22d59
BLAKE2b-256 checksum
How to use checksums
eb38989611eaa930cb7810b727c56af801a6c411ace5fb24e97769ea02341ef4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-musllinux_1_2_x86_64.whl

Download URL tcages-0.3.0-py3-none-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
09b24b4a12cef789ef8a34fa5555bd1e3b97ed6b6b18c6b3a2474b939198d6c6
BLAKE2b-256 checksum
How to use checksums
dd3d86c764d5ec28cf0eb6c8b9738e835b9c9b8ca56eaed17f75c3639dacd513
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-musllinux_1_2_aarch64.whl

Download URL tcages-0.3.0-py3-none-musllinux_1_2_aarch64.whl
Size 1.0 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b484d53fe4ebafe712ec6079069aefc84da4c13de648d67a0b39f35d569d0fe1
BLAKE2b-256 checksum
How to use checksums
2da0dfd06059c92f5b6a378bc21ea5b35f19dc8e515a7b5e691241609826c876
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL tcages-0.3.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 60.4 kB
Tags Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
284e7450ee198a35de1e33f63c69c19ec1c95ec749c2e09e480aa3381fed2503
BLAKE2b-256 checksum
How to use checksums
459175b57cad19aa66a9aeee6ef858b18fe5bddfffa578ff727a38f92b5aedcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL tcages-0.3.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 60.3 kB
Tags Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e49f7c400284619435da18e9635ad4571878d91f5952467f9fed7133f2425214
BLAKE2b-256 checksum
How to use checksums
402ddd723b463ab9b80e2c26d02ad64fd34e1f9ec5755a8445d11c33efa71c62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-macosx_11_0_arm64.whl

Download URL tcages-0.3.0-py3-none-macosx_11_0_arm64.whl
Size 57.3 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cf8f7e2688da299a14980b431bc0fd46309c1b8de7ff7d1a47b09bacbece0fcd
BLAKE2b-256 checksum
How to use checksums
0cbaf2fcad08f0435eed75ea7c6dab2c4514a8c85e6362cecea64c2d6d65654d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / tcages-0.3.0-py3-none-macosx_10_9_x86_64.whl

Download URL tcages-0.3.0-py3-none-macosx_10_9_x86_64.whl
Size 57.5 kB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
2e8ce71bbe758dd1f5721c3ae46f17b5a3261b92218a27963ae44a4ec177f60e
BLAKE2b-256 checksum
How to use checksums
f897bc02bd8525ba430e1f88856fb88b2039ae4cb536f9da78e8ef5f68717ee7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for tcages 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 10 files in this release have been uploaded with provenance metadata.

Select from 10 files

Attestation for tcages-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

10 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page