https://github.com/r-xue/htau
High-Resolution Molecular Hydrogen Optical Depth Template in the Lyman-Werner Absorption Bands
https://github.com/r-xue/htau
absorption-spectrum astrophysics idl python spectroscopy
Last synced: 3 months ago
JSON representation
High-Resolution Molecular Hydrogen Optical Depth Template in the Lyman-Werner Absorption Bands
- Host: GitHub
- URL: https://github.com/r-xue/htau
- Owner: r-xue
- License: other
- Created: 2018-12-12T22:38:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-16T09:21:35.000Z (about 3 years ago)
- Last Synced: 2025-10-09T21:29:22.669Z (3 months ago)
- Topics: absorption-spectrum, astrophysics, idl, python, spectroscopy
- Language: Makefile
- Homepage:
- Size: 4.76 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
htau
====
A High-Resolution Molecular Hydrogen Optical Depth Template in the Lyman-Werner Absorption Band
Description & Features (planned)
--------------------------------
This Python package ***will*** offer the tool to create and use high-resolution molecular hydrogen optical depth templates in the `Lyman-Werner `_ absorption bands.
The principles and advantages of such templates for relevant FUV spectroscopy analysis were presented in `McCandliss 2003 `_.
Despite following the same idea, ``htau`` is different in several aspects:
+ The package is fully written in ``Python`` (instead of ``IDL``) and takes the advantages of existing Python libraries/framework (`astropy `_, `linetools `_, etc.)
+ meet open-source standards with modern documentation
+ automatically compile HI and H2 atomic/molecular data from online sources (not distributed along with ``htau``)
+ offers a command-line interface to efficiently generate templates locally to your specifications (e.g. spectral resolution, sampling of *b*-values), therefore no need to distribute bulky pre-calculated tables
.. note::
I wrote a primitive `IDL version <./pro>`_ of ``htau`` many years ago, which was an attempt to create similar templates to `McCandliss 2003 `_ with more efficient computing methods, finer resolution/*b*-value sampling, and updated atomic/molecular data.
That effort was used in `Welty, Xue, & Wong 2012 `_.
TODO
----
- parse the atomic/molecular data of H2/HD/HI/DI from sources into the linetools.LineList format
- derive tau tables per rotational band on a log(wave)-b grid
- spectrum "maker" (interpolation/gridding/flux-conservation)
- translate ``calc_igmtau.pro`` into Python