Physics::UEMColumn::Photocathode - Class representing a photocathode for the Physics::UEMColumn simulation
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 );
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.
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).
photocathode
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
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.
http://github.com/jberger/Physics-UEMColumn
Joel Berger, <joel.a.berger@gmail.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.
cpanm
cpanm Physics::UEMColumn
CPAN shell
perl -MCPAN -e shell install Physics::UEMColumn
For more information on module installation, please visit the detailed CPAN module installation guide.