2. Motivation¶
MYRaf is designed with the needs of the average coder in mind. To support ease of use, it introduces two key classes: Fits and FitsArray. A Fits object is expected to perform a variety of operations, including both data and header manipulations on FITS files. The Fits class encapsulates all necessary data, along with the header and data operations required for astronomical analysis. To achieve this functionality, MYRaf integrates multiple Python libraries, such as Astropy [The_Astropy_Collaboration_2022], Astroquery [Astroquery], AstroAlign [beroiz2019], ccdproc [matt_craig2017], numpy [harris2020], pandas [mckinney2010], photutils [larry_bradley2024], scipy [2020SciPy-NMeth], sep [Barbary2016], ginga [Jeschke15A], and others, while shielding users from the complexity of directly interacting with these libraries.
The Astropy Collaboration. (2022). Astropy Documentation. Retrieved from https://www.astropy.org
Astroquery Development Team. (n.d.). Astroquery Documentation. Retrieved from https://astroquery.readthedocs.io
Beroiz, M., & Fitzgerald, M. (2019). AstroAlign: Pythonic Astronomical Image Registration. Retrieved from https://github.com/toros-astro/astroalign
Craig, M., et al. (2017). CCDProc: CCD Image Processing in Astronomy. Retrieved from https://ccdproc.readthedocs.io
Harris, C. R., et al. (2020). Array programming with NumPy. Nature, 585, 357–362.
McKinney, W. (2010). Data Structures for Statistical Computing in Python. Proceedings of the 9th Python in Science Conference, 51–56.
Bradley, L., et al. (2024). Photutils: Photometry Tools. Retrieved from https://photutils.readthedocs.io
Virtanen, P., et al. (2020). SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nature Methods, 17, 261–272.
Barbary, K. (2016). SEP: Source Extraction and Photometry. Journal of Open Source Software, 1(6), 58.
Jeschke, E. (2015). Ginga: An Astronomical Image Viewer and Toolkit. Retrieved from https://ginga.readthedocs.io