astro-mmdc¶
Python SDK for the MMDC astrophysics platform: programmatic access to multi-wavelength SED data, on-demand Swift UVOT/XRT analysis and blazar broadband emission modeling.
MMDC provides APIs for querying astrophysical databases, preparing Spectral Energy Distribution (SED) data from multiple catalogs, running Swift photometry on demand, and running physics simulations for blazar emission modeling using SSC, EIC, and hadronic models.
from astro_mmdc import MMDC
client = MMDC()
sed = client.sed.get(ra=187.2779, dec=2.0524, name="3C 273")
print(sed.source.redshift, sed.points)
Where to go next¶
- Getting started: installation, creating a client, quick start.
- Guides:
- SED data: the SED of any sky position.
- Observations: the unified observations catalog (SED + lightcurve).
- Swift UVOT/XRT analysis: on-demand Swift analysis with the MADAM pipeline.
- Blazar emission modeling: SSC, EIC and hadronic model fits.
- Results & errors: working with fit results and handling errors.
- Advanced: manual job control, synchronous inference, the
BatchResultreference.
- API reference: every method of the four resource namespaces.
- Citing: how to cite MMDC and this SDK.
Links¶
- MMDC Platform: mmdc.am
- Data access guide (PDF): mmdc.am/api/serve-pdf/data_access/
- Paper: Sahakyan et al. 2024, AJ, 168, 289, doi:10.3847/1538-3881/ad8231 (arXiv:2410.01207). Please cite it when you use MMDC data or models.
- Source and issues: github.com/icranet/astro-mmdc
- Questions and bug reports: GitHub issues or the contact form at mmdc.am/#contact
License¶
BSD-3-Clause, see LICENSE.