Skip to content

LSSTDESC/getObsAtmo

Repository files navigation

getObsAtmo

Python package to emulate atmospheric transparency simulation for different observation sites.

Transmission profiles depending on wavelength and airmass for Rayleigh scattering and atmospheric components absorption like Oxygen, water vapor or Ozon were extracted from libradtran. Those transmission profiles are located in obsatmo_data. In addition to libradtran interpolated gridded profiles, an analytic expression scattering for single component aerosol scattering is provided.

Download

git clone https://github.com/LSSTDESC/getObsAtmo.git

Installation

cd getObsAtmo
python setup.py install

tests

python -m unittest

Example

from getObsAtmo.getObsAtmo import ObsAtmo

emul = ObsAtmo(obs_str = "LSST", pressure = 743.0)
wl = [400.,800.,900.]
am=1.2
pwv =4.0
oz=300.
transm = emul.GetAllTransparencies(wl,am,pwv,oz) # get transmission
print("wavelengths (nm) \t = ",wl)
print("transmissions    \t = ",transm)

emul.plot_transmission()  # plot the transmission

Documentation

The detailed documentation can be used in https://getobsatmo.readthedocs.io/en/latest/index.html

About

Implementation of an atmospheric transparency emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages