LabTools3 1.1.3.18__tar.gz → 1.1.3.19__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.
@@ -368,7 +368,7 @@ class histo:
368
368
  # histogram with weights squared
369
369
  kwargs1 = copy.copy(kwargs)
370
370
  kwargs1['weights'] = w2
371
- w2 = np.histogram(y, **kwargs1)[0] # save only the bin content
371
+ w2 = np.histogram(y, bins = self.res[1], **kwargs1)[0] # save only the bin content
372
372
  # add the new bin content to the old one
373
373
  self.res = (self.res[0] + res[0], self.res[1])
374
374
  if self.calc_w2 and self.has_weights:
@@ -928,6 +928,7 @@ class histo:
928
928
  ============ =====================================================
929
929
  xmin lower fit limit
930
930
  xmax upper fit limit
931
+ ============ =====================================================
931
932
 
932
933
  """
933
934
  # is there a range given, or is a window set
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: LabTools3
3
- Version: 1.1.3.18
3
+ Version: 1.1.3.19
4
4
  Summary: Python 3 Package of modules for typical analysis tasks analyzing physics data
5
5
  Home-page: http://wanda.fiu.edu/LabTools3
6
6
  Author: Werner Boeglin
@@ -11,6 +11,16 @@ Classifier: Programming Language :: Python :: 3.8
11
11
  Requires-Python: >=3.8
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: classifier
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: keywords
21
+ Dynamic: license
22
+ Dynamic: requires-python
23
+ Dynamic: summary
14
24
 
15
25
  # LabTools3
16
26
  Set of Python analysis tools for physics labs. It contains the "package" directory which is the Python package with a setup.py script for installation and
@@ -58,3 +68,5 @@ Version 1.1.3.16: Corrected bug in histo.rebin. gen_fit allows control of relati
58
68
  Version 1.1.3.17: Histogram window settings are now also saved to data file. Replace equal sign with colon in histogram title in get_spectrum.
59
69
 
60
70
  Version 1.1.3.18: Added plot_guess function to histo. This makes it easy to plot fit functions with guessed parameters.
71
+
72
+ Version 1.1.3.19: Fixed but when using using the fill function in 1d histograms with weights multiple times.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: LabTools3
3
- Version: 1.1.3.18
3
+ Version: 1.1.3.19
4
4
  Summary: Python 3 Package of modules for typical analysis tasks analyzing physics data
5
5
  Home-page: http://wanda.fiu.edu/LabTools3
6
6
  Author: Werner Boeglin
@@ -11,6 +11,16 @@ Classifier: Programming Language :: Python :: 3.8
11
11
  Requires-Python: >=3.8
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
+ Dynamic: author
15
+ Dynamic: author-email
16
+ Dynamic: classifier
17
+ Dynamic: description
18
+ Dynamic: description-content-type
19
+ Dynamic: home-page
20
+ Dynamic: keywords
21
+ Dynamic: license
22
+ Dynamic: requires-python
23
+ Dynamic: summary
14
24
 
15
25
  # LabTools3
16
26
  Set of Python analysis tools for physics labs. It contains the "package" directory which is the Python package with a setup.py script for installation and
@@ -58,3 +68,5 @@ Version 1.1.3.16: Corrected bug in histo.rebin. gen_fit allows control of relati
58
68
  Version 1.1.3.17: Histogram window settings are now also saved to data file. Replace equal sign with colon in histogram title in get_spectrum.
59
69
 
60
70
  Version 1.1.3.18: Added plot_guess function to histo. This makes it easy to plot fit functions with guessed parameters.
71
+
72
+ Version 1.1.3.19: Fixed but when using using the fill function in 1d histograms with weights multiple times.
@@ -43,4 +43,6 @@ Version 1.1.3.16: Corrected bug in histo.rebin. gen_fit allows control of relati
43
43
 
44
44
  Version 1.1.3.17: Histogram window settings are now also saved to data file. Replace equal sign with colon in histogram title in get_spectrum.
45
45
 
46
- Version 1.1.3.18: Added plot_guess function to histo. This makes it easy to plot fit functions with guessed parameters.
46
+ Version 1.1.3.18: Added plot_guess function to histo. This makes it easy to plot fit functions with guessed parameters.
47
+
48
+ Version 1.1.3.19: Fixed but when using using the fill function in 1d histograms with weights multiple times.
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name = "LabTools3",
8
- version = "1.1.3.18",
8
+ version = "1.1.3.19",
9
9
  packages = find_packages(),
10
10
  # add additional files
11
11
  package_data = {'':['*.bat','*.command']},
File without changes
File without changes
File without changes