Content - EranOfek/AstroPack GitHub Wiki
Content
AstroPack (aka MAATv2) is a general-purpose package for astronomy & astrophysics using MATLAB. AstroPack contains a large number of classes and functions for:
- Image reduction and analysis - including image calibration, mask images, background estimation, source finding and measurements, astrometry, image coaddition, image subtraction, photometric calibration, relative photometry, catalog matching, and more.
- Celestial coordinates & ephemeris - Coordinates conversion and manipulation, Solar System ephemerides including INPOP ephemeris, time manipulation, targets selection, HTM, and sky maps
- Astrophysics & Cosmology - Utility functions for cosmology, lensing, supernovae, and binary stars.
- Filters and spectra - Manipulating and processing astronomical spectra and filters database.
- Time series analysis - Basic and advanced time series analysis utilities.
- General utilities - Mathmatics, geometry, strings, and files manipulation, plotting utility, WWW functions.
- Virtual observatory and astronomical database access - Access and data retrieval from several astrophysical databases.
- Postgress DB - Tools to create, manipulate and access Postgres databases.
List of packages and classes
The functionality is organized in classes and packages. Our default strategy is that classes are typically used as data containers (e.g., a class that stores WCS information). The classes typically come with basic functionality. For example, the AstroImage class (image container) includes methods like binary operations, plus, minus, simple header manipulation, julday, etc. More advanced functionality (e.g., catalog matching, photometry, astrometry, flat) are typically included in packages (e.g., +imProc, +lcUtil). In addition, the ./AstroPack/matlab/external directory contains 3rd party utilities which are usually package-less.
To see a list of all packages, or classes, in AstroPack you can use:
tools.code.listPackages
tools.code.listClasses
List of packages
Packages are typically contain sub-packages. For example, the +imProc package contains several sub-packages like +astrometry, +flat, +dark, and more.
- astro - Utilities for binary stars, cosmology, GRBs, lensing, microlensing, magnitudes, occultations, spectra, stars, and supernovas.
- telescope - Function for observatories, S/N calculations, and aberrated wavefronts simulations.
- celestial - Celestial coordinates, Earth, Solar System ephemerides, meteors, scheduling, time, and more.
- timeseries - Time series analysis.
- plot - Plotting functions.
- ultrasat - ULTRASAT-related utilities.
- VO - Virtual observatory access tools.
- imUtil - Functions for image analysis that works on native matrices.
- imProc - Advance image analysis tools working on AstroImage and AstroCatalog classes.
- lcUtil - Advance utilities for light curves analysis stored in MatchedSources objects.
- pipeline - Pipelines scripts and classes.
- wfast - WFAST-related functionality.
- ds9 - A static class for controling ds9 image viewer.
List of high-level classes
- AstroImage - A container class for astronomical images including the image, background, variance, mask image, source catalog, WCS, PSF, and more.
- AstroTable - A container class for catalogs.
- AstroCatalog - A container class for catalogs containing 2D coordinates.
- MatchedSources - A container class for matices of matched sources (i.e., matrix of properties of all sources over all epochs).
- celestial.OrbitalEl - Orbital elements container class.
- celestial.INPOP - INPOP ephemeris class.
- AstroSpec - A container class for astronomical spectra.
- AstroTransmission - A container class for astronomical transmission (filters).
- CalibImages - A container class for calibration images (bias, dark, flat, frienge). Typically, the classes contains all the basic functionality (e.g., binary operators, crop, etc.) on the data, while the advance functionality (e.g., photometry, astrometry, flat) is available in the related packages (e.g., +imProc).
Low Level classes
- AstroHeader
- AstroPSF
- AstroWCS
- BackImage
- FITS
- ImageIO
- ImageComponent
- PhotonsList
- SciImage
- Tran2D
- VarImage
- VirtImage
- Component
- Base
- Configuration
- ComponentMap
- LogFile
- MsgLogger