I am sorry if this question is too basic.
I calculated the Cross-correlation function for 365 days (each day devided into 2 segments). Now I want to calculate the lag time by keeping first as a reference.
I know it is simple if we have two function.
I have max 300 seconds as lag time on each sides (positve and negative) and total number of data poitns are 3001*1 as shown in attached picture.
How can i calculate the lag time for each day?