Collection of code for the flat top streaking analysis