The COMB library contains functionality to support the simulation on the sphere of compact objects embedded in a stochastic background process of specified power spectrum. More specifically, compact objects with an arbitrary template function may be embedded in background Gaussian cosmic microwave background radiation. This is the primary astrophysical application that motivates the construction of the library. Support is provided to convolve with beam functions and to add additional white noise.
The library design is based on object-oriented principles and is implemented in Fortran 90. Generally one must instantiate a class object using the corresponding init routines. The instatiated object should be freed once it is no longer required with the corresponding free routine (this deallocates all memory associated with the object).
For further details see the README.txt file.
The COMB package requires the S2, HEALPix and CFITSIO packages. Please note that all COMB code is written in Fortran 90 and a suitable Fortran compiler will be required.
>> make lib
For details on how to use the COMB library code see the documentation
below.
The COMB utility programs may be compiled by running:
Typical input and output files for COMB are available for download
here.
Untar the data archive and place the
To test the COMB installation run
By default, the COMB code ships with only this single documentation
page. The remainder of the documentation is automatically generated
from the source code using
f90doc.
Please ensure that you have f90doc installed in order to generate this
documentation. Once f90doc is installed the documentation may be
generated by running:
Compiling utility programs
For details on how to use the COMB utility programs see the documentation
below.
>> make prog
Testing
data_in
and
test
directories within the base comb-1.0
directory. Input data for WMAP1 and WMAP3 compatible simulations are
provided in the data_in
directory, while corresponding
output files are provided in the test
directory.
using the parameters.par file provided. This should create a number
of files in the >> bin/comb_csim parameters.par
data_out
directory that match the files
contained in the test
directory.
Documentation
>> make docs
Cleaning up
To clean up your version of the COMB code and return all code to its
original state run:
To remove all documentation, except the front page (i.e. this file),
run:
>> make clean
>> make cleandocs
Library classes
An overview of the classes that comprise the COMB library is given
here. Please click on the link for each class for detailed
documentation.
comb_csky_mod
:
Provides funcitonality to support a COMB csky object. The csky object
defines a full sky map consisting of embedded compact objects (COMB
obj objects) and optional primodial cmb and noise
realisations. Output maps may be produced contained the sum of all
these components or each component map may also be written
individually. An output parameter file may also be written to specify
the compact object positions and other parameters, in addition to the
cmb, beam and noise properties.
comb_obj_mod
:
Provides functionality to support and manipulate a compact object
defined on the sky.
comb_tmpl_mod
:
Contains definitions of template functions defined on the sky to initialise
COMB obj objects.
comb_error_mod
:
Functionality to handle errors that may occur in the COMB
library. Public COMB error codes are defined, with corresponding
private error comments and default halt execution status.
comb_csim
:
The COMB CSIM program supports the simulation on the sphere of
compact objects embedded in some background process of specified
power spectrum. This program may be run interactively (by running
>> comb_sim
), or with an input parameter file (by running
>> comb_sim parameters.par
).
comb_objgen
:
Product a sky map containing a number of template objects with various parameters.
J. D. McEwen, S. M. Feeney, M. C. Johnson, and H. V. Peiris. Optimal filters for detecting cosmic bubble collisions. Phys. Rev. D., 85(10):103502, 2012.
J. D. McEwen, M. P. Hobson, and A. N. Lasenby. Optimal filters on the sphere. IEEE Trans. Sig. Proc., 56(8):3813-3823, 2008.
Author: J. D. McEwen
Version: 1.1
COMB package to provide functionality to support the simulation on the sphere of compact objects embedded in a stochastic background process
Copyright (C) 2005 Jason McEwenThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details (LICENSE.txt).
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
This documentation has been generated largely by f90doc, with some minor modifications.
Last modified: 1 July 2005