GithubHelp home page GithubHelp logo

juliaroquette / av_functions Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.34 MB

Package with tools related to the use of Interestellar Extinction Laws for the Milky Way

Jupyter Notebook 99.76% Python 0.24%
astrophysics interstellar-extinction

av_functions's Introduction

@juliaroquette - 20 December 2023 This repository concentrates on functions related to the extinction law.

The extinction Law itself

In ExtinctionLaw.ipynb I am testing a few different extinction laws and choosing a combination of literature extinction laws as default. These are basically development notes behind the class ExtinctionLaw, which can be used to interpolate values of $\frac{A_\lambda}{A_V}$ for any $\lambda$ from 0.0001 -- 10000$\mu$m.

This is done employing the dust_extinction package from AstroPy. My current default extinction curve has the following assumptions:

  1. $R_V=3.1$ - although in the future I may want to escalate this for other values of $R_V$.
  2. For the range 0.2-12$\mu$m, I am adopting the Gordon et al. 2023 extinction law.
  3. Outside this range, I am adopting an extinction law from dust-models by Draine (2003, ARA&A, 41, 241; 2003, ApJ, 598, 1017), who used the distribution of grains sizes from Weingartner & Draine (2001, ApJ, 548, 296).
  4. The truncation limits in 2. are chosen by eye based on the comparison between the extinction curves in 2. and 3..
  5. The upper and lower limit is defined by the availability of 3.
  6. This extinction law is valid for the Milky Way.

TO DO:

  • Include a function to provide A_lambda for given lambda.
  • In the future this package will also allow deriving $A_\lambda$ for a given photometric system given a transmission curve.

Extinction derivations using the T-Tauri Locus

The jupyter-notebook get_Av_from_JHK_TTauriLocus.ipynb contains notes of the development of a code to estimate $A_V$ values for Young Stellar Objects (YSO) based on the JHKs-colour space using the Classical TTauri Locus as a reference.

av_functions's People

Contributors

juliaroquette avatar

Watchers

 avatar

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.