interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / docs / ALLEN_SKY_SCIENCE.md

407 lines · 28262 bytes Raw Blame History Source

Allen's sky and sound: the science audit

Owner's rule (Drake, 2026-10-19): the whole idea of this system is grounded in real astrophysics. The merger sound is there because it is real. The sky behind Allen must be the real sky, not an invented one.

This note says, for every picture and sound in Allen's startup, what is real, what is a simplification, and what is only an illustration. Every number comes from a source that is named, or from a measurement that is in evidence/real-sky/. Where a source says nothing, that is said too. The code is in native/kernel/ui/ (night.c, sky_real.c, sky_data.c, chirp.c).

Words: "design pixel" is one pixel of a 1920 wide screen; the picture scales from there. V is the visual magnitude of a star (smaller is brighter, 6.5 is about the faintest star a person sees on a dark night). B-V is a star's colour number (smaller is bluer).

1. The verdict, one line each

PartVerdict
Stars (9096 in the catalogue, 8404 to V 6.5)Real: position, brightness, colour. Limits in section 3.
Milky WayReal: Gaia DR3 G, BP and RP flux per HEALPix level-7 cell, moved to V with each cell's own colour, on the physical scale with no anchor or gain. Brightest band V 20.17 mag/arcsec2 against the published 20.7 (Leinert et al. 1998), section 3.
Dark sky glowReal: V 22.0 mag/arcsec2, the published dark-site sky (Leinert et al. 1998). Not boosted.
Large and Small Magellanic CloudsReal: true place, size and tilt (OpenNGC); their light is Gaia DR3's resolved stars raised to the catalogue total V (LMC 0.29, SMC 2.30), section 3. Visible: centre 2.0 (LMC) and 1.8 (SMC) times the surrounding sky.
The viewReal: a pinhole-camera projection centred on GW150914's most probable sky position.
Starlight bent by the black holesReal physics (point-mass lens), with one invented edge and one invented scale (section 4).
Black hole shadows and the thin ringReal size rule (shadow radius sqrt(27)/2 Rs), drawn as a simple disc and ring.
Orbit and spiralReal law (separation as t^(1/4), angle as t^(5/8)), with time compressed and the number of turns cut (section 4).
Merger and the new, larger holeRight to within 5 percent (section 4).
The ripple across the skyIllustration only. A real wave cannot be seen.
Ringing of the final holeIllustration, wrong timescale (section 4).
The startup soundThe law for the pitch is real. The sweep, the cycle count and the ring are not the real signal (section 5).
Galaxies' sweeping light, twinkle, Allen's mind, the waterArt, not physics (section 6).

2. Sources

InputWhat it givesLicence and credit
Yale Bright Star Catalogue, 5th revised ed. (Hoffleit and Warren 1991), CDS V/509096 stars with J2000 position, proper motion, V, B-VThe CDS ReadMe carries no licence or copyright line. Credit: Hoffleit and Warren 1991, via CDS Strasbourg.
Gaia DR3 gaia_source, query 1 below (ESA/Gaia/DPAC)Source count and summed G, BP, RP mean flux of every source with G > 7, per HEALPix level-7 cell (nside 128, 196608 cells)CC BY-NC 3.0 IGO. Credit: ESA/Gaia/DPAC. Pinned sha256 in scripts/ck_sky_gen.sh.
Gaia DR3 astrophysical_parameters, query 2 belowMean G-band extinction ag_gspphot per the same level-7 cells (the dust)CC BY-NC 3.0 IGO. Credit: ESA/Gaia/DPAC.
Leinert et al. 1998 (A&AS 127, 1), as quoted in arXiv:2401.15518 (Bochum V 20.7 at the bright Milky Way) and arXiv:2604.09427 (dark-sky reference V 22)The dark sky (V 22, the one brightness the display is tied to) and the bright Milky Way (V 20.7, now an independent check of the Gaia scale)Cited only: published numbers, no data copied.
Gaia DR3 documentation (ESA/Gaia/DPAC), chapter 5: section 5.4.1 Table 5.4 (zero points G 25.6874, BP 25.3385, RP 24.7479), https://gea.esac.esa.int/archive/documentation/GDR3/Data_processing/chap_cu5pho/cu5pho_sec_photProc/cu5pho_ssec_photCal.html ; Table 5.9 (G - V from BP - RP), https://gea.esac.esa.int/archive/documentation/GDR3/Data_processing/chap_cu5pho/cu5pho_sec_photSystem/cu5pho_ssec_photRelations.htmlGaia flux to V surface brightness, per cellCited only: published constants.
OpenNGC (Mattia Verga), pinned to commit be3cd6cGalaxy positions, sizes, tilt angles, and the integrated V that sets the Magellanic Clouds' total lightCC BY-SA 4.0. Credit: Mattia Verga. Only two galaxies (their positions, sizes and magnitudes, which are facts) reach the tables. The ShareAlike term against this repository's licence (AGPL-3.0-or-later) is for the desk to clear.
GWTC-1 sky map of GW150914, LIGO-P1800381-v7Where on the sky the signal came from (HEALPix probability map)Released by LIGO and Virgo through the LIGO Document Control Center. Credit: LIGO Scientific Collaboration and Virgo Collaboration.
Abbott et al., PRL 116, 061102 (2016)The published numbers the audit measures againstCited only.

Why Gaia DR3 for the Milky Way: it is the only measured, whole-sky, optical source-count and flux data at hand, and the owner's direction (2026-10-19) is to compute the Milky Way from measured data. CC BY-NC 3.0 IGO allows non-commercial use with credit (ESA/Gaia/DPAC); this project is non-commercial (AGPL-3.0-or-later). Tables are compiled in, so a commercial use would need ESA's agreement, noted for the desk.

The two Gaia queries (run on 2026-10-19 against https://gea.esac.esa.int/tap-server/tap/async, ADQL). Level 7 is run in four HEALPix ranges of 49152 cells each (the TAP service returns at most about 50000 rows per job), the four results joined with one header. The script does this when it is asked for level 7 (SKY_HPX_LEVEL, default 7) and fetches any chunk that is missing.

Query 1 (flux per cell), chunk c of 4 covers cells (c-1) x 49152 to c x 49152 - 1, output gaia_hpx7_flux_c.csv; the joined table gaia_hpx7.csv has sha256 4d1412d3df02f6ee34120b8fd9b96bde6766fcaf50c569a94b45b72d4ec151cd (196608 rows):

SELECT GAIA_HEALPIX_INDEX(7, source_id) AS hpx7, COUNT(*) AS nsrc, SUM(phot_g_mean_flux) AS g_flux,
       SUM(phot_bp_mean_flux) AS bp_flux, SUM(phot_rp_mean_flux) AS rp_flux
FROM gaiadr3.gaia_source
WHERE phot_g_mean_flux IS NOT NULL AND phot_g_mean_mag > 7.0
  AND GAIA_HEALPIX_INDEX(7, source_id) BETWEEN LO AND HI
GROUP BY hpx7 ORDER BY hpx7

Query 2 (dust per cell), the same four chunks, output gaia_dust7.csv, sha256 ce46146f06fa33791d81cde3f02f19a7ac259e5555b13c03cdb8092e75174d89:

SELECT GAIA_HEALPIX_INDEX(7, source_id) AS hpx7, AVG(ag_gspphot) AS mean_ag, COUNT(*) AS n
FROM gaiadr3.astrophysical_parameters
WHERE ag_gspphot IS NOT NULL
  AND GAIA_HEALPIX_INDEX(7, source_id) BETWEEN LO AND HI
GROUP BY hpx7 ORDER BY hpx7

Level 6 (49152 cells, the earlier build) is still in the script (SKY_HPX_LEVEL=6, sha256 334bde2b... and 105f8f51...). Each sha256 is of the CSV the TAP service returned (the joined file for level 7); the script refuses any other file.

Each input is downloaded once by scripts/ck_sky_gen.sh, checked against a sha256 written in the script (a file that does not match is refused), and turned into tables by native/kernel/tools/ck_sky_gen.c (plain C, no Python). The kernel never touches the network: the tables are compiled in. native/kernel/ui/sky_data.txt is the generator's report from the last run.

3. The sky

The view. A gnomonic projection (what a pinhole camera sees), 80 degrees of sky across the screen's width, north up, centred where the GW150914 sky map is most probable. That point is the highest-probability pixel of the map (HEALPix nside 512): right ascension 113.697, declination -72.757 degrees, in the constellation Volans near Carina. In galactic coordinates it is l 284.54, b -22.70. The map's 90 percent region is 181.6 square degrees, all of it on a 3840 x 2160 screen. The centre is the map's peak, not a point source: the real signal could have come from anywhere in that region. The Large Magellanic Cloud is inside it.

Stars. Position is the catalogue's J2000 position moved along its proper motion to epoch 2026.8. Brightness: light from a star is proportional to 10^(-0.4 V), the definition of the magnitude scale. Colour: B-V goes to an effective temperature by Ballesteros (2012, EPL 97, 34008), that temperature to the colour of a black body through the CIE 1931 observer (Wyman, Sloan and Shirley 2013, fit), then to sRGB. Checks the generator prints: B-V -0.30 is 16602 K and sRGB (177, 198, 255); B-V 0.65 is 5778 K (the Sun's) and (255, 241, 234); B-V 1.50 is 3794 K and (255, 207, 155). 310 catalogue stars have no B-V and are drawn at 0.6, close to the Sun's. On a 3840 x 2160 screen the view holds 71 stars to V 4, 179 to V 5, 560 to V 6, 904 to V 6.5.

Limits, stated plainly:

Milky Way. The light is Gaia DR3's own: for each of the 196608 HEALPix level-7 cells (about 0.46 degree across), the summed G-band flux of the stars in it (stars with G > 7). That is light, not a photograph. The cells are splatted onto a full-sphere 360 x 180 grid (1 degree, north up) within 0.75 degrees of each level-7 cell's centre and averaged (SPLAT_DEG in native/kernel/tools/ck_sky_gen.c; level 6 used 1.5 degrees).

The runtime now evaluates this source map independently at every native output pixel. It no longer makes a quarter-resolution screen image and interpolates that image back up, nor adds a runtime blur pass. This removes screen-space reconstruction loss; it cannot manufacture angular detail absent from the source grid. The stored map includes a longitude wrap column; its lower-rate chroma plane is likewise finite-resolution. The diffuse band is therefore not claimed to contain native-4K photographic detail. Crisp catalogue-star points are a separate layer.

Colour and luminance are kept apart. A cell's light is split between the red, green and blue channels by a tint from its BP-RP colour (reddened by the mean G-band extinction, ag_gspphot, E(B-V) = A_G / 2.285, Cardelli et al. 1989), with the channel weights chosen so that their luminance (0.2126 R + 0.7152 G + 0.0722 B) is exactly the cell's light. The first build put almost all of the light into the red channel, so the band was about a third of its true luminance. That is corrected.

Scale: physical, with no anchor (since 9ab1281 / 176bc51). The number is Gaia's own measured light:

The screen-to-sky step (fixed at 9ab1281). sky_real.c turns each screen point back into a sky direction to read the grid. The forward projection puts a tangent-plane offset u at u / tan(fov/2) half-widths; the inverse used half that, so the grid was read from points twice as far from the view centre as the pixel. The Milky Way and the Clouds were drawn in the wrong places. The sky test now catches it (below): with the old step both Clouds read 0.95 to 0.99 times their surround.

Galaxies. Brighter than V 6.5 and in the view, OpenNGC has two: the Large Magellanic Cloud (ESO056-115, V 0.29, 646 x 550 arcminutes, position angle 170) and the Small Magellanic Cloud (NGC0292, V 2.30, 300 x 180 arcminutes, position angle 45). They are placed at their true centre, size and tilt. On a 3840 wide screen the LMC's half axes are 219 x 191 px, the SMC's 112 x 74. Their outlines only carry the gravitational-wave shimmer; their steady light is in the Milky Way grid:

The Magellanic Clouds' light (real, from two catalogues). Gaia sees each Cloud's brightest stars (the LMC is about 50 kpc away, so Gaia's G 20.7 limit reaches absolute G about +2) but not the faint, crowded rest. The generator (gaia_clouds in ck_sky_gen.c), for each catalogue galaxy at least 2 degrees long:

  1. takes the Gaia cells inside its OpenNGC ellipse (the D25 isophote);
  2. takes the local sky as the median cell between 1.2 and 1.6 ellipse radii (Milky Way foreground);
  3. sums the light above that sky: the resolved part;
  4. compares it with the catalogue's integrated V and adds the missing part in the pattern of the resolved stars (each cell's excess times total / resolved), so the total inside the ellipse is the catalogue's and the shape is Gaia's.
galaxyGaia cellslocal sky (S10)Gaia resolvescatalogue Vsharecentre before, after (V mag/arcsec2)
LMC (ESO056-115)37248.7V 0.830.2961%21.58, 21.11
SMC (NGC0292)5542.2V 2.782.3064%21.64, 21.22
M31 (NGC0224)V 6.533.445.8%not added (under 25%: too few stars to carry the shape)

"Centre" is the inner fifth of the ellipse, the light added to the dark sky's V 22.0. A physical check from the catalogue alone: V 0.29 over the LMC's ellipse (1.0e9 arcsec2) is a mean of V 22.8 mag/arcsec2; an exponential disk is several times brighter at its centre than its mean, which puts the centre near V 21, as found.

In the renderer's sky (scripts/ck_sky_test.sh, check "galaxy N glows at its place": median linear luminance inside 0.3 of the short half axis over the median of a ring at 1.3 to 1.6 long half axes; the stars do not move a median): LMC 1.99, SMC 1.81 times the surround at 176bc51, LMC 2.06, SMC 1.67 since native-pixel sampling (6f4c6e8b) (bar 1.5). With the old screen-to-sky step: 0.99 and 0.95. Since 32c31dbf the sky behind Allen on the iMac is catalogue stars on black, so the test draws the renderer's diffuse sky directly (ck_sky_draw_milkyway) for these checks, and separately checks that the sky behind Allen is exactly the catalogue stars on black. Limits: Gaia's crowding limit thins the LMC bar's stars, so the true centre is somewhat more concentrated than drawn (UNVERIFIED how much); the grid is 1 degree, so the bar and 30 Doradus are not resolved.

The sky above you (wired). sky_real.c holds Greenwich mean sidereal time (IAU 1982), the zenith for a latitude and longitude, and the 1976 IAU precession back to J2000 (ui/tests/sky_test.c checks them against published values). Allen takes a place in two ways:

"sky above me" then shows the sky over that place, turning at Earth's rate (the screen refreshes every 10 seconds, allen_ui.c). Coordinates set the place only; the mode is unchanged.

4. The black holes and the picture of the merger

Measured by ui/tests/chirp_audit.c, output in evidence/real-sky/chirp-audit.txt. Published values used: source-frame masses 36 and 29 solar masses, final mass 62, final spin 0.67, redshift 0.09, luminosity distance 410 Mpc (Abbott et al. 2016, PRL 116, 061102, table I; abstract).

Bent light (real physics). A point mass moves the image of a star seen at angle theta from it, to where the star really is, beta = theta - E^2/theta. The code does exactly that (warp() in night.c), with the pull of both holes added. Two weak points, both mine:

Orbit and spiral (real law, compressed). Separation as t^(1/4), angle as t^(5/8), t the time left (leading-order inspiral, Peters 1964; Abbott et al. 2016). The picture's wide orbit is 270 design px, which with 1 Rs = 7.70 px is 35.1 Rs of a single hole, or 35.1 GM/c^2 of the pair. Physics there: orbital period 0.46 s, gravitational-wave pitch 4.4 Hz, 42 s to the merger, about 150 turns. The picture: one orbit per 5.2 s (11.4 times slower at the start), 6 s to the merger (7 times faster in total), 1.85 turns. So the law is real, the clock is not. The orbit is drawn leaning 60 degrees away from face on (its height is half its width).

Merger. Equal masses are drawn; the real ones are 36 and 29 (ratio 0.8, close enough for a picture, but a real unequal pair is lopsided). The final hole is drawn with a shadow 2.00 times each initial one; the published masses give 62 over 32.5 = 1.91, so the picture is 4.8 percent big. Its Einstein radius grows 1.414 times (square root of 2) where the square root of 1.91 is 1.381, the same gap. The real remnant spins at 0.67, which squashes and shifts its shadow; the picture draws a round, unspun one.

The ripple across the sky (illustration). The wave from GW150914 stretches space by about 10^-21 (peak strain 1.0e-21), a shift that no eye or telescope could see, and it does not move the stars across the sky. The picture draws a ring of stretch and squeeze with a cos 2 theta pattern, which is the true shape of a gravitational wave's effect on a ring of free particles, at a size about 20 orders of magnitude too large, running out from the merger over 3.6 s as if the wave were visible light crossing the screen. It stays because it makes the idea visible. It should be called an illustration wherever it is shown.

Ringing (illustration, wrong timescale). The real final hole rings in its least damped mode at 250 Hz (Berti, Cardoso and Will 2006 fit with mass 62 (detector frame 67.6), spin 0.67; matches the published 250 Hz top of the sweep) with a quality factor of 3.17, which is a damping time of 4.0 ms: gone in about two cycles. The picture's shadow wobbles with a 95 ms period and a 260 ms decay time: 2.7 cycles per decay time where the real one has 1. A real ringdown is too quick to see at all; the picture slows the period 24 times and the decay 65 times. Shown as a wobble for the same reason as the ripple.

5. The startup sound

ui/chirp.c, a "blirp" under a second, built from a formula and no recording.

Real: the pitch of an inspiral rises as (time left)^(-3/8) and the strength of the wave as pitch^(2/3). The code uses exactly those, and the peak is at the merger.

Measured against the real signal (evidence/real-sky/chirp-audit.txt):

Published and physicsThe kernel's sound
Pitch at the start35 Hz200 Hz (5.7 times higher)
Pitch at the topabout 250 Hz1000 Hz (4.0 times higher)
Sweep lengthabout 0.2 s (0.16 s by the leading-order law)0.59 s (3 times longer)
Cyclesabout 8 from 35 to 150 Hz (8.4 by the law)179
Ring after the merger250 Hz, gone in 4.0 ms1000 Hz held, 30.0 ms time constant

The sound is therefore the right kind of curve with invented numbers: higher (raised into hearing, but by 5.7 at the start and 4.0 at the top, not one factor), longer, with about twenty times the cycles, and a ring that is held at the peak pitch for far longer than the real one lasts. A single factor would be a real thing: a gravitational-wave signal scales exactly with the total mass, so a lighter pair would give higher pitch and a shorter chirp. The kernel's sound is not any one pair's.

What a real version would be: the signal as it is, 35 up to 250 Hz over about 0.2 s with its eight cycles, then a 250 Hz ring dying in 4 ms. It is audible (it is what LIGO's own audio of the event plays), but it is low and short, and small speakers do not reproduce 35 Hz. That choice, real and quiet against louder and invented, is Drake's. Work for it is a separate branch, feat/real-chirp.

6. Everything else on the screen

7. For the black-hole dusk (goodbye)

Notes for the branch feat/goodbye-event-horizon, so its picture can follow the same rules (the physics, all standard results for a non-spinning hole):

8. What this change measured

Sizes, timings and pictures are in evidence/real-sky/README.md. On one core of the Spark (not the iMac):

9. Open