Skip to content

Andrei-EPFL/generate_survey_mocks

Repository files navigation

Generate Survey Mocks

Table of Contents

Introduction

Generate Survey Mocks (GSM) is a tool for generating Light-Cone like mocks starting from boxes. The principle behind the code is to repeat the box, convert from (x,y,z) coordinates to (RA, DEC, Z) and then cut the necessary survey volume. Of course, for cubic mocks that do not have a large enough volume to encapsulate the entire survey volume, some of the regions of the box are used multiple times. However, if the box is sufficiently large and it is rotated accordingly, the survey volume can be composed from unique regions of the box.

The code accepts a rotation matrix which is defined in (rotation_matrix.py).

If you use this tool in research work that results in publications, please cite the following paper:

Variu et al., in preparation.

Dependencies

The dependencies of this code are as follows:

Usage

After downloading the code, one has to fill the configuration file and use ore create a function in (main.py) that is specific to data structure of the boxes. There are already some written functions in (main.py) that are dedicated to the First Generation of Mocks for DESI based on EZmocks and ABACUS simulations. Finally, one runs:

python main.py

Configuration parameters

Part of the configuration parameters can be given as arguments when running the code. They can be displayed via the -h option as follows:

python main.py -h

Most of them, however, should be given in the configuration file. Examples of configuration files can be found in the (EZmock/config) and (ABACUS/config) folders.

Contributors

I thank Dr. Shadab Alam and Dr. Aurelio Carnero Rosell for their support and suggestions.

Acknowledgements

This code is inspired by prcaetano's and Dr. Chia-Hsun Chuang's packages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published