I keep research scripts and small tools on GitHub. Some are polished enough to share broadly; others are practical notebooks or scripts that preserve analysis workflows for specific projects.

TDViz

Three-dimensional FITS data-cube visualizer for exploring emission structures, outflows, and exportable 3D scenes.

PyAMOR

Python tools for fitting low-level NH3 spectra and deriving linewidths, temperatures, and column densities under LTE assumptions.

EMANON

A lightweight CH3CN fitting tool adapted for nonlinear optimization of linewidths, temperatures, and column densities.

FFTL

Fitting Formaldehyde Triple Lines near 218 GHz to estimate physical conditions in dense gas.

Current and Recent Repositories

  • CMZclouds: scripts and notes related to Central Molecular Zone cloud analysis.
  • almapol: utilities for ALMA polarization work.
  • GoContinuum: continuum-analysis workflows.
  • epsi: compact research code and experiments.

TDViz: Three-dimensional Datacube Visualizer

TDViz began as a module for the Harvard Astronomy AY201b course tutored by Prof. Alyssa Goodman. It visualizes FITS data cubes, lets users adjust spatial/velocity ranges and value thresholds, and can export scenes or GIF movies.

TDViz interface screenshot
TDViz interface for choosing a data cube and tuning the 3D rendering.

Example: a visualization of CO (2-1) outflows in IRAS 18308-0841 observed by the SMA (Lu et al. 2018). Use the mouse or trackpad to rotate and zoom the scene.

Dependencies for the original desktop tool include MayaVI, TraitsUI, astropy, numpy, scipy, and related scientific Python packages.

Older Notes and Utilities

JavaScript applets

Small calculators for thermal velocity dispersion, virial mass, and brightness-temperature conversion.

Feathering helper

A simple script to merge single-dish and interferometer data with CASA feather: merge.py.

Top