Scroll to navigation

Xray::Scattering::None(3pm) User Contributed Perl Documentation Xray::Scattering::None(3pm)

NAME

Xray::Scattering::None - Fallback methods for Xray::Scattering

SYNOPSIS

  use Xray::Scattering;
  Xray::Scattering->load('None');
  $fnot = Xray::Scattering->get_f($symb, $d);

DESCRIPTION

This module provides a fallback subclass for the Xray::Scattering methods. It provides all the methods of the real subclasses, but returns fallback values.

METHODS

"get_f"
Retruns 0.
"get_coefficients"
returns an array of 11 zeros.
"has"
Always returns the symbol itself.

AUTHOR

  Bruce Ravel, bravel AT bnl DOT gov
  http://cars9.uchicago.edu/~ravel/software/exafs/
2015-07-28 perl v5.20.2