Skip to content
View whtowbin's full-sized avatar

Highlights

  • Pro

Block or report whtowbin

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
whtowbin/README.md

Henry Towbin

I'm a scientist in Brooklyn, NY. I use Python to analyze data from my own measurements (FTIR and Raman spectroscopy, micro-CT, electron microprobe and SIMS) and from published studies, and I build models to answer research questions with them. Recently I have been using Claude Code to update and refine older research tools and make them available as open-source packages for others to use.

I was a postdoctoral fellow at the Gemological Institute of America from 2023 to 2025, where I built data pipelines for FTIR and Raman spectra of diamonds. I did my PhD at Columbia University's Lamont-Doherty Earth Observatory, finishing in 2023. Before graduate school I ran micro-CT and electron microscopy at the American Museum of Natural History.

I'm looking for data science jobs in New York City, and I'm also interested in imaging and geoscience work.

Data analysis and modeling

  • mercury-harness is a coding agent I built around Mercury 2.5, Inception's diffusion language model, along with the benchmark I used to test it. I compared versions of the agent in A/B tests with decision rules written down before each comparison. The main finding was that the model limited what could be solved, and changes to the agent mostly changed the cost. I wrote it up in a blog post.
  • FORSTER estimates how long olivine crystals sat in hot magma by fitting Fe-Mg diffusion models to zoned crystals, including the uncertainty in temperature, pressure, oxygen fugacity and the diffusion law. It has a desktop app, a Python API, tests and documentation.
  • odr_bootstrap fits straight-line calibrations when both x and y have measurement error, and uses bootstrapping to get confidence intervals. It's on PyPI, with documentation.
  • diamond_fluids tests which trace-element ratios measurable by LA-ICP-MS can identify the type of fluid trapped in fibrous diamonds. It uses a global compilation of published analyses and checks the model on papers it wasn't trained on.
  • Xenolith_Melt_Vein_Modeling is the code for the diffusion models in Towbin and Plank (2026), as published.

Spectroscopy and imaging tools

  • diamond-ftir-package measures nitrogen, hydrogen and platelet peaks in diamond FTIR spectra. It runs as a desktop app, from the command line or in Python.
  • Diamond_NAgg_Map makes maps of nitrogen concentration and aggregation state from FTIR maps of diamond plates. It's on PyPI.
  • FTIR_OMNIC_MAP_Reader loads Thermo OMNIC .map files into Python as xarray datasets. It's on PyPI.
  • Raman_Data_Processing calibrates raw camera images from a line-scanning Raman microscope. It's still in progress.

Recent paper

Towbin, W. H., and Plank, T. (2026). Decompression melting of peridotite xenoliths. Journal of Petrology 67(9), egag077. https://doi.org/10.1093/petrology/egag077

Links

henrytowbin.com · LinkedIn · ORCID · Google Scholar

Pinned Loading

  1. odr_bootstrap_package odr_bootstrap_package Public

    Linear calibration fits with errors in both x and y, using orthogonal distance regression and bootstrap confidence intervals

    Python

  2. diamond-ftir-package diamond-ftir-package Public

    Nitrogen, hydrogen and platelet measurements from diamond FTIR spectra: desktop app, CLI and Python API

    Python

  3. Diamond_NAgg_Map Diamond_NAgg_Map Public

    Maps of nitrogen concentration and aggregation state from FTIR maps of diamond plates

    Python

  4. FTIR_OMNIC_MAP_Reader FTIR_OMNIC_MAP_Reader Public

    Load Thermo OMNIC .map files into Python as xarray datasets

    Python

  5. Raman_Data_Processing Raman_Data_Processing Public

    Calibrate raw spectrometer images from a line-scanning Raman microscope (work in progress)

    Python

  6. diamond_fluids diamond_fluids Public

    Clustering and classification of fluid-inclusion compositions in fibrous diamonds, plus LA-ICP-MS map processing

    Python