Lesson 3 of 4 · Conservative spectral binning
Change bins without changing area
20 minute lesson · 3 checks along the way
Your goal for this lessonMerge flux-density bins conservatively and explain why equal weighting of unequal wavelength intervals changes the measurement.
In this lesson 3 sections · 3 checks
Read & understand
Match coordinates without losing provenance
Comparing two spectra requires understanding their wavelength coordinates. The IUEDAC guide describes interpolation onto a common wavelength scale and ways to carry flags and processing history along. Our next calculation uses a different, deliberately simple operation: conservative aggregation of whole adjacent bins. We will preserve their integrated flux exactly rather than claiming to reproduce an IUEDAC interpolation routine.
Merge original bins 1 and 2, keep bin 3, then merge bins 4 and 5. The new wavelength widths are (2,1,2) Å. In a merged bin, the mean flux density must be the sum of integrated fluxes divided by the total width. The first group therefore has density (10×1+8×1)/2=9, the middle retains 6, and the final group also has density 9.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Carry the widths into the measurement
The coarser spectrum has densities (9,6,9) and widths (2,1,2) Å. Its integrated flux is 9×2+6×1+9×2=42, the same as before. Relative to C=10, the equivalent-width contributions are 1/5, 2/5 and 1/5 Å. Their sum remains 4/5 Å. The line’s sampling looks different, but this particular integrated quantity is preserved.
Now try an incorrect equal-weight shortcut. Averaging the three densities gives (9+6+9)/3=8. Multiplying the resulting fractional deficit by the full 5 Å window gives 5×(1−8/10)=1 Å. The middle bin was given the same weight as each bin twice its width. This is a changed integration rule, not evidence that the physical feature became stronger.
Change bins, preserve integrated flux
Both plots use96pixels per Å horizontally and10pixels per density unit vertically. Shaded deficits retain their total area. The merged densities are width-weighted averages; no added spectral information is claimed.
Open full-size diagram in a new tab: Change bins, preserve integrated fluxRead diagram data as a table
| Group | Width (Å) | Mean density | Integrated flux | Equivalent-width contribution (Å) |
|---|---|---|---|---|
| 1–2 | 2 | 9 | 18 | 1/5 |
| 3 | 1 | 6 | 6 | 2/5 |
| 4–5 | 2 | 9 | 18 | 1/5 |
Both plots use96pixels per Å horizontally and10pixels per density unit vertically. Shaded deficits retain their total area. The merged densities are width-weighted averages; no added spectral information is claimed.
Check 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
State what aggregation cannot preserve
There are sixteen ways to place or omit boundaries between five ordered bins. Every contiguous grouping preserves the integrated flux and equivalent width under this model when its densities are width-weighted and the same flat continuum and full window are used. That conservation does not require every grouping to retain the detailed shape or location of the deepest part of the feature.
Combining bins discards information about variations within them. Conversely, drawing more samples on a finer grid does not supply independently measured detail between the original bins. Noise and flag information must be propagated through the operation, not inferred from the number of output points. The exact conservation demonstrated here also depends on retaining the whole window; truncating it or changing its continuum is a different calculation.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.