Welcome to the documentation of the JWST-observation simulator!

This tool creates simulated spectra based on PandExo.

Guide

Soon to be added…

Installation

You will find a installation guide here.

Quickstart

Firstly, you have to update the params.yaml in the config directory with the observational parameters. If you have done that, you navigate to the script directory in a termainal and type python run.py. The simulated spectrum will be then saved in the runs_dir directory.

An example for a simulated spectrum:

_images/lc.png

This code is available in full at https://github.com/sebastian-zieba/JWST-observation-simulator.

Tutorial

You will find a tutorial here.

The Code

jwstobsim

class jwstobsim.utils.AncillaryData(params)[source]

Note

  • Units for the orbital period and ephemeris can be anything as long as they are consistent (e.g. both in days).
  • The orbital path is calculated based on t0 for primary transits and t_secondary for secondary eclipses.
jwstobsim.utils.bins_new(x, y, y_err, n_bins)[source]

Calculate maximum error for transit light curve calculation.

Parameters:plot (bool) – If True, plots the error in the light curve model as a function of separation of centers.
Returns:Truncation error (parts per million)
Return type:float

Acknowledgements

You will find the acknowledgements here.

Indices and tables