| Description | Perl tools for X-ray Absorption Spectroscopy |
Demeter::UI::Hephaestus::Formulas - Hephaestus' formulas utility
This documentation refers to Demeter version 0.9.26.
The contents of Hephaestus' formulas utility can be added to any Wx application.
my $page = Demeter::UI::Hephaestus::Formulas->new($parent,$statusbar);
$sizer -> Add($page, 1, wxGROW|wxEXPAND|wxALL, 0);
The arguments to the constructor method are a reference to the parent in which this is placed and a reference to a mechanism for displaying progress and warning messages. $statusbar is the StatusBar of the parent window.
$page contains most of what is displayed in the main part of the Hephaestus frame. Only the label at the top is not included in $page.
This utility presents a short list of known materials and allows you to either select one or to enter the chemical formula of some other material. There is also a button to open a periodic table pop-up for selecting an element and its natural density. From the specified density and measurement energy, the absorption of that material will be calculated using tables of x-ray absorption coefficients. This is useful for planning sample preparation and for predicting the response of your sample and other parts of the experiment when exposed ot the x-ray beam.
Demeter's dependencies are in the Build.PL file.
Add and delete user materials using an ini file.
Please report problems to the Ifeffit Mailing List (http://cars9.uchicago.edu/mailman/listinfo/ifeffit/)
Patches are welcome.
Bruce Ravel (http://bruceravel.github.io/home)
http://bruceravel.github.io/demeter/
Copyright (c) 2006-2018 Bruce Ravel (http://bruceravel.github.io/home). 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.