Skip to main content
. 2023 Aug 31;23(17):7563. doi: 10.3390/s23177563
Algorithm 1 Interpolation and Rescaling in Norm&Location.
  • Input: 

    The input data {xl}l=1L; {Uεj}j=1J, where J is the total number of processed data, εj=ts,j,te,j; alignment quantity ϑ;

  • 1:

    for each Uεj do

  • 2:   

    List all Uεj in chronological order;

  • 3:   

    Compute sampling interval s=ts,jte,j/ϑ, interpolation quantity J=ϑs;

  • 4:   

    Sample J points based on linear interpolation using the two neighbors of each point g=ts+k(ts,jte,j)JforkinrangeJ;

  • 5:   

    Xin=[iixi+iixi foriing];

  • 6:   

    yεj=meanXinks:k+1s forkinrangeϑ;

  • 7:

    end for

  • Output: 

    Y={yεj}j=1J.