Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 488 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 488 Bytes

readdpa_tdp

Refactored dpa reader and manipulator by C++.

additional information provides:

  • peak current
  • bunching factor at nth harmonic

Usage:

Usage: ./readdpa_tdp file1 file2 total_slice total_charge xlamds zsep nharm
	file1: 		dpa file to be read
	file2: 		current file
	total_slice: 	total slice number of dpa file
	total_charge: 	total bunch charge in [pC]
	xlamds: 	wavelength [nm]
	zsep  : 	slice spacing in xlamds
	nharm : 	for bunching factor calculation