GalCin: Galactic Cinematic, fit a velocity model from observed velocity field of galaxy.
For compute the model, we use method of moments from : Epinat, B., Amram, P., Balkowski, C., & Marcelin, M. 2010, MNRAS, 401, 2113
But you can add more rotational curves in "velocity_model.py" or create another model like cube etc.
-
MPFIT: Which uses the Levenberg-Marquardt technique to solve the least-squares problem.
-
PyMultiNest : use a Nested Sampling Monte Carlo library and bayesian statistics.
The program need PyMultiNest installed, please refer herefor its installation guide.
The program need also astropy and yaml libraries.
(name) can be lunch from prompt with
galcin.py path filename
or in an python script/console by importing first and call the main function
import galcin
galcin.galcin(path, filename, rank=0)
from galcin import galcin
galcin(path, filename, rank=0)
where path can be absolute or relative, filename is the name of the YAML configuration file. The parameter rank is the id of the thread. Example if you run the program with mpi and 4 core, rank may be equal from 0 to 3.
For more information and how to install it, follow this link. To execute the program with mpi4py:
mpiexec -n (nbcore) galcin.py path filename
Outputs are written in a directory where the YAML config file is. The name of the directory depend of the method, the model and fixed paramters like: method_model_fixedparams. A recapitulation of parameters of the model is written in the header of fits file and in a YAML file.
There is a Example directory in which you have fits files and a YAML file as example and try the program.
The subprocess for create map was used to validate the program (cross test) with existing programs. This subprocess need to be updated from the last changes of the architecture and the addition of the data language YAML.