Astronomy & Astrophysics Toolbox for MATLAB (MAAT)

Version 1.0.6 (129 MB) by Eran
A collection of functions and classes for astronomy and astrophysics experimental and theoretical research.
Updated 10 Apr 2023
This toolbox is not supported anymore - use instead: AstroPack/MAATv2
The MATLAB Astronomy & Astrophysics Toolbox (MAAT) is a collection of functions and classes for astronomy and astrophysics experimental and theoretical research.
The toolbox is organized in several packages and sub packages that allow easy-to-navigate platform, as well as several "container" classes (e.g., image, catalog, time containers) with their own functions (methods), as well as static classes. The toolbox contains detailed documentation and examples, as well as a detailed help section for each function (see documentation).
The current MAAT reference is Ofek (2014).
MAAT documentation is available as part of the MAAT distribution, in the +manual package. Online documentation is available at:
The MAAT toolbox has functions and classes covering the following topics:
* Documentation: A package containing live documents (documentation with example code) covering many aspects of this toolbox with examples (see documentation).
* Astronomical image processing: A complete set of functions to reduce and analyze astronomical images, from bias removal to image subtraction, source extraction and PSF photometry.
* Astronomical spectra processing: A set of functions to reduce and analyze astronomical spectral data.
* Astronomical catalogs and images access, search and manipulation: Tools to store and manipulate astronomical catalogs as well as functions for fast access of astronomical catalogs stored locally, and access of external image databases and catalogs (e.g., VizieR, MAST, IRSA, SDSS, Chandra).
* Astronomical spectra access, fitting and manipulation: Manipulation, matching and fitting of astronomical spectra and astronomical filters. Including a local database of spectral templates.
* Time series analysis : Tools for time series analysis.
* Celestial coordinates, ephemeris and time: Large number of functions for celestial coordinates, time, celestial mechanics, and ephemeris.
* Fitting and statistics utilities: Tools for statistics, data analysis and signal processing.
* Cosmology: Functions for cosmology.
* Binaries: Binary stars orbit fitting and eclipsing binary.
* Occultations: Diffractive stellar occultations.
* GRB: Gamma Ray Bursts related functions.
* Supernovae: Shock cooling, radioactive decay and tools for SN research. Stars and galaxies:
* General utilities: Astronomical constants, units conversions, strings manipulation, files and IO related functions, and functions for manipulating matlab objects.
* ds9 control: Full interaction with ds9 image viewer, including easy creation and display of region files, imexam-like functionality, and interaction with the image processing tools.
* FITS images manipulation: Additional functions (to those available as part of the matlab CFITSIO library) to read, write and manipulate FITS files.
* Telescope optics: Signal-to-noise calculation, zernikie polynomials, scintillation and wavefront simulations, and telescope control.
* Plotting: Additional functions for plotting.
* WWW access: Powerful functions for world wide web downloading and searching.

Cite As

Eran (2024). Astronomy & Astrophysics Toolbox for MATLAB (MAAT) (, GitHub. Retrieved .

If you are using this code or products in your scientific publication please give a reference to Ofek (2014; ascl.soft 07005).

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

Not supported anymore: use instead AstroPack/MAATv2


Not supported anymore - use AstroPack/MAATv2:


obsolete - replaced by: <a href="">AstroPack/MAATv2</a>.


title updated


Description updated


Description updated


To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.