Repository navigation
Pulsar lab: learn pulsars with a simulated observatory and analysis tools - #23
Merged
Merged
Conversation
…alysis tools A new section at /pulsar-lab/ (CN) and /pulsar-lab/en/. No live public pulsar feed exists, so it simulates observations from real numbers: ATNF catalogue periods, DMs, distances and declinations, and published flux densities across frequency (lib/pulsar-fluxes.json, from pulsar_spectra; scripts/pulsar_fluxes.py rebuilds it). Noise follows the radiometer equation for four real telescopes. - Lighthouse animation of the beams and the pulses a telescope receives - "Two kinds of frequency": a zoomable time window from nanoseconds to seconds that separates the radio carrier from the spin rhythm, tied to Ross 128 b's 1420.55 MHz beacon keeping J1909-3744's 339 Hz beat - Observatory: pulsar, telescope (visibility by declination) and band; scrolling raw filterbank waterfall showing the dispersion sweep; sound of the pulsar - Analysis tools on the same observation: FFT periodicity search with harmonic summing, sifting and a DM-trial search; dedispersion with S/N vs DM; folding with phase-time plot and S/N vs period; the measured spectrum - A random "mystery signal" to find with the tools - Menu and footer entries in kit/nav.*.json, home-page cards, cross-links Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AeC2HbRouLBGb3NXAjnx8e
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by L · project thread
A new section at
/pulsar-lab/(CN) and/pulsar-lab/en/for learning about pulsars./pulsars/(the ledger) is untouched.Real or simulated
There is no public live pulsar feed a static page could use, so the page simulates observations, but from real numbers:
lib/pulsar-fluxes.json, from the MIT-licensed pulsar_spectra compilation;scripts/pulsar_fluxes.pyrebuilds it)What is on the page
kit/nav.*.json, cards on both home pagesTests
npm test: 37 pass (10 new intests/pulsarlab.test.mjs: dispersion, flux fits, profiles, visibility, dedispersion/folding peak at truth, FFT finds a pulsar, sound range). Checked in Chromium at desktop and 390 px phone width with no console errors and no horizontal scroll.Generated by Claude Code