astre.fits - A Simple FITS File Viewer VSCode ExtensionProject Overviewastre.fits (Astre comes from the French word for celestial body) is a VSCode extension specifically designed for viewing and analyzing FITS (Flexible Image Transport System) files, which also supports Cursor editor. Currently, it aims to provide basic FITS file parsing and visualization capabilities (including image, spectrum plotting, and table display), allowing astronomers and researchers to quickly view FITS file data directly in VSCode. The current version fulfills basic viewing requirements, with higher performance features planned for future releases. We welcome you to submit issues or contribute your solutions in our GitHub repository. The current version is completely written and implemented using Cursor+AI models, with the author responsible for providing documentation and breaking down requirements for AI code generation and testing. Future versions will increase manual coding participation to improve the extension's performance, compatibility, and readability. Interface FeaturesWhen a user opens a FITS file, a window will automatically open to display the data within the FITS file. Users can freely switch between HDUs to display data. This extension supports ImageHDU, BinTableHDU, and TableHDU (ASCII tables), but currently does not support spectrum and table data in PrimaryHDU. When the FITS file contains extension HDUs, it will automatically open the data of the first extension HDU. The current display is divided into three modes: Image Mode
Spectrum Mode
Table Mode
Limitations
Installation and Usage
References
Contribution GuidelinesWelcome to submit issue reports and feature suggestions to the project's GitHub repository. AcknowledgmentsVersion 1.0.0 of this project was completely developed using Cursor and its supported AI models including Claude 3.5 Sonet (primary), Claude 3.7 Sonet, Deepseek R1, and O3 mini. The author was responsible for supervision and testing, and properly used FITS definitions to constrain code writing. This development approach greatly improved development efficiency while ensuring code quality. Contactrenhaoye@shao.ac.cn LicenseThis project follows the GPL3.0 License. |