From 726846cbc8bf16deb703677986f66351cb08bb0c Mon Sep 17 00:00:00 2001
From: Mikhail Svechnikov <svechnikovmv@gmail.com>
Date: Fri, 4 Aug 2023 18:39:33 +0200
Subject: [PATCH] upd signatures

---
 hugo/content/ref/instr/det/spherical-detector/index.md | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/hugo/content/ref/instr/det/spherical-detector/index.md b/hugo/content/ref/instr/det/spherical-detector/index.md
index 6b921aa4101..22ebe773dfa 100644
--- a/hugo/content/ref/instr/det/spherical-detector/index.md
+++ b/hugo/content/ref/instr/det/spherical-detector/index.md
@@ -72,22 +72,20 @@ start : Low edge of first bin
 end   : Upper edge of last bin
 """
  
-GenericScale(name, nbins, bin_boundaries)
+GenericScale(name, bin_boundaries)
 """
 Constructs an axis with variable bin size
  
 name           : The name of the axis
-nbins          : Number of axis bins
-bin_boundaries : Array of size nbins+1 containing low-edges for each bin and upper edge of last bin.
+bin_boundaries : Array of even size containing lower and upper edges for each bin.
 """
 ```
 
 In the following example we create a `SphericalDetector` with two axes: an x-axis with variable bin size and a y-axis with fixed bin size. The code and resulting detector plane are shown below.
 
 ```python
-nxbins = 13
-xedges = [-1.0*deg, -0.7*deg, -0.5*deg, -0.3*deg, -0.2*deg, -0.1*deg, -0.025*deg, 0.025*deg, 0.1*deg, 0.2*deg, 0.3*deg, 0.5*deg, 0.7*deg, 1.0*deg]
-xaxis = GenericScale("my-x-axis", nxbins, xedges)
+xedges = [-1.0*deg, -0.7*deg, -0.7*deg, -0.5*deg, -0.5*deg, -0.3*deg, -0.3*deg, -0.2*deg, -0.2*deg, -0.1*deg, -0.1*deg, -0.025*deg, -0.025*deg, 0.025*deg, 0.025*deg, 0.1*deg, 0.1*deg, 0.2*deg, 0.2*deg, 0.3*deg, 0.3*deg, 0.5*deg, 0.5*deg, 0.7*deg, 0.7*deg, 1.0*deg]
+xaxis = GenericScale("my-x-axis", xedges)
  
 yaxis = EquiDivision("my-y-axis", 10, 0.0, 10.)
  
-- 
GitLab