Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 3.16 KB

README.md

File metadata and controls

70 lines (47 loc) · 3.16 KB

DESI CUTSKY MOCK

Table of Contents

Introduction

DESI CUTSKY MOCK 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.

This repository has been built based on the previous existing repository applied to early versions of DESI data from GSM, developed by Dr. Andrei Variu for DESI data beyond First Generation mocks. Therefore, for earlier versions than Second Generation, you should use the GSM repository.

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

We thank Dr. Andrei Variu as main developer, with contributions from Dr. Shadab Alam and Dr. Aurelio Carnero Rosell.

Acknowledgements

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