mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Update README
This commit is contained in:
parent
53ad51acca
commit
ba18690cda
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
@ -59,24 +59,24 @@ The VIDE tools are all packaged in the `vide` package.
|
||||||
Running with simulation
|
Running with simulation
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
!! Temporary measure !!
|
Using simulation requires a preliminary step, consisting in using the script
|
||||||
|
`vide_prepare_simulation` which is installed during the installation procedure.
|
||||||
After build the vide package and installing it with `python3 setup.py install` (for example), it is possible to find the
|
The script generates mock catalog and a default pipeline to handle simulations.
|
||||||
script to build the pipeline for simulations in `build/temp.[SOMETHING]/pipeline/prepareInputs.py`. Just copy that script where
|
An example of the complete procedure is given here-below:
|
||||||
you want the analysis and execute it directly with the parameter file as an argument.
|
|
||||||
|
|
||||||
For example:
|
|
||||||
```
|
```
|
||||||
mkdir $HOME/my_vide_test
|
mkdir $HOME/my_vide_test
|
||||||
cp build/temp.[SOMETHING]/pipeline/prepareInputs.py $HOME/my_vide_test
|
|
||||||
cp python_tools/void_pipeline/datasets/example_simulation.py $HOME/my_vide_test
|
cp python_tools/void_pipeline/datasets/example_simulation.py $HOME/my_vide_test
|
||||||
mkdir $HOME/my_vide_test/examples
|
mkdir $HOME/my_vide_test/examples
|
||||||
cp examples/example_simulation_z0.0.dat $HOME/my_vide_test/examples
|
cp examples/example_simulation_z0.0.dat $HOME/my_vide_test/examples
|
||||||
cd $HOME/my_vide_test
|
cd $HOME/my_vide_test
|
||||||
python3 prepareInputs.py --all --parm example_simulation.py
|
vide_prepare_simulation --all --parm example_simulation.py
|
||||||
python3 -m void_pipeline example_simulation/sim_ss1.0.py
|
python3 -m void_pipeline example_simulation/sim_ss1.0.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The example copies the required data in a separate directory. Then, we execute
|
||||||
|
the `vide_prepare_simulation` script to generate the auxiliary pipeline. The
|
||||||
|
`void_pipeline` is finally executed on this generated script.
|
||||||
|
|
||||||
Notes for CONDA
|
Notes for CONDA
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue