NAME
Physics::UEMColumn::Photocathode - Class representing a photocathode for the Physics::UEMColumn simulation
SYNOPSIS
use strict;
use warnings;
use Physics::UEMColumn alias => ':standard';
my $photocathode = Photocathode->new(
work_function => '4.25 eV',
);
# note that $photocathode must have some access to an appropriate Column object
my $pulse = $photocathode->generate_pulse( 1e8 );
ATTRIBUTES
work_function
-
The "work function" of the material. Rquired. Unit: J
location
-
The location of the Photocathode in the Column. This value will be used as the location of the generated Pulse object. The default is
0
. column
-
Holder for a reference to the containing Column object. This should not be set manually, but will be done by adding the Photocathode object to the Column via its
photocathode
attribute (either at creation or setter method). energy_fermi
-
The Fermi energy of the material. This was required in a previous version of the code (before using the Dowell result), it is no longer required nor used. Unit: J
METHODS
generate_pulse
-
Takes a number which represents the number of electrons to be put in the pulse. This method uses the available information (some of it from the
column
attribute) to generate a pulse in the manner of a flat metal photocathode. The behavior of this method is likely to change as the flat metal photocathode really ought to be a subclass of some more generic class.
SOURCE REPOSITORY
http://github.com/jberger/Physics-UEMColumn
AUTHOR
Joel Berger, <joel.a.berger@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2012-2013 by Joel Berger
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.