diff --git a/BecquerelMonitor/BecquerelMonitor.csproj b/BecquerelMonitor/BecquerelMonitor.csproj index 437116b..8a08302 100644 --- a/BecquerelMonitor/BecquerelMonitor.csproj +++ b/BecquerelMonitor/BecquerelMonitor.csproj @@ -35,8 +35,8 @@ 2022.07.08.7 true index.html - 1 - 2024.05.05.1 + 2 + 2024.05.05.2 true true true diff --git a/BecquerelMonitor/FWHMPeakDetector/PeakFilter.cs b/BecquerelMonitor/FWHMPeakDetector/PeakFilter.cs index b6cce22..8fd176f 100644 --- a/BecquerelMonitor/FWHMPeakDetector/PeakFilter.cs +++ b/BecquerelMonitor/FWHMPeakDetector/PeakFilter.cs @@ -249,7 +249,7 @@ public ConcurrentDictionary kernel_matrix(double[] edges) public double gaussian0 (double x, double mean, double sigma) { double z = (x - mean) / sigma; - return Math.Exp(-z * z / 2.0); + return Math.Exp(-z * z / 2.0) / (Math.Sqrt(2.0 * Math.PI) * sigma); } /// diff --git a/BecquerelMonitor/Properties/AssemblyInfo.cs b/BecquerelMonitor/Properties/AssemblyInfo.cs index 73b04a2..3f79a60 100644 --- a/BecquerelMonitor/Properties/AssemblyInfo.cs +++ b/BecquerelMonitor/Properties/AssemblyInfo.cs @@ -4,13 +4,13 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -[assembly: AssemblyVersion("2024.05.05.1")] +[assembly: AssemblyVersion("2024.05.05.2")] [assembly: AssemblyProduct("BecquerelMonitor")] [assembly: AssemblyCopyright("free")] [assembly: AssemblyTrademark("none")] [assembly: AssemblyConfiguration("")] [assembly: Guid("40110b38-4882-47c1-ad94-a71e58dcb5f8")] -[assembly: AssemblyFileVersion("2024.05.05.1")] +[assembly: AssemblyFileVersion("2024.05.05.2")] [assembly: AssemblyDescription("")] [assembly: AssemblyCompany("free")] [assembly: CompilationRelaxations(8)]