mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-12 11:03:05 +00:00
Implemented (yet another) new boundary handling scheme, whereby we scan radially along survey edge while flagging nearest galaxies. The prepObservation routine was significantly cleaned up to accommodate this, but it was ultimately implemented in python (surveyTools.py) for ease of prototyping, with the intent to move it back into C later.
Some general housekeeping, making sure some new parameters are passed around correctly, and removing the storage of some unused files. This update is considered HIGHLY UNSTABLE. It will almost certainly break somewhere for simulations. Still under active development.
This commit is contained in:
parent
62dd66be79
commit
3dce2593d9
9 changed files with 348 additions and 454 deletions
26
README.md
26
README.md
|
@ -89,26 +89,24 @@ Usage: python3 -m vide_pipeline parameter_file.py
|
|||
The VIDE tools are all packaged in the `vide` package.
|
||||
|
||||
|
||||
Running with observation
|
||||
-----------------------
|
||||
|
||||
An example parameter file and dataset is given in the examples/example_observation directory. The parameter file contains all the information VIDE needs to run: where to find inputs and place outputs, tolerances for managing boundary handling, and information about your particular datasets, like redshift boundaries. To see how this works, here is an example:
|
||||
|
||||
cd examples/example_observation
|
||||
python3 -m vide_pipeline example_observation.py
|
||||
|
||||
Running with simulation
|
||||
-----------------------
|
||||
|
||||
Using simulation requires a preliminary step, consisting in using the script
|
||||
`vide_prepare_simulation` which is installed during the installation procedure.
|
||||
The script generates mock catalog and a default pipeline to handle simulations.
|
||||
An example of the complete procedure is given here-below:
|
||||
```
|
||||
mkdir $HOME/my_vide_test
|
||||
cp python_tools/vide_pipeline/datasets/example_simulation.py $HOME/my_vide_test
|
||||
mkdir $HOME/my_vide_test/examples
|
||||
cp examples/example_simulation_z0.0.dat $HOME/my_vide_test/examples
|
||||
cd $HOME/my_vide_test
|
||||
vide_prepare_simulation --all --parm example_simulation.py
|
||||
Working with simulations requires a preliminary step, consisting in using the script "vide_prepare_simulation" which is installed automatically. This script performs necessary processing on your simulation file, such as extracting slices, performing subsampling, placing particles on a lightcone, and so on. For a demonstration, see the "example_simulation.py" parameter file in the examples/example_simulation/ directory. Running this script creates a series of auxillary parameter files that can then be run individually for void finding. Here is an example of this procedure:
|
||||
|
||||
cd examples/example_simulation
|
||||
vide_prepare_simulation --all --parm example_simulation.py
|
||||
python3 -m vide_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
|
||||
`vide_pipeline` is finally executed on this generated script.
|
||||
|
||||
Notes for CONDA
|
||||
---------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue