Giter Club home page Giter Club logo

tdefit's Introduction

#TDEFit - Software for fitting tidal disruption event light curves Originally coded by James Guillochon (http://astrocrash.net).

##Installation instructions

To install, clone the repository and then compile the code using make. Code only requires a Fortran compiler that supports Fortran 95, and has been tested with both ifort and gfortran. Code requires two sets of data as inputs that are not included in this repository because of their size or proprietary nature: A directory of event data (available from a separate repository) and a directory of dm/dt data.

git clone [email protected]:guillochon/tdefit.git
cd tdefit
make -j tdefit
wget http://astrocrash.net/files/tdefit-dmdts.tar.gz
tar -xzf tdefit-dmdts.tar.gz
rm tdefit-dmdts.tar.gz
hg clone ssh://[email protected]/Guillochon/TDE_events

##Getting started with an example

Within the TDEFit folder is an example folder, which will run a fit to ASASSN-14li. To run this example, change to the example directory and run TDEFit.

cd example
mpirun -np 4 ../tdefit

The first time TDEFit runs, it will spend a few minutes generating binary versions of the ASCII dm/dt files, once those files are created it will read from them for subsequent runs (so long as the paths.par file points to the same binary data location), which is much faster.

##Credits

Software includes a few pieces of code originally written by others:

  • The York Extinction Solver, McCall 2004, which provides functions for a number of common reddening laws, GPL.

  • Quadpack, for numerical integration, in the public domain.

  • Some functions from PROB, a Fortran90 probability library written by John Burkardt, LGPL.

  • qxgs, a one-dimensional integrator written by Alan Miller, public domain.

tdefit's People

Contributors

guillochon avatar

Watchers

James Cloos avatar jp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.