SNEWS2 / snewpdag

SNEWS2 alert calculations
BSD 3-Clause "New" or "Revised" License
1 stars 13 forks source link

Create time difference residual histogram plot #51

Closed chensihan1999 closed 2 years ago

chensihan1999 commented 2 years ago

This code TimeDiffResidualPlot.py first calculates the time difference between each detector pair, making sure that they are all within the 40ms limit. Then it plotted the time difference residual in a histogram plot by calculating the difference between true time difference and expected time difference between each detector pair.

chensihan1999 commented 2 years ago

Should I save the output figure or simply doing plt.show() is enough? If we want to save the plot, where should we save it?