惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 【当耐特】
云风的 BLOG
云风的 BLOG
罗磊的独立博客
C
Check Point Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
宝玉的分享
宝玉的分享
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园_首页
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
人人都是产品经理
人人都是产品经理
爱范儿
爱范儿
I
InfoQ
Hugging Face - Blog
Hugging Face - Blog
T
Tailwind CSS Blog
B
Blog RSS Feed

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Satellite maths meets reality
Justin · 2026-05-14 · via DEV Community

This is an image a friend took of a Comet (C/2025 R3 PANSTARRS) that is visiting the night skies currently. It is a 30 second exposure and the Nikon camera had a bad internal clock so it was timestamped at an uncertain time. The exact spot was known.

The challenge: can we reconstruct the same image, with the stars in the same place, identify the exact time it was taken and will everything match up?

This sounds straight forward but when you consider the chain of maths and coordinate systems that has to work correctly, it still boggles my mind that it works.

First, the camera location, from GPS, has to be correct. The GPS location is a lat long, and altitude. But not on a perfect sphere, it is on an oblate spheroid. It is no good putting the camera at 6371000 meters from earth center!

Next, the satellites in the picture have been pinpointed at a random moment in time up to 24 hours before the picture was taken and during the intervening time they have orbited the earth dozens of times. They have to arrive on-time, moving in exactly the correct direction. The propagation is a chain of maths that takes into account orbital mechanics, drag, gravity influences and so on.

All the stars in the picture are in charts, but the universe view precesses (from our viewpoint) slightly over decades so the (fixed) catalog one uses has to be rotated from its start point. This is because the earth has a spin-tilt that changes slightly over time. (There are 1 and 2 orders of magnitude effects on star positions as well that are only taken into account in very high precision astronomy).

The camera has that takes the picture needs very finely engineered optics that introduce no significant distortion. In addition, it needs to be level, and for a long exposure, it needs to be mounted on an electronic device (equatorial mount) that slowly moves it over the shutter duration to track the rotation of the sky, otherwise there would be star-trails.

The simulation has to reproduce the patch of sky (since I care about satellites, not star density or nebulae, only a few key stars are showing) at the exact time, at the exact instant the shutter was pressed, and it has to also mimic the equatorial mount motion, the focal length of the camera and fov h and v. It has to position the satellites correctly and move them over the same period and accumulate the frames in a similar way to a digital camera. If the observer is at the wrong spot, any of the coordinate frame conversions are slightly wrong, if the sky data has not been precessed the right way or in the right magnitude, or if the satellite propagation is off, things will not look right. The trails won't match, or they will, but the stars won't match, or the time will be wrong.

It is a good way to discover small numerical problems not obvious in casual use. In essence, nature has provided us one image and the giant pile of maths has to arrive at the same image, by an entirely synthetic process. Natures pixels on one side, a sim on the other, they have to match.

Just for fun, the simulation also plate-matches any picture you are working to match. Plate matching a process of identifying the brightest stars, measuring their relationship in angles, then searching the star catalog to find the exact piece of the sky pictured, and reverse calculating out (given location and time) what angle the camera must have been at to get that shot. (Elevation and azimuth and also the roll of the camera).

The result:

  • The sim stars (skybox) matches
  • The trails match in location length and so on
  • The plate-solve calculates the correct camera position
  • The Nikon camera was 6 minutes(!) wrong with its internal clock
  • The Roll of the camera was 0.5 degrees

If you have a picture with satellite trails, you can play with matching it to actual satellites. You will need to know the location and approximate time it was taken. The rest you can figure out.

Satellite photo simulator page