Skip to content
hoogerheidePublic

About

genetic algorithm based reflectometry fitter

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

  GArefl is a reflectometry fitting program in C which allows simultaneous
  fitting of neutron and X-ray data.

  The source software is available as a download from

       http://www.ncnr.nist.gov/reflpak

  or directly from the github repository:

       http://github.com/reflectometry/garefl

  Once you have downloaded the particular version you are
  interested in and extracted the files, change to the
  garefl subdirectory.

  The next step(s) are operating system specific.

  MacOSX
    For OS X 10.4 you will need to have a fortran compiler to fit
    magnetic systems.  E.g., the following version of the gfortran 
    compiler builds universal binaries:

        http://r.research.att.com/tools

    Install gnuplot and aquaterm.

    On Mac OS X you may need to use one of the following:

	./configure --disable-magnetic  # No fortran compiler
	./configure FLIBS=-lg2c         # g77 fortran compiler
        ./configure FLIBS=/usr/local/lib/libgfortran.a  # gfortran compiler

  Windows
    
    Install cygwin with dev tools (gcc, make, gfortran), or install msys+mingw.
    Install gnuplot for windows.

        ./configure


  Unix

    Install development environment (e.g., gcc, make, gfortran) using the
    package manager for the OS and install gnuplot.

	./configure


  Once configure has completed, use

	make

  to build the code.

  Next switch to examples/volfrac and type

	make
	./fit

  You should now be running an example of a simultaneous fit.

  See doc/ga_refl.pdf for instructions on setting up your models 
  and fitting with them.

Paul Kienzle
2008-02-26

About

genetic algorithm based reflectometry fitter

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages