Closed mcol closed 2 months ago
If signal.integral.min == signal.integral.max, n.channel is computed as Inf:
signal.integral.min == signal.integral.max
n.channel
Inf
https://github.com/R-Lum/Luminescence/blob/759a1142651cc557f9fd06c6b061d1aff244cdf9/R/plot_DetPlot.R#L212-L215
For example here:
plot_DetPlot( object, method = "shift", signal.integral.min = 1, signal.integral.max = 1, background.integral.min = 20, background.integral.max = 70, analyse_function.control = list( fit.method = "LIN"), verbose = FALSE) # Error in 1:n.channels : result would be too long a vector
Fixed by #206.
If
signal.integral.min == signal.integral.max
,n.channel
is computed asInf
:https://github.com/R-Lum/Luminescence/blob/759a1142651cc557f9fd06c6b061d1aff244cdf9/R/plot_DetPlot.R#L212-L215
For example here: