Coder Social home page Coder Social logo

aotianaojie / cmbica Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ziotom78/cmbica

0.0 0.0 0.0 718 KB

A program which applies the FastICA algorithm to sky maps in order to separate foreground components from the CMB

Makefile 34.95% TeX 65.05%

cmbica's Introduction

README for CMBICA

Warning: This repository is currently archived.

Introduction

CMBICA is a Python program to run the FastICA algorithm over maps of the microwave sky, with the intent to separate the signal of the Cosmic Microwave Background (CMB) from other foreground signals (like e.g. synchrotron). It is a complete rewrite of a Fortran90 program written by Carlo Burigana, Andrea Farusi and Davide Maino. This rewrite exploits a number of "new" programming concept, like the usage of literate programming approach (using Noweb) and the extensive use of test cases to validate the code.

Supported platforms

CMBICA has been developed on Mac OS X 10.5 and 10.6, but it can be run also on Linux (and probably any other Unix machine). I am happy to implement patches that allow the library to be used on other systems as well.

Installation

Before compiling and installing the software, you have to install the following components:

  • Python (at least version 2.5) — if you are using a Unix system or Mac OS X, there are good chances that you already have it;

  • NumPy, a Python library;

  • PyFITS, a Python library to load FITS files;

  • HealPy, a Python port of the famous Healpix library.

  • To create the documentation, you need to have LaTeX and the texi2pdf script installed.

Python libraries can easily be installed using the easy_install script or other platform-specific tools like port under Mac or apt-get under Ubuntu Linux. Remember however that some of them might not have been ported to your platform yet (this is most likely for HealPy).

To create both the Python executable and the documentation (in PDF) format, just run make (or gmake).

Usage

To use the program, you have to write a parameter file, that is a text file containing the information needed by the program to do its job. This includes the path to all the FITS files (in the Healpix format) containing the sky maps, the output files to write and optionally the mask to use in the process.

cmbica's People

Contributors

ziotom78 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.