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.

Source Distribution

glespy- (13.6 kB view hashes)

Uploaded Source

Built Distribution

glespy- (34.2 kB view hashes)

Uploaded Source

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