|
2 | 2 |
|
3 | 3 | ### Overview
|
4 | 4 |
|
5 |
| -To compute bispectra, there are two steps: |
6 |
| -1. Run the ```compute_bk_randoms.py``` script to generate and analyze uniformly distributed particles. These are used to compute the Fisher and average q-alpha term matrix. This script should be run with 50-100 choices of input parameter ```rand_it```. We also provide the ```compute_bk_boss_randoms.py``` script to compute the analogous Fisher matrix for the BOSS data (which has a different random catalog). |
7 |
| -2. Run the ```compute_bk_data.py``` script to analyze a specific Patchy simulation or BOSS data. Step (1) must be computed before this is run. |
| 5 | +To compute bispectra, there are three steps: |
| 6 | +1. Run the ```compute_bk_randoms.py``` script to generate and analyze randomly distributed particles. These are used to compute the Fisher matrix and average q-alpha term, encoding the survey geometry. This script should be run with around 100 choices of input parameter ```rand_it```. |
| 7 | +2. Run the ```compute_bk_fisher.py``` script to combine together the various contributions computed in step (1). |
| 8 | +3. Run the ```compute_bk_data.py``` script to analyze a specific simulation or dataset. Steps (1) and (2) must be computed before this is run. |
8 | 9 |
|
9 |
| -The output power spectrum will be saved as ```bk_patchy{SIM_NO}....txt``` or ```bk_boss....txt``` in the specified output directory. |
| 10 | +The output bispectra will be saved as ```bk_{TYPE}{SIM_NO}....txt``` in the specified output directory. Note that the background density map ```n(r)``` must be generated before these scripts are run; this can be done using the [generate_mask.py](../generate_mask.py) script. |
10 | 11 |
|
11 | 12 | ### Input Parameters
|
12 | 13 | On the command line, the following parameters can be specified:
|
13 |
| -- ```rand_it```: Index of the uniform simulation to be created and analyzed (for ```compute_bk_randoms.py```). |
14 |
| -- ```sim_no```: Patchy simulation number (for ```compute_bk_data.py```). If set to -1, the true BOSS data is analyzed. |
15 |
| -- ```patch```: Which region of BOSS to use, either ```ngc``` or ```sgc```. |
16 |
| -- ```z_type```: Which redshift region, either ```z1``` or ```z3```. |
17 |
| -- ```wtype```: Flag to indicate the type of weights. If set to 0, we use FKP-like weights, else maximum likelihood (ML) weights if set to 1. Note that both weights give unwindowed, pixelation-corrected power spectra. |
18 |
| -- ```grid_factor```: Factor by which to inflate the pixel size, relative to the original BOSS release. |
19 |
| - |
20 |
| -Within the code we can specify the following additional parameters: |
21 |
| -- ```N_mc```: Number of Monte Carlo simulations to compute bias and Fisher matrices. |
22 |
| -- ```k_min```, ```k_max```, ```dk```: Desired (linear) k-binning strategy. |
23 |
| -- ```h_fid```, ```OmegaM_fid```: Fiducial parameters to use when converting redshifts and angles into Cartesian co-ordinates. |
24 |
| -- ```tmpdir```: Directory to hold temporary output for each uniform simulation. This should have fast I/O and be large. It will be cleaned at the end of the ```compute_bk_randoms.py``` script. |
25 |
| -- ```mcdir```: Directory to hold temporary Monte Carlo summations. This should be large, and can be removed after ```compute_bk_data.py``` has been run at least once. |
26 |
| -- ```outdir```: Output directory for saving bispectra. Additional auxilliary data including bias and Fisher matrix terms are also stored. |
27 |
| -- ```include_pix```: If true, forward model the effects of pixellation on the density field. (NB: the pixel window function is still removed at leading order in both cases). |
28 |
| -- ```rand_nbar```: If true, compute the background number density from random particles rather than from the survey mask. |
29 |
| -- ```use_qbar```: If false, do not subtract the 'q-bar' term in the bispectrum estimator (for testing only). |
| 14 | +- ```rand_it```: Index of the Gaussian-random simulation to be created and analyzed (for ```compute_bk_randoms.py```). |
| 15 | +- ```sim_no```: Simulation number (for ```compute_bk_data.py```). If analyzing an unlabelled simulation, or observational data, this is set to -1. |
| 16 | +- ```paramfile```: Parameter file specifying various settings, including the survey mask and dimensions. See [paramfiles](../paramfiles) for examples. |
30 | 17 |
|
31 | 18 | ### Data
|
32 | 19 |
|
33 |
| -In the [data/](data) directory, we give the raw unwindowed bispectrum measurements of BOSS, 2048 MultiDark-Patchy simulations and 84 Nseries simmulations. Further details of the input parameters can be found in the file headers. Note that we remove any bin triplets that are not properly corrected for the survey geometry. The original k-binning limits given in the final header. |
| 20 | +In the [data/](data) directory, we give the raw unwindowed bispectrum measurements of BOSS, 2048 MultiDark-Patchy simulations and 84 Nseries simmulations. Further details of the input parameters can be found in the file headers. Note that we remove any bin triplets that are not properly corrected for the survey geometry. The original k-binning limits given in the final header. Note also that these results were run with an earlier version of the code, thus follow slightly different naming conventions. |
0 commit comments