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-11196It 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.
LICENCE AND COPYRIGHT¶
Copyright (c) 2006-2014,2016 Bruce Ravel and Jeremy Kropf. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlgpl.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Xray::BLA and METIS are copyright © 2011-2014, 2016 Bruce Ravel and Jeremy Kropf – This document is copyright © 2016 Bruce Ravel
This document is licensed under The Creative Commons Attribution-ShareAlike License.
If this software and its documentation are useful to you, please consider supporting The Creative Commons.