Physics::UEMColumn::Photocathode - Class representing a photocathode for the Physics::UEMColumn simulation
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 );
The "work function" of the material. Rquired. Unit: J
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.
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).
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
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.
Joel Berger, <email@example.com>
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.
To install Physics::UEMColumn, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.