Physics::UEMColumn::RFCavity - A class representing an RF cavity in a UEM system
use Physics::UEMColumn alias => ':standard'; my $rf_cav = RFCavity->new( location => $location . 'cm', length => '2 cm', strength => '230 kilovolts / m', frequency => '3 gigahertz', );
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:
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.
0
order
The super-Gaussian order exp( - $x ** ( 2 * $order ) ) determining the shape of the lens. Default is 2.
exp( - $x ** ( 2 * $order ) )
2
effect
Returns a hash reference of effect subroutine references (M_t, M_z, acc_z). See "METHODS" in Physics::UEMColumn::Element for more.
M_t
M_z
acc_z
http://github.com/jberger/Physics-UEMColumn
Joel Berger, <joel.a.berger@gmail.com>
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.
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.