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
poogle (author)
Fri Jan 04 12:41:42 -0800 2008
commit  c931d9d28aa8d54dc7cbff8a0d1bc1dab6e1165d
tree    5614c770e6043a2fbf90d69e5254fd4ee9e56ef3
parent  003fd9cc318f7cfc4fa5d2ead82c26a9bc47f311
name age message
file History.txt Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
file LICENSE.txt Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
file Manifest.txt Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
file README.txt Fri Jan 04 12:41:42 -0800 2008 Update name of program [poogle]
file Rakefile Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
directory ext/ Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
directory lib/ Fri Jan 04 08:18:49 -0800 2008 Update examples [poogle]
file setup.rb Fri Jan 04 07:33:14 -0800 2008 Initial Checkin [poogle]
directory 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>