Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The FWHM of the convolution and it's amplitude are good indicators of how well this worked, and are also reported.

Info
titleWhere do the filter weights come from?
From Matt Weaver 8/23/17:

The spectrum ratio is treated as a waveform, and that waveform is analyzed with a Wiener filter in the "time" domain.  It is actually a matched filter where the noise is characterized by taking the ratio of non-exposed spectra from different images - should be flat but the instability of the reference optical spectrum causes it to have correlated movements.  So, the procedure for producing those matched filter weights goes like this:

  1. Collect several non-xray exposed spectra;
  2. for each pair make a ratio waveform;
  3. calculate the auto-correlation function of those waveforms (average several of them);
  4. Collect your best averaged ratio with signal;
  5. smooth out any non-physics features

There's a script (http://pswww.slac.stanford.edu/svn-readonly/psdmrepo/TimeTool/trunk/data/timetool_setup.py) which shows the last steps of the calibration process that produces the matched filter weights from the autocorrelation function and the signal waveform.  That script has some inputs hard-coded into it, but it at least shows the procedure.  It requires some manual intervention to get a sensible answer, since there are often undesirable features in the signal that the algorithm picks up and tries to optimize towards.

 

 

The astute reader will notice that this trace has no etalon wiggles. That is because it has been cleaned up by subtracting an x-ray off shot (BYKICK). Those events have the same etalon effect, but no edge – subtracting them removes the etalon. That's a good thing, because the etalon wiggles would have given this method a little trouble if they were big in amplitude.

...