public
Description: A Ruby interface to the fityk http://www.unipress.waw.pl/fityk/ peak fitting software
Clone URL: git://github.com/daikini/fityk-ruby.git
Search Repo:
name age message
folder History.txt Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
folder LICENSE.txt Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
folder Manifest.txt Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
folder README.txt Fri Jan 04 12:41:42 -0800 2008 Update name of program [poogle]
folder Rakefile Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
folder ext/ Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
folder lib/ Fri Jan 04 08:18:49 -0800 2008 Update examples [poogle]
folder setup.rb Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
folder test/ Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
README.txt
fityk-ruby
    http://fityk-ruby.rubyforge.org/
    jonathan.younger@lipomics.com
    A big thank you to Lipomics Technologies, Inc. http://www.lipomics.com for sponsoring this project.
    
== DESCRIPTION:
  
A Ruby interface to the fityk peak fitting software.

== FEATURES:
  
* Call fityk functions and pass data back and forth between Ruby and fityk.

== USAGE:

  require 'fityk'
  
  fityk = fityk::Engine.new
  fityk.get_info("version", true).split("\n")
  
  fityk.load_data 0, [1,2,3], [4,5,6], [7,8,9]
  fityk.get_data.entries.first
  fityk.get_data.entries.first.x
  fityk.get_data.entries.first.y
  fityk.get_data.entries.first.sigma

== REQUIREMENTS:

* fityk 0.8.2+
* GCC or some other compiler to build the included extension
* SWIG (If you want to recompile the SWIG wrapper)
* Mocha (For testing only)

== INSTALL:

Simply do the following, after installing fityk:

  * ruby setup.rb config
  * ruby setup.rb setup
  * ruby setup.rb install

Alternatively, you can download and install the RubyGem package for
fityk-ruby (you must have RubyGems and fityk installed, first):

  * gem install fityk-ruby

If you have fityk installed in a non-standard location, you can specify the location of the include and lib files by 
doing:

  * gem install fityk-ruby -- --with-fityk-include=/usr/local/include \
     --with-fityk-lib=/usr/local/lib

Also, the gem ships with the C++ source-code pre-built, so 
you do not need to have SWIG installed. However, if you have SWIG installed
and you want to generate the C++ file yourself, you can specify the
<code>--with-swig</code> option.

== LICENSE

fityk-ruby is licensed under the GPL License.

Copyright (c) 2007 Jonathan Younger <jonathan.younger@lipomics.com>