NAME

Physics::UEMColumn::RFCavity - A class representing an RF cavity in a UEM system

SYNOPSIS

use Physics::UEMColumn alias => ':standard';
my $rf_cav = RFCavity->new(
  location  => $location . 'cm',
  length    => '2 cm',
  strength  => '230 kilovolts / m',
  frequency => '3 gigahertz',
);

DESCRIPTION

Physics::UEMColumn::RFCavity is a class representing a RF cavity (z lens) in a UEM system. It is a subclass of Physics::UEMColumn::Element and inherits its attributes and methods. Additionally it provides:

ATTRIBUTES

stength

The electric field strength of the RF cavity. Unit: V/m

frequency

The resonant frequency of the RF Cavity. Unit: Hz

phase

The phase offset in radians (i.e. 0 - 2*pi) of the electric field oscillation. In practice this determines the the mode of operation of the cavity (compressor, accelerator). Default is 0.

order

The super-Gaussian order exp( - $x ** ( 2 * $order ) ) determining the shape of the lens. Default is 2.

METHODS

effect

Returns a hash reference of effect subroutine references (M_t, M_z, acc_z). See "METHODS" in Physics::UEMColumn::Element for more.

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.