Skip to main content

Zodipy is a python tool that simulates the instantaneous Zodiacal emission as seen from an observer.

Project description

Zodipy

Description

Zodipy is a python tool that simulates the instantaneous Zodiacal emission as seen from an observer.

Usage

The following will produce a HEALPIX map at NSIDE=128 of the simulated emission as seen by the Planck satellite today

import zodipy

zodi = zodipy.Zodi(observer='Planck')
emission = zodi.simulate(nside=256, freq=800)

The time of observation is defined as following

import datetime

time = datetime(2010, 1, 1)
zodi = zodipy.Zodi(observer='L2', observation_time=time)
emission = zodi.simulate(nside=256, freq=800)

The simulated emission can be visualized using Healpy and matplotlib

import healpy as hp
import matplotlib.pyplot as plt

hp.mollview(
    emission, 
    norm='hist', 
    unit='W/m^2 Hz sr', 
    title='Zodiacal Emission as seen from L2 (2010-01-01)', 
)
plt.show()

plot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zodipy-0.1.0.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

zodipy-0.1.0-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page