https://github.com/varnani/pywd2015
A Qt4 GUI written in Python for Wilson - Devinney eclipsing binary modeling software.
https://github.com/varnani/pywd2015
astronomy astrophysics pyqt4 python-2
Last synced: 11 months ago
JSON representation
A Qt4 GUI written in Python for Wilson - Devinney eclipsing binary modeling software.
- Host: GitHub
- URL: https://github.com/varnani/pywd2015
- Owner: Varnani
- License: mit
- Created: 2017-10-28T18:39:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-06T12:28:12.000Z (over 5 years ago)
- Last Synced: 2025-06-10T14:49:48.910Z (about 1 year ago)
- Topics: astronomy, astrophysics, pyqt4, python-2
- Language: Python
- Size: 755 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Warning!
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
# PyWD2015-Qt4
A Qt4 GUI written in Python for Wilson - Devinney eclipsing binary modeling software.
## First Things First
If you happen to use this software in a scientific work, please cite PyWD2015 release proceeding:
[CoSka (2020), 50, 535](https://ui.adsabs.harvard.edu/abs/2020CoSka..50..535G/abstract)
You must also properly cite relevant Wilson - Devinney papers:
[ApJ (1971), 166, 605](https://ui.adsabs.harvard.edu/abs/1971ApJ...166..605W/abstract)
[ApJ (1979), 234, 1054](https://ui.adsabs.harvard.edu/abs/1979ApJ...234.1054W/abstract)
[ApJ (1990), 356, 613](https://ui.adsabs.harvard.edu/abs/1990ApJ...356..613W/abstract)
[ApJ (2008), 672, 575](https://ui.adsabs.harvard.edu/abs/2008ApJ...672..575W/abstract)
[ApJ (2014), 780, 151](https://ui.adsabs.harvard.edu/abs/2014ApJ...780..151W/abstract)
## Installing Dependencies
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.
### Linux
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```
### Windows
You need precompiled PyQt4 binaries. These can be downloaded from [SourceForge](https://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.4/). The file you are looking for is
```PyQt4-4.11.4-gpl-Py2.7-Qt4.8.7-x64.exe```
## Getting Started
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](https://github.com/Varnani/PyWD2015/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.
## Contact
If you have any questions, you can reach the authors from:
```
Ozan Güzel: ozanguzel35@outlook.com
Dr. Orkun Özdarcan: orkun.ozdarcan@ege.edu.tr
```