Wrapper arround G. Kovacs & G. Kupi Template Fourier Fitting
Project description
# pytff Wrapper arround G. Kovacs & G. Kupi Template Fourier Fitting
## Setup
In all cases you need to download and compile [Template Fourier Fitting](http://www.konkoly.hu/staff/kovacs/tff.html) the parameters file (tff.par) and the Template Fourier decompositions file (template.dat) are not necesary.
You can compile (in posix) the tff.f with the command
`sh $ gfortran tff.f -o tff `
### Basic Install
Execute
`sh $ pip install pytff `
or
`sh $ easy_install pytff `
### Development Install
Clone this repo and then inside the local
Execute
`sh $ pip install -e . `
or
`sh $ pip install numpy $ python setup.py develop `
## Global Configuration
You can edit the file ~/.config/pytff/pytff.rc (on posix) or ~APPDATAroamingpytffpytff.rc (on windows); for setup the location of your tff binary and your working directory. The file look like
`ini [pytff] wrk_path = tff_cmd = tff `
Where:
tff_cmd is the full path to the tff command if is empty or not preset tff is the default value.
wrk_path the default working directory of tff, by default every instance creates their own temp directory.
## Tutorial
https://github.com/carpyncho/pytff/blob/master/tutorial.ipynb
## Legal
This project is part of [Carpyncho](http://carpyncho.jbcabral.org)
The data of tff.par and template.dat is property of G. Kovacs & G. Kupi
The data/single_dat/ogle.dat is property of the [OGLE Experiment](http://ogle.astrouw.edu.pl/)
## Authors
Juan BC
[IATE](http://iate.oac.uncor.edu/) - [UNR](http://unr.edu.ar/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.