Giter VIP home page Giter VIP logo

spectools_ir_multicom's Introduction

spectools-ir-multicom

Spectools_ir_multicom is a small suite of tools designed for analysis of medium/high-resolution IR molecular astronomical spectra. It consists of three main sub-modules (flux_calculator, slabspec, and slab_fitter) as well as a 'utils' sub-module, with a few additional functions. As compared to spectools_ir, spectools_ir_multicom performs a multi-component fit to the line fluxes.

Spectools_ir_multicom was written with infrared medium/high-resolution molecular spectroscopy in mind. It often assumes spectra are in units of Jy and microns, and it uses information from the HITRAN molecular database. Some routines are more general, but users interested in other applications should proceed with caution.

Users are requested to let the developer know if they are using the code in spectools_ir_multicom. The code has been tested for only a few use cases, and users utilize at their own risk.

Requirements

Requires internet access to utilize astroquery.hitran and access HITRAN partition function files.

Requires several standard scientific packages, as well as astropy, astroquery, corner, and emcee.

Modules

flux_calculator is a set of python codes to compute line fluxes from an IR spectrum.

slabspec is a set of python codes to produce LTE slab model emission spectra of molecules using the HITRAN database.

slab_fitter is a set of python codes to perform MCMC slab model fits to line fluxes using "emcee" (Foreman-Mackey et al. 2013; https://github.com/dfm/emcee; https://emcee.readthedocs.io/en/stable/) with flat priors.

utils contains some useful utility functions, including functions specific to JWST MIRI-MRS.

Usage

Example usage can be found at https://github.com/csalyk/spectools_ir_multicom/ in docs/example.ipynb

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.