Demeter::UI::Metis::PluckPoint

NAME

Demeter::UI::Metis::PluckPoint - Widget for defining a spot for removal from an image

VERSION

See Xray::BLA

SYNOPSIS

This module provides a dialog for defining a spot in an image to be removed during the bad/weak step in a recipe. This dialog prompts an energy, an x/y position, and a radius, whihc are returned as a white-space separate string.

my $pp = Demeter::UI::Metis::PluckPoint->new($self, $self->{energy}->GetStringSelection, $x, $y);
if ($pp->ShowModal == wxID_CANCEL) {
  $app->{main}->status("Making spot canceled.");
  return;
};
my $line = join("  ",  $pp->{e}->GetValue, $pp->{x}->GetValue, $pp->{y}->GetValue, $pp->{r}->GetValue);

The energy part of this string can refer to a single energy or an energy range using this syntax:

energy

This refers to the elastic image a specific energy. For example:

11191

emin-emax

This refers to a range of elastic energies, inclusive. For example:

11194-11196

It is important that there be no white space around the dash.

emin+

This refers to a range of elastic energies beginning at the specified value and going to the end of the data set. For example:

11198+

It is important that there be no white space around the plus sign..

BUGS AND LIMITATIONS

Please report problems to the Ifeffit Mailing List (http://cars9.uchicago.edu/mailman/listinfo/ifeffit/)

Patches are welcome.

AUTHOR

Bruce Ravel (bravel AT bnl DOT gov)

http://github.com/bruceravel/BLA-XANES