background(wavelengths, exp_time) |
Detector background in counts of the NIRSpec S1600 prism/clear mode (for BOTS). |
draw_random_sunspot_latitudes(n[, mean_latitude]) |
Draw one or more random samples from the sunspot latitude distribution. |
draw_random_sunspot_radii(n) |
Draw one or more random samples from the sunspot radius distribution. |
flare_flux(times, flare_epoch, delta_f, …) |
Generate a flare that follows the flux distribution from Davenport et al. |
inject_example_flare(wavelengths, times, epoch) |
Inject example flare. |
inject_flares(wavelengths, times[, seed]) |
Inject flares into a transit light curve at times at wavelengths |
inject_microflares(wavelengths, times[, seed]) |
Inject flares into a transit light curve at times at wavelengths |
k296_all_transits(times) |
|
k62_all_transits(times) |
|
kepler1600(planet) |
Get planet properties. |
kepler296(planet) |
Get planet properties. |
kepler62(planet) |
Get planet properties. |
mask_simultaneous_transits_k296(times, planet) |
|
mask_simultaneous_transits_trappist(times, …) |
|
n_photons(wavelengths, fluxes, exp_time, J, …) |
Estimate the number of photons received from a target with J magnitude J over exposure time exp_time. |
nirspec_pixel_wavelengths() |
|
poisson(fluxes[, axis]) |
Add Poisson (counting) noise to fluxes |
quantum_efficiency(wavelengths) |
QE of the NIRSpec S1600 prism/clear mode (for BOTS). |
spitzer_variability(times[, seed]) |
Mimic unidentified variability observed at 4. |
spt_to_teff(spt) |
Convert spectral type (i. |
test([package, test_path, args, plugins, …]) |
Run the tests using py.test. |
throughput(wavelengths) |
Transmission of the NIRSpec S1600 prism/clear mode (for BOTS). |
transit_duration(params) |
Roughly approximate the transit duration from other parameters, assuming eccentricity = 0. |
transit_model(t, params) |
Generate a transit model at times t for a planet with propertiesi params. |
transmission_spectrum_depths(planet) |
|
trappist1(planet) |
Get planet properties. |
trappist1_all_transits(times) |
|
trappist_out_of_transit(times) |
|