Git Product home page Git Product logo

depoltool's Introduction

Interactive tool for a depolarization model of a two-layer and a three-layer system (applied to the spiral galaxy M51).

A python 2.7 code to visualize the depolarization model by Carl Shneider (Shneider et al. 2014) and to change model parameters interactively.

#################################################################################

The script uses Python version 2.7 and Matplotlib version 1.3.1

If you want to use a higher version of matplotlib (2.0+), replace the keyword 'axisbg' with 'facecolor'.

#################################################################################

Written by Maja Kierdorf, Feb. 2020

This script models the normalized degree of polarization as a function of wavelength in a two-layer or a three-layer system applied to the nearby spiral galaxy M51 and allows to interactively change some model parameters. Details are discussed in Kierdorf et al. (in prep.) and in a PhD thesis from Maja Kierdorf (Univ. of Bonn, 2019): http://hss.ulb.uni-bonn.de/2019/5543/5543.htm

The model is based on the work of Shneider et al. 2014: https://ui.adsabs.harvard.edu/abs/2014A%26A...567A..82S/abstract

#################################################################################

x-axis: Wavelength

y-axis: Normalized degree of polarization (p/p_0) with p_0=0.7

Changeable parameters:

B_d - regular magnetic field in the disk in microGauss

B_h - regular magnetic field in the halo in microGauss

b_d - turbulent magnetic field in the disk in microGauss

b_h - turbulent magnetic field in the halo in microGauss

ne_d - thermal electron density in the disk in cm^-3

ne_h - thermal electron density in the halo in cm^-3

MODELS

D : Disk regular field

H : Halo regular field

A: Anisotropic turbulent fields

I: Isotropic turbulent fields

Example: DAHI means regular fields in Disk and Halo (DH), Anisotropic turbulent field in Disk (A), and Isotropic turbulent field in Halo (I)

#################################################################################

The 'Depoltool_Example_Data.pdf' file shows an example with datapoints showing the observed degree of polarization between ~ 3 and 27 cm (Kierdorf et al., in prep.).

depoltool's People

Contributors

majatron avatar

Watchers

James Cloos avatar  avatar

Forkers

alecthomson

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.