Metadata-Version: 2.1
Name: zodipy
Version: 0.1.1
Summary: Zodipy is a python tool that simulates the instantaneous Zodiacal emission as seen from an observer.
Home-page: https://github.com/MetinSa/zodipy
License: MIT
Author: Metin San
Author-email: metinisan@gmail.com
Requires-Python: >=3.8,<3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: astropy (>=4.3.1,<5.0.0)
Requires-Dist: astroquery (>=0.4.3,<0.5.0)
Requires-Dist: healpy (>=1.15.0,<2.0.0)
Requires-Dist: numpy (>=1.21.1,<2.0.0)
Requires-Dist: scipy (>=1.7.1,<2.0.0)
Description-Content-Type: text/markdown

# Zodipy

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

## Usage
The following will produce a HEALPIX map of the simulated Zodiacal emission at
800 GHz as seen from L2 at 2010-01-01
```python
import zodipy
from datetime import datetime

zodi = zodipy.Zodi('L2', datetime(2010, 1, 1))
emission = zodi.get_emission(nside=128, freq=800)
```

The simulated emission can be visualized using Healpy and matplotlib
```python
import healpy as hp
import matplotlib.pyplot as plt

hp.mollview(
    emission, 
    norm='hist', 
    unit='MJy/sr', 
    title='Zodiacal Emission as seen from L2 (2010-01-01)', 
)
plt.show()
```
![plot](imgs/zodi.png)
