The package itself can be obtained from bitbucket:
git clone https://github.com/vargatn/xpipe.git
There are two modes: pipeline and API, for instructions, see the below sections.
Requirements and Dependencies
The code is written in
python 2.7 (but should also run without a problem on
python 3.5+ )
Additinal required packages:
manual install: kmeans_radec
In addition xshear requires a C99 compliant compiler.
First build the pipeline by executing
In the main folder of the repository. This performs the following steps:
Sets up the main xpipe package
Pulls and builds the submodule xshear. The executable is located at:
Writes a logfile to the user path. This is necessary for the package to find the absolute location of the config files.
After this the package can be simply imported as
and ther are some pre-defined scripts located at
a detaild description of what they do is given in the Pipeline Guide section.
When using these scripts, be sure to note the config files located within
default_inputs.yml, as these will define what happens when you execute them.
You can define your own settings in
which are automatically looked for when using the pipeline.
(more on how to specify these settings is explained in the Config files explained page.
The API mode can be accessed by installing the python package:
python setup.py install
Then simply import it in a python session:
Note that this only gives access to the python part of the code, you have to compile xshear manually, and keep track of the file paths.