Skip to main content

Bindings for GLESP for calculations with spherical harmonics

Project description

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

Installation

Requirements

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

Installation

To install package just input to command line:

pip install glespy

Using

To use in python you need to import glespy package

import glespy

Features

Automated parameters control, i.e.:

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

PixelMap

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.

Alm

Class for GLESP fits alm. Operations:

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

PointSource

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.

Cl

Class for manipulating with angular power spectrum. Operations:

  • convert to alm;
  • convert to pixel map.

Changes

0.1.7.2

  • Dl data type now is float32 from numpy

0.1.7.1

  • Calculation of D() from alm and pixelmap

0.1.7

  • Class for power spectrum added

0.1.6.1

  • description updated

0.1.6

  • 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 0.1.7.2
Filename, size File type Python version Upload date Hashes
Filename, size glespy-0.1.7.2.linux-x86_64.tar.gz (34.2 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size glespy-0.1.7.2.tar.gz (13.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page