MAPPINGS V Shock: A Spectral Grid Library of fully Radiative Shock Models with Time–Depended Precursor
Authors/Creators
Description
MAPPINGS V shock-precursor model database
This deposit contains the MAPPINGS V shock-model grid and a query tool.
If you use these data, please cite:
- Jin, Y., Long, K., Sutherland, R., & Shi, Y. 2026, ApJS, DOI: 10.3847/1538-4365/aec4db
- Sutherland, R., & Dopita, M. 2017, ApJS, 229, 34S
MAPPINGS_V_521_shock.db and MAPPINGS_V_521_precursor.db are two structured and queryable SQLite databases of the shock and precursor models.
Each database stores the model grid in two linked tables:
1, A ``Model'' table holding one row per model with its model_id and its physical parameters (pre-shock hydrogen density n_H in cm-3, shock velocity in km s-1, magnetic field B in uG, metallicity Z/Z_solar, the corresponding chemical abundance file, and the integrated H-beta flux in erg s-1 cm-2);
2, a ``Spectra'' table holding the associated emission-line spectra (wavelength in Angstrom, flux (H-beta = 1.00), species, and line kind) linked to models via their model_id.
Only lines with a flux relative to H-beta greater than 1e-3 are retained.
--------------------------------------------------------------------------------
Contents
README.txt Overview and contents of this dataset
MAPPINGS_V_521_shock.db SQLite database with the shock-model grid and spectra
MAPPINGS_V_521_precursor.db SQLite database with the precursor-model grid and spectra
fetch_MV.py Command-line tool to query the spectra
fetch_MV.txt Instructions for fetch_MV.py
--------------------------------------------------------------------------------
How to retrieve data
See fetch_MV.txt for full usage of fetch_MV.py. Quick examples:
python fetch_MV.py --header
python fetch_MV.py --nh 1.0 --vel 100 --b 1 --zsolar 1.0 -o spec.csv
python fetch_MV.py --line "O III" 5007 -o oiii5007.csv
Direct SQL is also possible:
sqlite3 MAPPINGS_V_521_shock.db \
"SELECT wavelength, flux, species FROM spectra WHERE model_id = 42;"