TiRiFiC is a 3D kinematic modelling tool used to model resolved spectroscopic observations of rotating discs in terms of the tilted-ring model with varying complexity. The front-end (TiRiFiG, Tilted-Ring-Fitting-GUI), part of the toolkit, is an aid to enable the user to perform the modelling process interactively.
The code requires full installation of:
PyQt4
TiRiFiC
Installation from source, working directory where source is checked out
$ pip install .
This package is available on PYPI, allowing
$ pip install TiRiFiG
TiRiFiG depends on PyQt4 and TiRiFiC to run. To install PyQt4, I suggest installing Anaconda first and then installing PyQt4 using
conda install pyqt=4
. Alternatively, you can install it by following the instructions on the Riverbank Computing website.
Download and installation notes for TiRiFiC is on its website. Once installed, add TiRiFiG to your PYTHONPATH using
export PATH='path_to_installation_directory:$PATH'
.
Start TiRiFiG, from the terminal.
With the GUI running, the next steps are:
- Click 'Open' and select a .def file to load and visualise.
- Adjust data points for the parameter(s) using the mouse.
- Start TiRiFiC from run menu to perform fitting.
This project is licensed under the MIT License - see license for details.
Contributions are always welcome! Please ensure that you adhere to PEP8 coding style guide.