Wavelength Calibration Accuracy Across the STIS CCD: Pipeline Update and User Guidance
This paper presents an update to the STIS data calibration pipeline (calstis4) that implements a row-selected cross-correlation procedure to correct significant, time-dependent wavelength calibration offsets at the CCD edges for E1/E2 pseudo-apertures, successfully improving accuracy for the vast majority of archived datasets while providing tools to address remaining edge cases.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine the Hubble Space Telescope as a giant, floating camera in the sky, taking pictures of the universe that are so sharp they can read a license plate from a hundred miles away. But to read those "plates"—which are actually the chemical fingerprints of distant stars and galaxies—astronomers need to know exactly what color (or wavelength) of light they are looking at. This is called wavelength calibration. Think of it like tuning a radio: if the dial is even a tiny bit off, you hear static instead of music. For decades, Hubble's instruments have been incredibly good at this tuning, but they have a secret weakness. The instrument's internal "camera sensor" (a CCD) is slowly twisting, like a rug that has been rolled up and unrolled too many times. This twist means that while the middle of the sensor is perfectly tuned, the edges are getting slightly out of sync over time. If you try to listen to a song coming from the edge of the sensor, the pitch might be just a little bit wrong. This matters because if astronomers are measuring how fast a galaxy is moving toward or away from us, a tiny pitch error could make them think the galaxy is zooming at 200 kilometers per second when it's actually standing still.
This paper, written by a team of instrument scientists, investigates exactly how much this "twisting rug" is messing up the data, specifically for a special way of taking pictures called the "E1" and "E2" modes. These modes are like moving the target to the very edge of the sensor to avoid a specific type of electronic glitch. The team found that while the standard software used to tune the instrument works great for the center, it was failing to account for the twist at the edges, leading to growing errors that got worse every year. To fix this, they built a new version of the tuning software. Instead of listening to the whole sensor at once to find the right pitch, the new software listens only to the specific row of pixels where the target is located. They tested this new method on thousands of old photos and found it worked like a charm for almost all of them, bringing the edge data back into perfect tune with the center. However, they also found a few tricky cases where the signal was too faint or noisy for the new method to work, and they provided a special toolkit for users to fix those specific problems manually.
The Twisting Sensor and the Out-of-Tune Radio
The Hubble Space Telescope's STIS instrument is a workhorse that splits light into rainbows to tell us what stars and galaxies are made of. But for this to work, the instrument needs to know exactly where every color lands on its detector. Imagine a piano where the keys are laid out in a straight line; if the piano is perfectly straight, pressing the middle key gives you a perfect "C." But if the piano starts to twist like a pretzel, the "C" key might end up sounding slightly sharp or flat depending on where your finger lands.
Over the years, scientists noticed that Hubble's STIS detector was slowly rotating, or twisting, by about 0.003 to 0.004 degrees every year. This is a tiny amount, but in the world of high-precision astronomy, it's enough to throw off the "tuning" of the instrument. The standard software, called calstis, was designed to correct for this twist, but it mostly focused on the center of the detector. It was like a tuner who only listened to the middle of the piano and assumed the rest of the keys were fine.
The problem got worse for astronomers using "pseudo-apertures" called E1 and E2. These are special settings that move the target's light to the very edge of the detector (around row 900) to avoid a specific electronic problem known as "charge transfer inefficiency." It's like moving your microphone to the back of a concert hall to avoid a squeaky floorboard. The team found that while the center of the detector stayed perfectly in tune, the edges were drifting further and further out of sync as the years passed. By the time they looked at data from 2026 (Cycle 33), the light at the edge was shifted by nearly 1 pixel—a huge error in this field. To put that in perspective, that shift could make a stationary star look like it was zooming through space at 200 kilometers per second, or make a galaxy's distance look completely wrong.
The New Tuning Strategy
The scientists realized that the old method of tuning was too broad. The standard software took a "summed" view of the entire detector to find the correct wavelength, which worked well for the center but smoothed over the specific errors happening at the edges. It was like trying to tune a specific violin string by listening to the entire orchestra at once; you might get the general pitch right, but you'd miss the specific note that's slightly off.
To fix this, the team developed a new approach: row-selected cross-correlation. Instead of listening to the whole detector, the new method focuses only on the specific row of pixels where the target is located. If the target is at the edge (E1), the software only listens to the edge. If it's in the middle, it listens to the middle. This is like having a tuner who walks up to each specific string and adjusts it individually, ensuring every single note is perfect regardless of where it sits on the instrument.
They tested this new "row-by-row" tuning method on a massive amount of data, including calibration lamps and real science observations. The results were impressive. For the vast majority of datasets (more than 97%), the new method brought the wavelength accuracy back to within 0.2 pixels, which is the gold standard for the instrument. The "twist" of the detector was effectively canceled out, and the edge spectra now matched the center spectra perfectly.
When the Fix Doesn't Work (and What to Do)
However, science is rarely a perfect story with a happy ending for everyone. The team discovered that this new tuning method has a few limitations. It relies on detecting bright, clear "lamp lines" (reference points used for tuning) in the data. In some specific cases, particularly with certain grating settings like G230MB, the signal at the edge of the detector is so faint or noisy that the software can't find these reference lines. It's like trying to tune a radio in a storm; the static (noise) and cosmic rays (spurious signals) are so loud that the software gets confused and picks the wrong station.
In these rare cases (about 3% of the data, mostly G230MB and a few others), the new automated pipeline might produce a "wrong" correction, shifting the data by tens of pixels instead of the expected few. The authors warn users working with these specific modes to be extra careful. They also provided a special "Jupyter Notebook" (a digital toolkit) that allows astronomers to manually check and correct these specific cases if the automatic fix fails.
The Big Picture
The team then used this new, improved software to re-process the entire archive of STIS data stored at the Space Telescope Science Institute. This means that for almost all users downloading data today, the "twist" has already been corrected. The new software (version 3.5.0) is now the standard, automatically applying the row-specific tuning to E1 and E2 observations.
The authors are confident that this update solves the problem for the overwhelming majority of observations, ensuring that when astronomers look at the edges of the detector, they are seeing the universe exactly as it is, not a distorted version of it. While there are a few tricky edge cases where human oversight is still needed, the overall result is a much more reliable and accurate instrument, allowing scientists to measure the speeds and distances of cosmic objects with renewed precision. The "twisting rug" has been straightened out, at least for the software, ensuring that the music of the universe remains in tune.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.