- Python 2.7
- MPI / MPI4py
- Astropy
- Numpy
- Mahotas
- SciPy
- Cython
- Sextractor
python compile.py build_ext --inplace
There should be specified in 'cfg/paths.ini', where is/how to call R, Python, and SExtractor
Single-core and single object (without clipping the image):
time python main.py config.ini
MPI run (clipping the image):
mpirun -np 3 PCyMorph.sh test500/spirals.csv
In order to run, a config file is required (in the example the config.ini where used). To run with MPI support, the default configuration file is ParallelConfig.ini. This configuration file contain information about files, the input/output, and the parameters. An example is:
[File_Configuration]
indexes: C, H, A3, S3, Ga, OGa
cleanit: False
download: True
stamp_size: 5
[Output_Configuration]
verbose: False
savefigure: False
[Indexes_Configuration]
Entropy_Bins: 180
Ga_Tolerance: 0.02
Ga_Angular_Tolerance: 0.02
Ga_Position_Tolerance: 0.00
Concentration_Density: 100
Concentration_Distances: 0.65, 0.25
butterworth_order: 2
smooth_degree: 0.2
To download images from SDSS (without executing the pipeline), a module in Download was created (it requires a .csv file) In order to run it:
mpirun -np 2 python downloader.py test500/spirals.csv
There is an example of selection in Folder 'FilterData/'
The file 'optimizeIndexes.py' is a framework for optimal parametrization, it works as a wrap to the pipeline. It measures the distribution distance/divergence between two known sets. It requires the data in folder 'Field/'.
In folder 'histograms' is show an example of plotter.
The script 'miner.py' (still in development) in folder datamining test some classifiers and data balance algorithms.