Skip to main content

Bindings for GLESP for calculations with spherical harmonics

Project description

This package contains line bindings for GLESP with some ‘candies’:



  • GLESP must be installed with all dependences for normal work;
  • numpy to work with dl$
  • eog (to show maps).


To install package just input to command line:

pip install glespy


To use in python you need to import glespy package

import glespy


Automated parameters control, i.e.:

lmin >= 0
lmax >= lmin
nx >= lmax * 2 + 1
np >= nx * 2


Class for GLESP fits pixel maps. Possible operations are:

  • arithmetics (+, -, *, …);
  • convert from alm GLESP files;
  • draw map (with eog, if it’s installed);
  • get map attributes;
  • cut/keep zones;
  • reflect map;
  • mask map;
  • get C(l), alm and gif.


Class for GLESP fits alm. Operations:

  • get attributes;
  • convert to GLESP pixel map;
  • smooth;
  • rotate;
  • get C(l).


Class for getting GLESP fits map from file with ascii values. It can be with point sources or pixel map in ascii format. Operations:

  • get pixel map;
  • show.


Class for manipulating with angular power spectrum. Operations:

  • convert to alm;
  • convert to pixel map.


  • Dl data type now is float32 from numpy

  • Calculation of D() from alm and pixelmap


  • Class for power spectrum added

  • description updated


  • quick update alm lmax and lmin
  • temp maps and alm`s autoremove
  • pointsource can be made of asci file from/for pixelmap
  • python2.6 particle compatibility

Project details

Download files

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

Files for glespy, version
Filename, size File type Python version Upload date Hashes
Filename, size glespy- (34.2 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size glespy- (13.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page