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.

Source Distribution

glespy-0.1.7.2.tar.gz (13.6 kB view hashes)

Uploaded Source

Built Distribution

glespy-0.1.7.2.linux-x86_64.tar.gz (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