Closed ckuethe closed 10 months ago
This is a good suggestion!
However, I think whether the time chart is log or linear is independent the spectrum being log or linear, so will probably implement as such (probably under the "Opt" tab when you click the three little dots on the upper-right-hand side of the time chart).
It looks like in D3TimeChart.js, if you replace the call to yScaleGamma = ...linear()...
with yScaleGamma = ...log()..
, and then make sure the domain doesn't go to zero, d3.js will take care of the rest. Of course all this needs to be propagated through the plotting options, and a proper domain needs to be found from the (visible) data, but this is all doable. I'll try to get to this before the next release.
Thanks for the suggestion Chris! -will
Log-y option added to the time chart in commit 40e8f78. Only applies to gammas, since its maybe not super useful for neutrons.
Works for me.
As illustrated in the screenshot below, the spectrum is in log scale, but the time series is in linear scale. It'd be nice to have those synced up, or have an another control to switch between linear and log scale on the count rate graph.