Wrong time calculation in binning notebook for BOZ analysis
There are several issue with how time is calculated in the BOZ notebooks.
- first, in small data we use origin with a non zero default value. it should be set to 0 since t0 is substracted later in the final plotting.
- second, we have invert=True to calculated delay in ps, but then we recalculate the delay in mm without inverting the scale so we gain an overall scale inversion. We should keep invert=False.
- with invert set to False, the bam correction sign should be changed.
- in the binning notebook, the delay_ps is never used. The ps scale is recalculated from the x axis via a secondary axis in the plot. The inverse function there should read -0.15*x + t0
- then the xlim of the primary axis should be inverted such that the delay in ps goes positive