---
title: "Hot stars, ionized nebulae and hydrogen light"
description: "Count ionizing photons, follow recombination and calculate a line image, then read a fixed research paper and independent scientific methods."
canonical_url: "https://sandboxphysics.com/stories/ionized-nebulae/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/ionized-nebulae/"
last_modified: "2026-11-23"
---

Ionized nebulae

# Hot stars, ionized nebulae and hydrogen light

Sandbox Physics · 2026-11-22

A star keeps making ions, and the same gas gives the light we observe. Begin with that picture, derive the count and time scales, then calculate a projection and test what the evidence supports.

1. L1

   ## [How far can a hot star ionize a cloud?](https://sandboxphysics.com/stories/ionized-nebulae/why-a-nebula-has-an-edge/)

   Follow ionization and recombination to understand a nebula’s size, hydrogen light and apparent edge.

2. L1

   ## [Counting photons to find an ionized sphere](https://sandboxphysics.com/stories/ionized-nebulae/counting-photons-in-a-sphere/)

   Derive the Case B photon count, Strömgren radius and recombination time, with explicit particle definitions and a worked example.

3. L2

   ## [How a hydrogen cloud fades after its star switches off](https://sandboxphysics.com/stories/ionized-nebulae/when-the-source-switches-off/)

   Derive ion-count growth and local source-off recombination, then distinguish an equivalent radius from a material surface.

4. L3

   ## [Adding hydrogen-line light along a sightline](https://sandboxphysics.com/stories/ionized-nebulae/from-ions-to-a-line-image/)

   Use one ionization state for line powers and projected intensity, keeping energy coefficients, solid angle and unresolved emission distinct.

5. L4

   ## [Recomputing photon counts and native Cloudy shells](https://sandboxphysics.com/stories/ionized-nebulae/photon-counting-and-a-native-cloudy-grid/)

   Recompute ionized volumes and hydrogen-line luminosities in Python, then test what shell and atomic refinement change in Cloudy.

6. L4

   ## [Reading a galaxy's line ratios through escaping photons](https://sandboxphysics.com/stories/ionized-nebulae/when-ionizing-light-leaves-its-nebula/)

   Read Figure 16 of Baron and colleagues’ fixed v1 preprint, separating projected mixing, spectral hardening and photoionization grids.

## Standalone scientific materials

[Download the photon-counting exercises](https://sandboxphysics.com/stories/ionized-nebulae/materials/ionized-nebulae-science-v1.zip) · [Original setup and two-node snapshot](https://sandboxphysics.com/stories/ionized-nebulae/materials/README.md)

The exercises use the Python standard library to compute ideal references. The generic shell integrator accepts saved Cloudy runs that you supply.

[Download the fixed Cloudy grid](https://sandboxphysics.com/stories/ionized-nebulae/materials/ionized-nebulae-native-grid-v1.zip) · [Run the shell comparison](https://sandboxphysics.com/stories/ionized-nebulae/photon-counting-and-a-native-cloudy-grid/#native-grid-replay)

The archive includes our input decks and saved radius, emissivity and hydrogen-state files.

Files, sizes and SHA-256

- [ionized-nebulae-science-v1.zip](https://sandboxphysics.com/stories/ionized-nebulae/materials/ionized-nebulae-science-v1.zip) (158729 B)
  `f7b837cf0b7c77fa48a10638662cd9947d90584004ec524fb067658ff7cc28f8`
- [README.md](https://sandboxphysics.com/stories/ionized-nebulae/materials/README.md) (5577 B)
  `fc23b2d31067ac760053196c88ed973e7bfd03b97f93132ecb5d63fe1236e3f0`
- [analytic\_cloud.py](https://sandboxphysics.com/stories/ionized-nebulae/materials/analytic_cloud.py) (3658 B)
  `5444f2922161a17dc199d64e9e1b9683fb08bf9698fdf2f38a312c8e5e189e60`
- [compare\_axes.py](https://sandboxphysics.com/stories/ionized-nebulae/materials/compare_axes.py) (1778 B)
  `e890390eb0e1a0569ee7218d098ad99490ccedbccc225ad7f3ad78dbadd21942`
- [inspect\_native.py](https://sandboxphysics.com/stories/ionized-nebulae/materials/inspect_native.py) (4217 B)
  `4c538371f5219fcf27c7b39b975cb61db3f79cc678cd4266356ff46dc61c3d48`
- [plot\_references.py](https://sandboxphysics.com/stories/ionized-nebulae/materials/plot_references.py) (4119 B)
  `8e568d459488e56d4e0ff290c5827d2828b97eaa6d7b9d90122ef155cf39ffda`
- [recompute.py](https://sandboxphysics.com/stories/ionized-nebulae/materials/recompute.py) (2966 B)
  `379cdb01474a0e3e25409408c71fac4b02e4ee6e422ce0fe683599d6197cd4cf`
- [validate\_reader.py](https://sandboxphysics.com/stories/ionized-nebulae/materials/validate_reader.py) (3251 B)
  `1c7eb089404606771a12f98cd679f35ef1b7c6eeb9a62a80bf415efd7e1305a1`
- [ionized-nebulae-native-grid-v1.zip](https://sandboxphysics.com/stories/ionized-nebulae/materials/ionized-nebulae-native-grid-v1.zip) (3256527 B)
  `efbc462e2d2a9ab4608255d48ec8355537e2fee731595c87f2781c98494eb417`

## Sources and calculation scope

1. [Pogge, The Physics of Ionized Gas, Ohio State astronomy notes](https://www.astronomy.ohio-state.edu/pogge.1/Ast871/Notes/Ionized.pdf)

   Fixed inspected lecture PDF: III-2, III-7/8 and III-37/38. Ionization balance, Case B, recombination scales and line counting. Our nucleus/electron/particle definitions are explicit. No lecture pages or figures are redistributed.

2. [Shapiro et al. (2006), Relativistic Ionization Fronts, astro-ph/0507677v2](https://arxiv.org/abs/astro-ph/0507677v2)

   Fixed v2, sections 3.1–3.2 and equations 28/29/35/36; ApJ 648, 922–935, DOI 10.1086/506242. The stationary uniform thin-front time relation is used as a finite-light-speed comparison, with its R-type restrictions retained.

3. [Storey & Hummer (1995), MNRAS 272, 41](https://ui.adsabs.harvard.edu/abs/1995MNRAS.272...41S/abstract)

   Original hydrogenic recombination-line calculations distinguish energy emissivities, effective coefficients and their atomic assumptions. No native coefficient table is included. The worked line-yield example prescribes its own illustrative input.

4. [Cloudy C25.00 fixed source commit fb07fa7142af77846af521753622453fb551bef7](https://gitlab.nublado.org/cloudy/cloudy/-/tree/fb07fa7142af77846af521753622453fb551bef7)

   The native equilibrium runs pin this Cloudy release. They use uniform hydrogen at fixed temperature, a prescribed stellar spectrum and an on-the-spot treatment of recombination radiation. The teaching calculation prescribes its own constant recombination coefficient.

5. [Baron et al., DIGging into HII regions: the role of ionizing photon leakage and spectral hardening in coupling HII regions and diffuse ionized gas, arXiv:2610.07163v1](https://arxiv.org/html/2610.07163v1)

   Fixed first preprint submitted 5 October 2026. Main text and appendices A–G were read from the cached full HTML; Figure 16 was inspected. The guide follows II/IV/V.3–V.4/B/VI.4. Its multi-element Cloudy 23.01 + FSPS calculations and tentative radiative-coupling interpretation remain distinct from our fixed-temperature hydrogen model. No author data or figure is redistributed.

6. [Independent photon-counting and saved-shell scientific materials](https://sandboxphysics.com/stories/ionized-nebulae/materials/ionized-nebulae-science-v1.zip)

   MIT-licensed Python recomputes ideal scales, growth, local recombination, projection and synthetic filtering. The generic shell integrator reads radius and emissivity files from locally saved runs.

7. [Fixed Cloudy C25 grid and saved-shell replay](https://sandboxphysics.com/stories/ionized-nebulae/materials/ionized-nebulae-native-grid-v1.zip)

   Includes our input decks and first.rad, first.emis and first.ovr saves. Its Python script replays the shell integrals and independent line comparisons. The archive records the original native receipt identities. Cloudy itself, its atomic data and full charge arrays are separate inputs for a native solve.
