%-------------------------------------------------------------------------------
README
%-------------------------------------------------------------------------------

Compile INSAFF using the makefile found in the main directory. Edit the makerules
file according to your system, compiler etc..

INSAFF runs from the command line - for example:

$ insaff controls=insaff.in data=SWS_Demo.dat output=demo nadafile=demo.nad matlabsphere=yes

For a full list of command line parameters, do:

$ insaff help=

For more information about each parameter, do:

$ insaff help=controls
$ insaff help=data

etc etc.. 

The directory Demo/ contains an INSAFF example: synthetic SWS data is created in matlab 
using EFFEV and MSAT. This data is then used to invert for the rock physics parameters 
using INSAFF. 

The file Demo/insaff.in contains an example INSAFF control parameter file

If the command line parameter matlabsphere is set to "yes" then INSAFF will use the matlab
function Matlab/INSAFF_SphereFromFortran.m to plot the modelled SWS with the observed SWS 
overlain. This function has a number of Matlab dependencies, including MSAT and export_fig

The Matlab function Matlab/insaff_readnad.m reads the binary output nad file into matlab.



