<p>Assuming you have downloaded their software from the link you provided and have astropy installed, you should be able to do:</p>

<pre><code>from wssa_utils import wssa_getval
from astropy import units as u
from astropy.coordinates import SkyCoord

# Declare your wanted point in Galactic co-ordinates
c = SkyCoord(l=0, b=30, unit=(u.deg,u.deg), frame='galactic')
ra = c.icrs.ra
dec = c.icrs.dec
vals = wssa_getval(ra, dec)
</code></pre>

<p>The results look like they will be in MegaJanskys per steradian, which would be <code>u.MJy/u.sr</code> in astropy units.
For UV data, I'm not sure what is best, maybe <a href="http://galex.stsci.edu/GR6/" rel="nofollow noreferrer" title="GALEX">GALEX</a> ?</p>

CC BY-SA 4.0
2018-07-21T05:41:43.537Z
2018-07-21T05:41:43.537Z
astrosnapper
<p>I need some help obtaining IR background diffuse data from the WISE observation. There is already some work done in this regard; see: <a href="http://wise.skymaps.info/" rel="nofollow noreferrer">http://wise.skymaps.info/</a> . These are .fits files. How do I find out the photon irradiance for a range (say glat b/w 0 and 30) from these files? Any help is appreciated. Also, how do I correlate this with UV flux for the same range using python?</p>

<fundamental-astronomy><data-analysis><python>
Obtain IR diffuse data from WISE
notDarkMatter
# Obtain IR diffuse data from WISE

(Asked by: username_0 on 2018-05-22)

I need some help obtaining IR background diffuse data from the WISE observation. There is already some work done in this regard; see: <http://wise.skymaps.info/> . These are .fits files. How do I find out the photon irradiance for a range (say glat b/w 0 and 30) from these files? Any help is appreciated. Also, how do I correlate this with UV flux for the same range using python?

**Tags:** fundamental-astronomy, data-analysis, python

---

## 1 answers

### Answer by username_1 on 2018-07-21. Score: 1 | Accepted answer

Assuming you have downloaded their software from the link you provided and have astropy installed, you should be able to do:
from wssa_utils import wssa_getval
from astropy import units as u
from astropy.coordinates import SkyCoord

# Declare your wanted point in Galactic co-ordinates
c = SkyCoord(l=0, b=30, unit=(u.deg,u.deg), frame='galactic')
ra = c.icrs.ra
dec = c.icrs.dec
vals = wssa_getval(ra, dec)

The results look like they will be in MegaJanskys per steradian, which would be u.MJy/u.sr in astropy units.
For UV data, I'm not sure what is best, maybe GALEX ?


---

