Skip to content
/ ThxsPy Public

This software calculates thorium excess, a constant flux proxy used in ocean sediments, from ICP-MS output files.

Notifications You must be signed in to change notification settings

yz3062/ThxsPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThxsPy

This software calculates thorium excess, a constant flux proxy for ocean sediments, from ICP mass spectrometer results of uranium and thorium isotopes. It has a sister project, PaxsPy, that calculates protactinium excess.

Getting started

Prerequisites

If you're new to python, I recommend you simply download Anaconda, which includes all the prerequisites. Alternatively, download the followings individually:

Python 3 (as of v1.0.0, we have moved away from Python 2)

scipy

numpy

pandas

Installing

Click "Clone or download" on top right -> "Download ZIP". Unzip all files.

Running the tests

Included in this program is a test dataset to get you familiar with how it works. Open Command Prompt in Windows or Terminal in MacOS, change to the directory where ThxsPy exsits, and type

python ThxsPy.py

You'll be prompted to confirm the version of Th spikes you're using

alt text

Hit "Enter", and you'll be asked whether you want to inspect the data in figures

alt text

Hit "Enter". Figures of all the ICPMS counts will be saved in the same folder as the input files. You can check the figures to see if there's anything abnormal, e.g. a spike in counts or trailing in counts midway. Notice that the all isotopes are plotted on the same y-axis, meaning you'll mostly see the variations in major isotopes like 238U and 232Th. You'll then select data files as well as a sample info file. Notice that the file selector window sometimes doesn't pop up and is open in the background.

alt text

Where you should double click "data" folder and select all the files in that folder

alt text

Notice that alongside the data files, there's also a "sample_info.xlsx" file that looks like this

alt text

And Voila! Calculation is done and you're asked to save the output file with a file name of your choice. You can either write the ".xlsx" or not. The program will add one for you if you don't.

alt text

License

BSD

About

This software calculates thorium excess, a constant flux proxy used in ocean sediments, from ICP-MS output files.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages