Questions tagged [healpy]

Healpy provides a python package to manipulate healpix maps. It is based on the standard numeric and visualisation tools for Python, Numpy and matplotlib.

Healpy provides a python package to manipulate healpix maps. It is based on the standard numeric and visualization tools for Python, Numpy, and matplotlib.

The documentation can be found at https://healpy.readthedocs.io/, tutorial at https://healpy.readthedocs.io/en/latest/tutorial.html.

147 questions
0
votes
1 answer

Building Healpy library - can not find cfitsio library

I am trying to build a Python library Healpy. My first try was to use pip. After typing: >pip install --user healpy i got result: >checking if library 'cfitsio' is installed >error: No such file or directory After that i tried to build library on…
Dominik
  • 87
  • 2
  • 11
0
votes
1 answer

healpy: galactic and equatorial plane drawing fails

I am very new with healpy and python, but I would like to draw a skymap with the galactic plane and the equatorial plane in galactic coordinates. The first issue that I have is that I am not able to draw a strait line: import healpy as hp import…
user4050567
  • 87
  • 10
0
votes
1 answer

Fast way using healpy to get convolution of a healpy map and a 2D Gaussian

I have a healpix map with nside=512 (= huge numpy.ndarray, about 3.1E6 elements). I need to convolute it with a 2D Gaussian. I tried creating a healpix map of the Gausian, multiplying the two numpy.ndarray and getting the sum; this is too…
Asen Christov
  • 848
  • 6
  • 21
0
votes
0 answers

import healpy unicode error with enthought canopy python

I'm running Ubuntu 12.10 Enthought Canopy Python 2.7.6 64 bit I have succesfully installed healpy using the direct Healpix configuration as well as using sud pip install healpy, and have made sure PYTHONPATH was set accordingly in the bashrc. When…
0
votes
1 answer

Plot Polarization from fits file using Healpy

I'd like to access the polarization from a fits file and plot it using Healpy. I see that Healpix has a built in option called POLARIZATION, but I don't see the same options for Healpy. How can I plot this data? Thanks! Edit: @AndreaZonca Here is…
bluebird343
  • 133
  • 3
  • 10
0
votes
0 answers

healpy install on osx: unable to find cfitsio

I'm trying to install healpy on my Mac OSX 10.8.5 machine. I downloaded the latest copy from https://pypi.python.org/pypi/healpy/1.6.3, unpacked it and tried the command: python setup.py build as it says in the docs, but I keep getting the…
brycek
  • 23
  • 7
0
votes
0 answers

Healpy and Canopy

Canopy Currently Does not have Healpy as an available package. I have tried to install Healpy by hand using the following commands: Download healpy.1.6.2.tar.gz and unzip to /home/user/healpy.1.6.2/ Check that canopy python is default Python...…
Tim
  • 1
  • 2
0
votes
2 answers

Healpy Mollview function returned nothing

I am a new healpy user. I used healpy tutorial available at page http://healpy.readthedocs.org/en/latest/tutorial.html for creating a map but after execution of "healpy.mollview" command it returned nothing and no plot was visible. Need Help! I have…
-1
votes
1 answer

Power spectrum plot from numpy data set by using healpy

I am just starting to use healpy in python. In shortly, I have a data of position let x = np.array([7.47098722,  7.47805867,  7.47098779....12.57804461, 12.5809734]) y = np.array([58.32516929, 58.33223959, 58.33516828, ..., 63.41415155,…
M Cosmo
  • 19
  • 4
-1
votes
2 answers

ECEF frames in astropy/healpix?

I went through the astropy documentation and concluded that there are no native ECEF (earth-centered, earth-fixed) frames with lon, lat coordinates that can be converted into equatorial coordinates RA, dec if the time is given. Is this…
-1
votes
1 answer

Healpy query_polygon returns incorrect area

I'm using healpy.query_polygon to find the pixel indices corresponding to a rectangular FOV. However, the indices which are returned do not match my input- creating a polygon in healpy space which is ~100x larger than the FOV (or returns ~14000…
scootie
  • 43
  • 5
-1
votes
2 answers

Why do healpix "alm" routines return arrays l and m of the same length?

From what I remember of my quantum physics and university maths, for every mode l, there exists m = l-1, l, l+1. Why do healpix (in my case, specifically healpy) spherical harmonic routines, e.g. healpy.sphtfunc.alm2map, return arrays of l and m…
1 2 3
9
10