Updated Hubble Spectroscopic Legacy Archive (HSLA) Includes More Robust Spectra
About this Article
John Debes (debes[at]stsci.edu) and the HSLA teamPublished November 19, 2025
The new Hubble Spectroscopic Legacy Archive (HSLA) provides scientifically validated coadded spectra (coadds) of individual targets that have been observed by the Cosmic Origins Spectrograph (COS) and the Space Telescope Imaging Spectrograph (STIS) over their operating lifetimes. HSLA uses data available in the Mikulski Archive for Space Telescopes (MAST) and automatically produces coadds whenever new data become publicly available or when there are newly recalibrated datasets.
A key feature of the new HSLA is that it automatically defines individual targets, groups multiple observations of a single target into associations, and produces a classification for each target. Target associations make use of the dataset coordinates accounting for proper motions, and use SIMBAD, NED and the Phase II observing proposals to determine which datasets should be associated with each unique target. Then, using the SIMBAD, NED, or Phase II keywords, a detailed classification is determined for an object to aid in the spectroscopic study of classes of astrophysical objects.
The classifications consist of three tiers of detail, mapped to the closest Unified Astronomy Thesaurus (UAT) concept. For example, the HSLA target Markarian 817 is classified at Tier 1 as a Galaxy, Tier 2 as an Active Galaxy, and at Tier 3 as a Seyfert. It corresponds to the UAT object Seyfert Galaxies (1447). The HSLA has spectra for over 3,000 individual stars and over 2,000 individual galaxies. A full listing of classifications is available on the HSLA website.
For each individual target, HSLA also provides a human-readable metadata file with key information that can be used in searches and further exploration of the data. The metadata file includes the target name and unique identifiers, the target coordinates in J2000, information about the target's name and classification information, redshift or radial velocity information, and a summary of the programs and instrument modes that are included in the target association.
HSLA data products, including quicklook coadds (_aspec files), coadded single grating products (_cspec files), metadata files (_metadata files), and code output logs (.trl files) are available on the MAST Portal, HST Mission Search Form or via astroquery.
Detailed Use Case Examples to Preview a Range of Unique Search Options
The HSLA website includes details about which option is preferred for different use cases. Since the HSLA is fully automated, it will be updated routinely as new HST spectroscopic data are taken or if data are reprocessed with improved calibrations. Data access may change with time and users are encouraged to visit the HSLA webpage for the latest information on how to access data.
An example aspec file for β Pictoris is shown in Figure 1. β Pictoris is a well-known nearby A-star that possesses a debris disk and two giant planets. The stellar spectrum shows evidence for both stable and time-variable absorption features due to exocomets that break up and evaporate. The aspec file covers multiple COS and STIS gratings from many individual observing programs and over four orders of magnitude in flux.
The HSLA products work best for astrophysical sources that have compact angular sizes and are not variable, which ensures flux continuity across different gratings and apertures over the lifetime of COS and STIS. In those cases, the coadditions should match each instrument’s requirements for flux and wavelength repeatability and accuracy. Solar System objects are currently not included in the HSLA.
The automatically generated HSLA products do not fit all science cases or requirements, so an integral part of the project is to provide user-friendly access to custom coaddition for situations when more individualized approaches might need to be taken. The HSLA project has a notebook that introduces users to custom coaddition of multiple HST observing programs and another that introduces users to the multiple COS lifetime positions and how those may impact the line spread function of their spectra. An example from the HSLA Introduction Notebook is shown in Figure 2.
How to Access HSLA and Refine Your Queries
HSLA is seamlessly integrated into the Hubble MAST search form and the MAST Portal (see Figures 3 and 4) as a standard component of data downloads from the archive. Researchers looking for HSLA data may access them by using the Hubble Search form to select individual objects or discover objects of different classifications.
The MAST Portal is also useful for searching for different classes of objects by using the Advanced Search page, setting Project=”HSLA” and using the Target Classification column to filter desired object types. Detailed instructions are available at the HSLA webpage. The most efficient approach to downloading a large number of spectra (such as getting all the spectra of objects classified as “Stars”) would be to use astroquery, a Python package that is part of astropy. Detailed instructions about how to use astroquery for large numbers of targets are present in the HSLA introductory Notebook in the STScI Jupyter Notebook repository.
Key Takeaways
- The new HSLA includes almost all STIS and COS spectra that have been extracted by the default pipeline.
- HSLA has been updated to provide more efficient and effective search tools for users.
- Users have a flexible array of options to search for individual targets or classes of astrophysical objects, and may create custom products with user-friendly Jupyter notebooks.
- The new HSLA is automated and will include new observations for both COS and STIS as data become public.
For comprehensive details about HSLA, please refer to the HSLA webpage or HSLA Instrument Science Report.
News Center Prefooter
Inbox Astronomy
Sign up to receive the latest news, images, and discoveries about the universe:
Contact our News Team
Ask the News Team
Contact our Outreach Office
Ask the Outreach Office
