Skip to main content

Wrapper arround G. Kovacs & G. Kupi Template Fourier Fitting

Project description

Wrapper arround G. Kovacs & G. Kupi Template Fourier Fitting


In all cases you need to download and compile Template Fourier Fitting 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

$ gfortran tff.f -o tff

Basic Install


$ pip install pytff


$ easy_install pytff

Development Install

  1. Clone this repo and then inside the local

  2. Execute

    $ pip install -e .


    $ pip install numpy
    $ python develop

Global Configuration

You can edit the file ~/.config/pytff/pytff.rc (on posix) or ~\APPDATA\roaming\pytff\pytff.rc (on windows); for setup the location of your tff binary and your working directory. The file look like

wrk_path =
tff_cmd = tff


  • 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.


Juan BC


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pytff-0.8.tar.gz (136.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page