blob: 02e077c319ec7a77a488aa4096c5b3e9db84524d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
==========
User Guide
==========
-----------
Get Started
-----------
This is a simple guide on how to use the **fg21sim** package to carry
out the foregrounds simulation, which produces the all-sky maps or sky
patches of the enabled foreground components.
The simulation of the following foreground components requires specific
template map(s) and/or observational/simulation catalog(s) as the input:
* ``galactic/synchrotron``:
requires the Haslam 408 MHz survey as the template map, and the
spectral index map.
* ``galactic/freefree``:
requires the Hα map and the dust map.
* ``galactic/snr``:
requires the catalog of the Galactic SNRs.
See the `template data <data.rst>`_ page for more details on the input
data and how to obtain them.
Then, a configuration file is required to run the foregrounds simulation,
which controls all aspects of the simulation behaviors.
There are two types of configuration options:
*required* (which require the user to explicitly provide the values)
and *optional* (which already have sensible defaults, however, the user
can also override them).
Please refer to the `configuration specification file <fg21sim.conf.spec>`_
for more information on the available options.
Also there is a brief `test configuration file <fg21sim-test.conf>`_
which may be useful to test whether this package is correctly installed
and runs smoothly.
Finally, the foregrounds simulation can be kicked off by executing::
$ fg21sim --logfile fg21sim.log fg21sim.conf
The program will read configurations from file ``fg21sim.conf``, and log
messages to both the screen and file ``fg21sim.log``.
---------
Sky Patch
---------
When doing high-resolution simulations, it is more appropriate to specify
a sky patch (e.g., 10x10 deg^2) instead of using the whole sky.
For simulating Galactic diffuse emission maps, the template sky patches
are required as the input. To generate such sky patches, use the
``get-healpix-patch`` tool to extract the needed patch from the all-sky
HEALPix template maps.
-------------
Point Sources
-------------
The sky maps of extragalactic point sources can be simulated using
these `pointsource tools`_ that were developed for use in
`Wang et al. 2010`_.
.. _`pointsource tools`:
https://github.com/liweitianux/radio-fg-simu-tools/tree/master/pointsource
.. _`Wang et al. 2010`_:
http://adsabs.harvard.edu/abs/2010ApJ...723..620W
|