If you want to sum the lightcurves from different channels, use ttag_lightcurve_channel_sum
Usage: ttag_lightcurve_channel_sum [-h] [-v level] output_file input_file1 input_file2 Arguments: input_files : ASCII files with 2 columns : - time - signal output_file : ASCII file with 2 columns : - time - signal Options: -h: this help message -v: verbosity level (=1; 0 is silent)
You can only sum 2 files at a time.
Note that the difference dt between the two first times appearing in the first input file is critical as explained below.
For each time t appearing in the first input file, the program looks for a time t2 appearing in the second input file that has value between t-dt/2 and t+dt/2. If t2 exists then t will appear in the output file.
Only the times that are common (in the way described above) to both inputs will appear in the output file.