Skip to content

pavolgaj/OCFit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCFit

DOI DOI DOI DOI PyPI version Codacy Badge

⚠️IMPORTANT NOTE: The E-mail address given in the original paper from 2019 is not working! If you want to contact me, use my new address pavol (dot) gajdos (at) upjs (dot) sk or create a new issue here on GitHub.

Python package OCFit includes 4 classes for the analysis and fitting of O-C diagrams of Eclipsing binaries

In the case of using this package for scientific purposes, please, cite our paper Gajdoš & Parimucha (2019) in OEJV where you can also find more detail description about fitting functions and used models. For the newest features (e.g. eccentric orbits), please, cite also the paper Gajdoš (2023) in OEJV.

To install it, download/clone this repository or download a suitable binary file from releases.

Requirements

  • python3
  • numpy
  • matplotlib
  • scipy
  • emcee (recommended)
  • corner (recommended)
  • tqdm (recommended)

Installation is possible from source code or using a build installation binary file (only for OS Windows). The following procedure is only for installation from the source code. Extract files and go to new-created folder. Running script setup.py the installation will be done:

python setup.py install

Or using pip:

pip install .

or

pip install git+https://github.com/pavolgaj/OCFit.git

or

pip install OCFit