The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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(
    energy_fermi => '5.3 eV',
    work_function => '4.25 eV',
  );

  # note that $photocathode must have some access to an appropriate Column object

  my $pulse = $photocathode->generate_pulse( 1e8 );

ATTRIBUTES

energy_fermi

The Fermi energy of the material. Required. Unit: J

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).

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 by Joel Berger

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.