chinus-tools 1.1.0__tar.gz → 1.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chinus_tools
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: This is a chinus Python package.
5
5
  Author-email: Chinu9653 <juyoung9653@gmail.com>
6
6
  License: MIT
@@ -20,7 +20,7 @@ def rand_gauss(
20
20
  elif not 0 <= center_index < len(data):
21
21
  raise ValueError(f'center_index {center_index} is out of range')
22
22
 
23
- sigma = len(data) / 6
23
+ sigma = max(len(data) - center_index, center_index) / 6
24
24
 
25
25
  # 정규분포 기반 가중치 계산
26
26
  weights = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chinus_tools
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: This is a chinus Python package.
5
5
  Author-email: Chinu9653 <juyoung9653@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "chinus_tools"
7
- version = "1.1.0"
7
+ version = "1.1.1"
8
8
  description = "This is a chinus Python package."
9
9
  requires-python = ">=3.6"
10
10
  keywords = []
File without changes
File without changes
File without changes