A Picture of me at IRSF
MESA Custom Colours

Abstract

We present a revised implementation of the MESA (Modules for Experiments in Stellar Astrophysics) custom colors module, designed to compute synthetic photometry from stellar atmosphere models. This updated module constructs spectral energy distributions (SEDs) based on fundamental MESAstellar parameters; effective temperature (Teff), surface gravity (log g), radius, and metallicity ([M/H]).

This work was completed in collaboration with Prof. Meridith Joyce, Dr. Phillip Mocz, and Dr. Calum Morris.

The ability to compute synthetic photometry directly from stellar evolution models is increasingly relevant as modern astronomical surveys, such as Gaia, JWST, LSST, and TESS, demand rigorous comparisons between theoretical predictions and observed stellar populations.

The module supports interpolation over stellar atmosphere grids to account for metallicity-dependent effects, ensuring consistency with empirical photometric data. Additionally, synthetic photometry can be directly incorporated into MESA’s stellar evolution models, improving the realism of evolutionary tracks and color-magnitude relationships.

This enhancement expands the capability of MESA in the context of stellar evolution, population synthesis, and Galactic chemical evolution modeling. Future improvements will focus on increasing the spectral resolution of underlying models, incorporating additional photometric systems, and extending the module’s applicability to a broader range of astrophysical contexts.

Operations for Synthetic Magnitude Calculation

Extract Stellar Parameters

Construct the Stellar Spectral Energy Distribution (SED)

Compute Bolometric Quantities

Read Filter Transmission Curves

Convolve the SED with the Filter Transmission Curve

Compute Synthetic Flux for the Filter

Compute the Vega Zero-Point Flux for the Filter

Compute the Final Synthetic Magnitude

Optional: Save Additional Data


Download:


Setting Up Your MESA Module

After cloning the GitHub repository, ensure that your MESA environment is correctly configured...

Prerequisites

export MESA_DIR=/path/to/mesa
export MESASDK_ROOT=/path/to/mesasdk
source $MESASDK_ROOT/bin/mesasdk_init.sh
source ~/.bashrc  # or source ~/.zshrc

Cloning and Building the Module

git clone https://github.com/nialljmiller/MESA_custom_colours.git
cd MESA_custom_colours
./clean 
./mk
./rn

The `./mk` command will download `testdata.txz` and extract the Kurucz2003 model along with Gaia and JWST filter transmission curves.