Potku  1.0.0
Class Documentation
 All Classes Namespaces Functions
Modules.Calibration.TOFCalibrationPoint Class Reference

Public Member Functions

def __init__
 
def get_tof_channel
 
def get_tof_seconds
 
def get_name
 
def calculate_time_of_flight
 
def get_point
 

Public Attributes

 cut
 
 type
 
 point_used
 
 masses
 
 recoiled_mass
 
 beam_mass
 
 beam_energy
 
 lenght
 
 target_angle
 
 scatter_element_mass_kg
 
 carbon_thickness
 
 stopping_energy
 
 time_of_flight_channel
 
 time_of_flight_seconds
 

Detailed Description

Class for the calculation of a theoretical time of flight.

Constructor & Destructor Documentation

def Modules.Calibration.TOFCalibrationPoint.__init__ (   self,
  time_of_flight,
  cut,
  masses,
  settings 
)
Inits the class.

Args:
    time_of_flight:
    cut: CutFile class object.
    masses: Reference to Masses class object.
    settings: Settings class object.

Member Function Documentation

def Modules.Calibration.TOFCalibrationPoint.calculate_time_of_flight (   self)
Calculates the time of flight.
    In case of ERD use:
    
    t = l/(sqrt( 2 * (k * E_I0 - dE_RT1) / M_R))
    where:
    
    E_I0 = beam energy
    dE_RT1 = stopping energy of the recoiled particle
    M_R = mass of the recoiled particle
    M_I = mass of the scattered particle
    k = kinetic factor, which is (4 * M_I * M_R * cos(a)^2) / (M_I + M_R)^2
    
    In case of RBS use:
    
    t = l/(sqrt( 2 * (k * E_I0 - dE_IT1) / M_R))
    where:
    
    dE_RT1 = stopping energy of the scattered particle
    M_R = mass of the recoiled particle
    M_I = mass of the scattered particle
    k = kinetic factor, which is (sqrt(( M_R^2 - M_I^2 * cos(a)^2) + M_I * 
    cos(a)) / (M_I + M_R))^2
    
    
    Return:
Calculated time of flight as float. None if the cut file's type is 
not either ERD or RBS.
def Modules.Calibration.TOFCalibrationPoint.get_name (   self)
Get name of the used CutFile.

Return:
    Returns name of the used CutFile.
def Modules.Calibration.TOFCalibrationPoint.get_point (   self)
Get TOFCalibrationPoint values in tuple.

Return:
    Returns TOFCalibrationPoint values in tuple.
def Modules.Calibration.TOFCalibrationPoint.get_tof_channel (   self)
Get Time of Flight channel.

Return:
    Returns Time of Flight channel.
def Modules.Calibration.TOFCalibrationPoint.get_tof_seconds (   self)
Get Time of Flight seconds.

Return:
    Returns Time of Flight seconds.

The documentation for this class was generated from the following file: