Skip to content

Instantly share code, notes, and snippets.

View perwin's full-sized avatar
💭
Nonplussed

Peter Erwin perwin

💭
Nonplussed
View GitHub Profile
@perwin
perwin / asteroid_luminosity_calcs.py
Last active June 21, 2021 12:09
Python code supplementing astronomy.stackexchange answer
# Python code supplementing an answer to a question on the Astronomy Stackexchange site
# https://astronomy.stackexchange.com/questions/44453/when-thermal-infrared-space-telescopes-spot-asteroids-are-they-seeing-the-body/44456#44456
# We want to compute the relative luminosities produced by an asteroid orbiting the Sun, comparing the monochromatic
# luminosity from reflected sunlight to that from the asteroid's own thermal emission.
# Requires: Numpy, Astropy
import math