Code Monkey home page Code Monkey logo

fg_rm's Introduction

fg_rm is the set of tools used in ADD REFERENCE to study the efficiency
of three different blind foreground cleaning methods for HI intensity 
mapping. fg_rm is written in C and C++.

1 Installation.
  a) Modify the appropriate fields in the Makefile, in particular the paths
     to the dependencies' headers and libraries
  b) typing 'make' should do the trick

2 Dependencies.
  fg_rm uses several external libraries, which need to be installed before
  compiling it:
    a) GSL - GNU Scientific Library (version >= 1.16)
    b) FFTW - Fastest Fourier Transform of the West (version >= 3.3.3)
    c) HEALPix's C library (version >=3.11)
    d) libsharp - Library for spherical harmonic transforms
    e) CFITSIO
    f) IT++ (version >= 4.2)

3 Usage.
  To run fg_rm just type
    $ ./fg_rm <param filename>
  where <param filename> is the path to a parameter file controling the
  behaviour of fg_rm. The public version of the code comes with a sample
  param file (param.ini). The comments included in it are fairly explanatory.

4 Output.
  Depending on the parameters used to run fg_rm it will generate four
  different types of files:
    a) Foreground-cleaned maps: a set of HEALPix files containing a
       the cleaned temperature maps.
    b) Angular power spectra: a file containing 4 columns in this order:
        1- Multipole number l
        2- Angular power spectrum of the foreground-cleaned map
        3- Angular power spectrum of the foreground-free map
        4- Angular power spectrum of the cleaning residuals
    c) Radial power spectra: a file containing 4 columns in this order:
        1- Radial wave number k_parallel
        2- Radial power spectrum of the foreground-cleaned map
        3- Radial power spectrum of the foreground-free map
        4- Radial power spectrum of the cleaning residuals
    d) Principal eigenvalues (only for PCA).

  For the file types a-c, one file will be written for each input map.
  Both the input and output files should have a suffix _XXX where XXX
  is a 3-digit integer number identifying each frequency band. This
  format is automatically used by the public code CRIME
  (http://intensitymapping.physics.ox.ac.uk/CRIME.html).

5 License.
  fg_rm is distributed under the GPL license (see COPYING in the root
  directory). We kindly ask you to cite the program's website
   "http://intensitymapping.physics.ox.ac.uk/Software"
  and accompanying paper TODO when using it for published results

fg_rm's People

Watchers

Reaves 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.