[Ifeffit] Athena fix edge step

Bruce Ravel bravel at bnl.gov
Tue Sep 24 16:44:37 CDT 2013

On 09/20/2013 11:53 AM, George Sterbinsky wrote:
> Hello,
> I am writing to report what I believe to be a bug in Athena. I am using
> Demeter 0.9.18 and windows 8.
> To reproduce the behavior, open the attached project, and press the
> button to plot normalized marked groups in energy. One will observe that
> the fix edge step box is checked for the first group. Changing the edge
> step value for this group and pressing the button to replot the
> normalized data has no effect on the plot.


Didn't find a time to look at this until today.

Could you replace


with the attached text file.  Make sure it is called "normalize.tmpl".
Sometimes the mailer will add ".txt" or some such to a file.

That seems to do the trick.  Let me know if that fixes the problem to
your satisfaction and I will push the fix into the next release.


  Bruce Ravel  ------------------------------------ bravel at bnl.gov

  National Institute of Standards and Technology
  Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2
  Building 535A
  Upton NY, 11973

  Homepage:    http://xafs.org/BruceRavel
  Software:    https://github.com/bruceravel
-------------- next part --------------
{ # -*- ifm -*-
  # pre-edge template
  #   {$D->group} returns the ifeffit group name
  #   {$D->parameter} returns the value of that parameter
  $fixed = q{};
  if ($D->bkg_fixstep) {
     $fixed = sprintf(", edge_step=%.7g", $D->bkg_step);

pre_edge("{$D->group}.energy+{$D->bkg_eshift}", {$D->group}.xmu, e0={$D->bkg_e0},
         pre1={$D->bkg_pre1}, pre2={$D->bkg_pre2}, norm_order={$D->bkg_nnorm},
	 norm1={$D->bkg_nor1}, norm2={$D->bkg_nor2}{$fixed})

More information about the Ifeffit mailing list