Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Simulate systematic effects in the context of CMB

Project Description

s4cmb (public version)

.. image::

.. figure::
:scale: 25 %

The package
Systematics For Cosmic Microwave Background (s4cmb), is a package to
study instrumental systematic effects in the context of current and future
Cosmic Microwave Background experiments.

The pipeline is mainly written in python and it has the following dependencies:

* numpy, matplotlib
* h5py (I/O)
* astropy, ephem, pyslalib, healpy (astro libs)
* f2py, weave (interfacing with python)

While we use python 2.7, we try to make it compatible with python 3.x.
If you are using python 3.x and you encounter an error, please open an issue or a
pull request so that we fix it asap.

Some parts of the pipeline are written in C (and compiled on-the-fly via the
package weave), and in Fortran (to come). The latter is interfaced with
python using f2py. The compilation is done usually when you install the
package (see, but we also provide a Makefile for more
customized compilations (see dir/Makefile).

Fork the repo from the github repository and clone it to your machine.
Use the for the installation. Just run:


python install

Make sure you have correct permissions (otherwise just add --user).
You can also directly use the code by updating manually your PYTHONPATH.
Just add in your bashrc:



Coming soon: pip package + dockerfile :-)

You can find notebooks describing how to use basic functionalities of s4cmb
in the folder jupyter_doc.


* Add the dockerfile.
* Link to pip.

Main developers
* Julien Peloton (j.peloton at
* Giulio Fabbian (gfabbian at

Release History

This version
History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(853.2 kB) Copy SHA256 Hash SHA256
Source Jul 17, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting