logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

         Bruce Ravel, bravel AT bnl DOT gov
         http://cars9.uchicago.edu/~ravel/software/exafs/

perl v5.34.0                                       2022-06-28                        Xray::Scattering::None(3pm)

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.

Name

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

Synopsis

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

See Also