This is the old version of PyWD2015 and might contain serious bugs. This repository is kept for archival purposes. Current version of PyWD2015 is located at here: https://github.com/Varnani/pywd2015-qt5
A Qt4 GUI written in Python for Wilson - Devinney eclipsing binary modeling software.
If you happen to use this software in a scientific work, please cite PyWD2015 release proceeding:
CoSka (2020), 50, 535
You must also properly cite relevant Wilson - Devinney papers:
ApJ (1971), 166, 605
ApJ (1979), 234, 1054
ApJ (1990), 356, 613
ApJ (2008), 672, 575
ApJ (2014), 780, 151
PyWD2015 is written with Python 2.7. It also relies on Numpy, Scipy, Matplotlib libraries. You can install those with the following command:
pip install numpy scipy matplotlib
Pip should be automatically installed alongside Python on Windows. On Linux, you may need to install pip with your package manager. On Ubuntu and Debian, you can issue:
sudo apt install python-pip
to install pip.
On Debian, you may encounter a "backports.functools_lru_cache" and/or "tkinter" error on a fresh matplotlib installation. To fix this, you can issue:
sudo apt install python-backports.functools-lru-cache python-tk
After that, you need to install the PyQt4 library.
Installing PyQt4 on Linux depends on your distro and package manager. On Ubuntu and Debian you can use:
sudo apt install python-qt4 python-qt4-gl
You need precompiled PyQt4 binaries. These can be downloaded from SourceForge. The file you are looking for is
PyQt4-4.11.4-gpl-Py2.7-Qt4.8.7-x64.exe
After installing required dependencies, you can get the source code of the program by either cloning this repository, or downloading a release from the Releases page. Extract the source code and issue this command to start the PyWD2015:
python pywd2015.py
To run calculations, you need to provide the paths of compiled DC and LC programs of the Wilson - Devinney code. Precompiled versions are hosted here with the permission of Dr. Robert E. Wilson. These too can be found on the "Releases" page. If you want to, you can head to ftp://ftp.astro.ufl.edu/pub/wilson/lcdc2015/ (the WD Homepage), download source codes for DC and LC, then compile them yourself.
GUI is mostly self-explanatory and most labels contain tooltips, but "Releases" page also contains a user manual. While this manual is based on a deprecated, Qt4 version of PyWD2015, nearly all of the concepts discussed there also applies to the Qt5 version.
If you have any questions, you can reach the authors from:
Ozan Güzel: [email protected]
Dr. Orkun Özdarcan: [email protected]