Coder Social home page Coder Social logo

lfit's Introduction

README

LFIT is a C++ program for fitting the lightcurves of eclipsing Dwarf Nova. It leans very heavily on Tom Marsh's C++ library for Roche geometry and it's dependencies.

LFIT also have a python (cython) wrapper to allow the computation and fitting of CV lightcurves in the Python programming language.

INSTALLATION

C++ program

To install the C++ program, edit the Makefile until the line STOP_EDITING. Then simply type

make lfit

to compile the complete C++ program, or

make lfit_fake

to make a simple program that just computes lightcurves

params

LFIT uses a set of 14 parameters to describe a CV. These can be combined with White-Dwarf mass radius measurements to derive the mass and radius of both components in the CV. Routines for this are in the params subdirectory.

PYTHON BINDINGS

The python binding is in the sub-directory "python". As well as numpy, you will also need cython installed to create the wrapper.

Installation proceeds via the usual::

python setup.py install

if you are root, or::

python setup.py install --prefix=

if you are not.

If you want to test the module use

python setup.py build_ext --inplace

#KNOWN_ISSUES

None yet.

lfit's People

Contributors

stuartlittlefair avatar

Watchers

 avatar  avatar

Forkers

wildjames

lfit's Issues

Cannot make lfit

Dear Littlefair,
I have tried to install lfit on my laptop but I cannot install it because I have seen the error.
I attached the error that I have found, after I found this error, I have created the trm folder and try to find the subs.h but I still got the error.
How can I solve this problem?
Please give me for suggesttion?
Thank you very much.
Best regards,
Kittipong
Screen Shot 2563-09-21 at 12 45 32

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.