If the Sun was the size of a lentil, the nearest star would be 140 km away. Voyager 1 is now 90 m from the Sun 😬
Douglas Adams said it best: "Space is big. You just won't believe how vastly, hugely, mind-bogglingly big it is. I mean, you may think it's a long way down the road to the chemist's, but that's just peanuts to space."
Aunque me daba la sensación de que la escala era correcta, quise comprobarlo, y seleccionando el primer párrafo le pedí a Siri AI…
Can you verify this? Give me some Python code I could verify it.
O lo que es lo mismo, ¿Puedes verificarlo? Dame algo de código Python que lo pueda verificar.
Y me proporcionó un código de Python relativamente decente:
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
Scaled distance to Proxima Centauri: 144.35 km
Scaled distance to Voyager 1: 93.07 m
Así que desde luego parece que Juan Carlos había hecho bien sus cálculos 😉
Sin embargo, hay muchas asunciones embebidas en ese código, muchas constantes, y se hace difícil hacer comparaciones si cambian las unidades. Así que le pedí…
Please use Astropy units and constants to make this code more self-explanatory.
Astropy es un paquete de Python para astronomía con gran cantidad de funciones, pero una de las más importantes para mi es su biblioteca de constantes, y de manejo de unidades. Así que la petición era que rehiciera el código utilizando Astropy, y valores astronómicos como el radio del Sol, y este fue el resultado (con algún problema de formateo en la salida de Siri AI que obviaremos):
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
--- Scale Verification ---
Scale Factor: 1 to 278,280,000,000
Scaled distance to Proxima Centauri: 144.35 km (Claim: ~140 km)
Scaled distance to Voyager 1: 93.00 m (Claim: ~90 m)
La razón por la que estamos hablando hoy de la Voyager 1 es porque justo está a un día luz, así que le pedí a Siri AI…
Set the distance to Voyager as one light-day.
Y el código final quedó como:
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
--- Scale Verification ---
Scale Factor: 1 to 278,280,000,000
Scaled distance to Proxima Centauri: 144.35 km (Claim: ~140 km)
Scaled distance to Voyager 1: 93.08 m (Claim: ~90 m)
Una última nota: personalmente, you habría calculado la conversión a partir de un año luz (u.lightyear):
Deja un comentario