Skip to main content

pixell

Project description

=======
pixell
=======

.. image:: https://travis-ci.org/simonsobs/pixell.svg?branch=master
:target: https://travis-ci.org/simonsobs/pixell

.. image:: https://readthedocs.org/projects/pixell/badge/?version=latest
:target: https://pixell.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status





This is an early development repository for a CMB map analysis library. The API for core modules will likely remain the same as in amaurea/enlib, but module and repository names are very likely to change!

* Free software: BSD license
* Documentation: https://pixell.readthedocs.io.

Dependencies
------------

* Python>=2.7 or Python>=3.4
* gcc/gfortran or Intel compilers (clang might not work out of the box)
* libsharp (downloaded and installed)
* automake (for libsharp compilation)
* healpy, Cython, astropy, numpy, scipy, matplotlib, pyyaml, h5py

Installing
--------

To install, run:

.. code-block:: console

$ python setup.py install --user

Existing ``libsharp`` installation
~~~~~~~~~~

You can use an existing ``libsharp`` installation by symlinking the ``libsharp`` directory into a directory called ``_deps`` in the root directory.


Intel compilers
~~~~~~~~~~

Intel compilers might require a two step installation as follows

.. code-block:: console

$ python setup.py build_ext -i --fcompiler=intelem --compiler=intelem
$ python setup.py install --user


Development workflow
~~~~~~~~~~

If you are a developer, run:

.. code-block:: console

$ python setup.py build_ext -i

and add the cloned directory to your Python path so that changes you make in any python file are immediately reflected. e.g., in your ``.bashrc`` file,

.. code-block:: bash

export PYTHONPATH=$PYTHONPATH:/path/to/cloned/pixell/directory

If you also need non-Python code to be recompiled, run:

.. code-block:: console

$ python setup.py clean


before the above steps.



Contributing
-------

If you have write access to this repository, please:

1. create a new branch
2. push your changes to that branch
3. merge or rebase to get in sync with master
4. submit a pull request on github

If you do not have write access, create a fork of this repository and proceed as described above. For more details, see :ref:`ContributingPage`.



=======
History
=======

0.1.0 (2018-06-15)
------------------

* First release on PyPI.

Project details


Release history Release notifications | RSS feed

This version

0.4.0

Download files

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

Source Distribution

pixell-0.4.0.tar.gz (143.6 kB view details)

Uploaded Source

File details

Details for the file pixell-0.4.0.tar.gz.

File metadata

  • Download URL: pixell-0.4.0.tar.gz
  • Upload date:
  • Size: 143.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for pixell-0.4.0.tar.gz
Algorithm Hash digest
SHA256 25ac83a2ed248dc4a202280e34e5f8fe8fa13ebcd2e93d92ac8ff9abe77c7c7a
MD5 6b5b6f4ce0fe538b8f209eca451a7ea7
BLAKE2b-256 e28caa24de09d07e961f9cd7c273ebc2887ae8842a9c1deb410614775456ab12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page