Skip to content

Commit 48e5bf8

Browse files
committed
add test data and readme
1 parent c3e2a2d commit 48e5bf8

File tree

5 files changed

+402
-1
lines changed

5 files changed

+402
-1
lines changed

readdpa_tdp/README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#### readdpa_tdp
2+
3+
Refactored dpa reader and manipulator by C++.
4+
5+
additional information provides:
6+
* peak current
7+
* bunching factor at nth harmonic
8+
9+
Usage:
10+
```shell
11+
Usage: ./readdpa_tdp file1 file2 total_slice total_charge xlamds zsep nharm
12+
file1: dpa file to be read
13+
file2: current file
14+
total_slice: total slice number of dpa file
15+
total_charge: total bunch charge in [pC]
16+
xlamds: wavelength [nm]
17+
zsep : slice spacing in xlamds
18+
nharm : for bunching factor calculation
19+
```

readdpa_tdp/readdpa_tdp

100644100755
-40 Bytes
Binary file not shown.

readdpa_tdp/readdpa_tdp.m

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/octave -qf
1+
#!/usr/local/bin/octave -qf
22

33
%--------------------------------------------------------------------
44
% This script is used to extraing slices out of the dpa binary file

0 commit comments

Comments
 (0)