mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
renamed void_pipeline to vide_pipeline
This commit is contained in:
parent
4d9c5ab2c1
commit
d7c0fbc720
5 changed files with 11 additions and 11 deletions
|
@ -81,7 +81,7 @@ ELSE()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
SET(PYTHONPATH ${PYTHON_LOCAL_SITE_PACKAGE})
|
SET(PYTHONPATH ${PYTHON_LOCAL_SITE_PACKAGE})
|
||||||
configure_exec(${CMAKE_SOURCE_DIR}/python_src/pipeline_source/prepareInputs.in.py
|
configure_exec(${CMAKE_SOURCE_DIR}/python_source/pipeline_source/prepareInputs.in.py
|
||||||
${CMAKE_BINARY_DIR}/pipeline prepareInputs.py)
|
${CMAKE_BINARY_DIR}/pipeline prepareInputs.py)
|
||||||
#configure_exec(${CMAKE_SOURCE_DIR}/python_tools/pipeline_source/applyMaskToMock.in.py
|
#configure_exec(${CMAKE_SOURCE_DIR}/python_tools/pipeline_source/applyMaskToMock.in.py
|
||||||
#${CMAKE_BINARY_DIR}/pipeline applyMaskToMock.py)
|
#${CMAKE_BINARY_DIR}/pipeline applyMaskToMock.py)
|
||||||
|
@ -106,4 +106,4 @@ message(STATUS "Vide binary directory: ${VIDE_BIN}")
|
||||||
#)
|
#)
|
||||||
|
|
||||||
|
|
||||||
subdirs(c_src)
|
subdirs(c_source)
|
||||||
|
|
10
README.md
10
README.md
|
@ -79,11 +79,11 @@ After installing the package with
|
||||||
To test that the package is indeed installed you can execute
|
To test that the package is indeed installed you can execute
|
||||||
|
|
||||||
```
|
```
|
||||||
python3 -m void_pipeline
|
python3 -m vide_pipeline
|
||||||
```
|
```
|
||||||
which will state
|
which will state
|
||||||
```
|
```
|
||||||
Usage: ./generateCatalog.py parameter_file.py
|
Usage: python3 -m vide_pipeline parameter_file.py
|
||||||
```
|
```
|
||||||
|
|
||||||
The VIDE tools are all packaged in the `vide` package.
|
The VIDE tools are all packaged in the `vide` package.
|
||||||
|
@ -98,17 +98,17 @@ The script generates mock catalog and a default pipeline to handle simulations.
|
||||||
An example of the complete procedure is given here-below:
|
An example of the complete procedure is given here-below:
|
||||||
```
|
```
|
||||||
mkdir $HOME/my_vide_test
|
mkdir $HOME/my_vide_test
|
||||||
cp python_tools/void_pipeline/datasets/example_simulation.py $HOME/my_vide_test
|
cp python_tools/vide_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
|
||||||
vide_prepare_simulation --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 vide_pipeline example_simulation/sim_ss1.0.py
|
||||||
```
|
```
|
||||||
|
|
||||||
The example copies the required data in a separate directory. Then, we execute
|
The example copies the required data in a separate directory. Then, we execute
|
||||||
the `vide_prepare_simulation` script to generate the auxiliary pipeline. The
|
the `vide_prepare_simulation` script to generate the auxiliary pipeline. The
|
||||||
`void_pipeline` is finally executed on this generated script.
|
`vide_pipeline` is finally executed on this generated script.
|
||||||
|
|
||||||
Notes for CONDA
|
Notes for CONDA
|
||||||
---------------
|
---------------
|
||||||
|
|
|
@ -32,7 +32,7 @@ import pickle
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
if (len(sys.argv) == 1):
|
if (len(sys.argv) == 1):
|
||||||
print("Usage: python3 -m void_pipeline parameter_file.py")
|
print("Usage: python3 -m vide_pipeline parameter_file.py")
|
||||||
exit(-1)
|
exit(-1)
|
||||||
|
|
||||||
if (len(sys.argv) > 1):
|
if (len(sys.argv) > 1):
|
6
setup.py
6
setup.py
|
@ -207,9 +207,9 @@ class VideScripts(build_scripts):
|
||||||
vide_extension = CMakeExtension(name="vide")
|
vide_extension = CMakeExtension(name="vide")
|
||||||
|
|
||||||
setup(name='vide',
|
setup(name='vide',
|
||||||
version='2.0',
|
version='3.0',
|
||||||
packages=find_packages('python_src'),
|
packages=find_packages('python_source'),
|
||||||
package_dir={'': 'python_src'},
|
package_dir={'': 'python_source'},
|
||||||
setup_requires=['cython','setuptools','healpy','argparse','scipy','astropy','extension-helpers','netCDF4'],
|
setup_requires=['cython','setuptools','healpy','argparse','scipy','astropy','extension-helpers','netCDF4'],
|
||||||
install_requires=['argparse','scipy','astropy','extension-helpers','netCDF4','healpy'],
|
install_requires=['argparse','scipy','astropy','extension-helpers','netCDF4','healpy'],
|
||||||
ext_modules=[vide_extension],
|
ext_modules=[vide_extension],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue