Tcplotter code description and instructions for use
Tcplotter is a Python package for creating and customizing thermochronometer age and closure temperature plots presented in the article Short communication: Modeling competing effects of cooling rate, grain size and radiation damage in low temperature thermochronometers by D. Whipp, D. Kellett, I. Coutand, and R. Ketcham. The code is designed to be easy to use to either reproduce plots from the article or customize the plots for your own use. Below you will find some essential details about using the code and detailed documentation can be found on the tcplotter documentation site.
Getting started
The easiest way to get started using Tcplotter is by using Binder either with the link here or by clicking on the Binder button above. This will open an interactive web interface to the code where you can see how it works and even create your own plots.
Installation
Tcplotter can be installed in your Python environment using pip.
pip install tcplotter
You can also find installation instructions on the Tcplotter documentation page.
Installing Tcplotter also installs Tcages, which provides the thermochronometer age prediction codes. Pre-built packages are available for Linux, macOS and Windows, so no compilers are needed.
Note: Tcplotter versions up to 0.4.0 required installing separate age prediction programs from the Tccore package. This is no longer necessary from version 0.5.0 onwards.
Usage
Tcplotter can be used either as a function in a Python script or interpreter, or from the command line. The four main Tcplotter functions/command-line tools are:
time_vs_temp()eu_vs_radius()rate_vs_radius_eu()rate_vs_age_tc()
Brief examples of possible usage for both cases can be found below.
Usage in a Python script or interpreter
Assuming you are working in Binder or have installed tcplotter locally, functions available in Tcplotter can be imported as follows:
from tcplotter import time_vs_temp, eu_vs_radius, rate_vs_radius_eu, rate_vs_age_tc
Once imported, you can use functions as shown below:
eu_versus_radius(save_plot=True)
You can find more information about the function parameters using the help() function:
help(eu_vs_radius)
Command-line usage
Command-line usage is similar to that for use in a Python script, except that the underscores in the function names have been replaced by hyphens.
For example, again assuming you have installed tcplotter locally, you can type the following to use the eu_vs_radius() function:
eu-vs-radius --save-plot
To find more information about options available for command-line use you can include the --help or -h flags.
eu-vs-radius -h
Attribution
How to cite the code
When including plots generated using Tcplotter in publications or presentations, please cite the following:
- Whipp, D. M. and Ketcham, R. A.: tcplotter: a Python package for creating and customizing thermochronometer age and closure temperature plots, Zenodo [code], https://doi.org/10.5281/zenodo.5958939, 2022.
How to cite the paper
You're also welcome to cite the manuscript related to Tcplotter when referencing ideas from the article:
- Whipp, D. M., Kellett, D. A., Coutand, I., and Ketcham, R. A.: Short communication: Modeling competing effects of cooling rate, grain size, and radiation damage in low-temperature thermochronometers, Geochronology, 4, 143–152, https://doi.org/10.5194/gchron-4-143-2022, 2022.
How to cite related articles
The age prediction software used for calculating apatite and zircon (U-Th)/He and apatite fission-track ages (provided by Tcages) was written by Richard Ketcham at the University of Texas, USA. Results published using this software should also cite the articles below:
-
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, doi: 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, doi: 10.2475/03.2013.01, 2013.
-
Ketcham, R. A., Donelick, R. A., & Carlson, W. D.: Variability of apatite fission-track annealing kinetics III: Extrapolation to geological time scales. American Mineralogist, 84, 1235-1255, doi: 10.2138/am-1999-0903, 1999.
-
Ketcham, R. A., Mora, A., and Parra, M.: Deciphering exhumation and burial history with multi-sample down-well thermochronometric inverse modelling, Basin Res., 30, 48-64, 10.1111/bre.12207, 2018.
License
Tcplotter is distributed under the GNU General Public License v3.0 or later. Versions up to 0.4.0 were released under the MIT License.
Metadata
Release files for tcplotter 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tcplotter-0.5.0.tar.gz | 2.6 MB | With provenance | Details for tcplotter-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tcplotter-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for tcplotter-0.5.0-py3-none-any.whl |
Total release size: 2.6 MB
Release files / tcplotter-0.5.0.tar.gz
| Download URL | tcplotter-0.5.0.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a60e3fead6cc70994e6ca38965d81aea7233b16dbb55f250c48efacadda7c7a
|
|
BLAKE2b-256 checksum How to use checksums |
05132cd34a54760b5de2a36771d3b68fdf0c4e196750bb67a8559a5a75a60ef7
|
| 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 logRelease files / tcplotter-0.5.0-py3-none-any.whl
| Download URL | tcplotter-0.5.0-py3-none-any.whl |
|---|---|
| Size | 47.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0689cc3244890d38719f2b41bfb0c3ed864c447fc3df47420aca97f5debb4c6
|
|
BLAKE2b-256 checksum How to use checksums |
ab2fc909612bac713b4cf5dfc0713bcebbdefae172ea1404cde32148b6450b66
|
| 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 logSecurity for tcplotter 0.5.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 2 files in this release have been uploaded with provenance metadata.
Attestation for tcplotter-0.5.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 logA 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.