Demeter

Description Perl tools for X-ray Absorption Spectroscopy
Demeter > Perl Modules > Demeter::Data::Athena
Source

NAME

Demeter::Data::Athena - Write Athena project files

VERSION

This documentation refers to Demeter version 0.9.26.

DESCRIPTION

This subclass of Demeter::Data contains methods for interacting with Athena. See Demeter::Data::Prj for Demeter's method of reading Athena project file.

METHODS

write_athena

Export one or more Data objects to an Athena project file. The first argument is the filename for the project file. This is followed by a list additional data objects to export. The caller will be the first group in the project file, followed by the addition data in the order supplied. If the caller is also in the list, it will not be written twice to the project file.

  $data -> write_athena("athena.prj", @list_of_data);

DIAGNOSTICS

You must supply a filename to the write_athena method

The first argument of the write_athena method must be a filename.

You can only write Data objects to Athena files

You have tried to write an object that is not a Data object to an Athena project file.

CONFIGURATION

See Demeter::Config for a description of the configuration system.

DEPENDENCIES

Demeter's dependencies are in the Build.PL file.

BUGS AND LIMITATIONS

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

Patches are welcome.

AUTHOR

Bruce Ravel, http://bruceravel.github.io/home

http://bruceravel.github.io/demeter/

LICENCE AND COPYRIGHT

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.