Skip to content

Instantly share code, notes, and snippets.

View ladsantos's full-sized avatar

Leonardo dos Santos ladsantos

View GitHub Profile
@ladsantos
ladsantos / ref_solar_irradiance_whi-2008_ver2.dat
Created December 21, 2023 15:49
Reference solar irradiance from the LASP Interactive Solar Irradiance Datacenter
This file has been truncated, but you can view the full file.
;
; Solar Spectral Irradiance Reference Spectra for
; Whole Heliosphere Interval (WHI) 2008:
; Carrington Rotation 2068
; 20 March 2008 to 16 April 2008
;
; Three periods within WHI are of particular interest:
; --------------------------------------------------
; March 25 - March 29 had 3 small active regions on the solar disk, but TSI is lower.
; This is considered moderately low solar activity and has sunspot blocking (darkening).
@ladsantos
ladsantos / HAT-P-11_spec.dat
Created May 6, 2021 11:32
Stellar flux from 5 to 2600 Angstrom arriving at the planet HAT-P-11 b (from the MUSCLES database)
This file has been truncated, but you can view the full file.
# Wavelength (A) Flux density at planet (erg/s/cm^2/A)
4.809181690216064453e+00 1.481037364097737097e+01
9.661773681640625000e+00 4.090424111402812812e-01
1.538304710388183594e+01 6.987623281623321247e+00
1.977779579162597656e+01 8.841277458904285069e+00
2.345973968505859375e+01 8.969739574618197153e+00
2.906380081176757812e+01 5.054996994071267125e+00
3.409113693237304688e+01 5.435642157408120845e+00
3.957408714294433594e+01 2.511019224362939006e+00
4.713372802734375000e+01 2.708297311014336906e+00
@ladsantos
ladsantos / WASP-107_b_He.dat
Last active May 4, 2021 12:12
He transmission spectrum of WASP-107b measured with CARMENES (Source: DACE database at https://dace.unige.ch/openData/)
# Wavelength (A) Spectrum (%) Uncertainty (%)
10828.9872 0.314256480616 0.949015359519
10829.0448 -0.025338358943 0.941966797162
10829.1024 -0.031281248915 0.944411071456
10829.16 0.784594190059 0.941737150927
10829.2176 0.049979064183 0.950244132561
10829.2752 0.287439894142 0.952406033855
10829.3327 0.031721629378 0.957437455371
10829.3903 -0.37997013748 0.965386897659
10829.4479 -0.104825249096 0.969886614003
@ladsantos
ladsantos / HAT-P-11_b_He.dat
Last active May 4, 2021 12:12
He transmission spectrum of HAT-P-11b measured with CARMENES (Source: DACE database at https://dace.unige.ch/openData/)
# Wavelength (A) Spectrum (%) Uncertainty (%)
10829.0277 -0.006339032842 0.209804955372
10829.0855 -0.008565300696 0.209826803783
10829.1434 -0.168555670491 0.210010233094
10829.2012 -0.070905015076 0.210003399084
10829.259 -0.013467100496 0.210058883742
10829.3168 -0.024191369498 0.210226748916
10829.3746 -0.058682056888 0.210397418468
10829.4324 -0.3108329101 0.210806401951
10829.4902 -0.233068506802 0.210937116893
@ladsantos
ladsantos / exoplanet_transmission_list.txt
Last active February 17, 2021 09:30
List of exoplanets that have had their atmospheres probed in transmission
CoRoT-1 b
GJ 436 b
GJ 1214 b
GJ 3470 b
GJ 9827 b
GJ 9827 c
GJ 9827 d
HAT-P-1 b
HAT-P-11 b
HAT-P-12 b
@ladsantos
ladsantos / telesc_diffr.py
Last active August 29, 2015 14:14
This code plots the diffraction pattern produced by a point-like source of light in a telescope
import numpy as np
import scipy.special as sp
from pylab import imshow,show,gray,hot
import matplotlib.pyplot as plt
from timeit import default_timer as timer
def func(x,m,theta):
return np.cos(m*theta-x*np.sin(theta))
wl = 500E-9 # wavelength, in meters
{
"metadata": {
"name": "",
"signature": "sha256:98fcea68ba105712b72f7e888ccceecb26f7e7b0f814f9f6a58c21f28de2453b"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [