Page 1 of 1

Misfit variation versus number of generated models

Posted: Tue Feb 03, 2009 5:38 pm
by admin
Here is a script to compute the minimum misfit achieved as a function of the number of model generated (the same as in the status window in dinver graphical interface).

Code: Select all

gpdcreport *.report -pm | awk '
BEGIN{m=1e99}
{
  col=$2+3
  if ($col<m) {
    m=$col
    print $1,m
  }
}'

Posted: Wed May 27, 2009 6:44 pm
by admin
The proposed script does not work due to comment lines (starting with '#'). So the correct script would be:

Code: Select all

gpdcreport *.report -pm | grep -v "#" | awk '
BEGIN{m=1e99}
{
  col=$2+3
  if ($col<m) {
    m=$col
    print $1,m
  }
}'