harm-analysis 1.1.0__tar.gz → 1.1.2__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.
Files changed (30) hide show
  1. {harm-analysis-1.1.0/harm_analysis.egg-info → harm_analysis-1.1.2}/PKG-INFO +2 -2
  2. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/source/index.rst +3 -3
  3. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/harm_analysis/_harm_analysis.py +1 -2
  4. {harm-analysis-1.1.0 → harm_analysis-1.1.2/harm_analysis.egg-info}/PKG-INFO +2 -2
  5. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/pyproject.toml +1 -1
  6. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/.gitignore +0 -0
  7. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/.readthedocs.yaml +0 -0
  8. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/README.rst +0 -0
  9. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/Makefile +0 -0
  10. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/harm_analysis_out_example.png +0 -0
  11. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/make.bat +0 -0
  12. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/requirements.txt +0 -0
  13. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/source/conf.py +0 -0
  14. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/source/harm_analysis.rst +0 -0
  15. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/source/tutorial/examples/run_harm_analysis.py +0 -0
  16. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/docs/source/tutorial/examples/run_shaped_noise_example.py +0 -0
  17. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/harm_analysis/__init__.py +0 -0
  18. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/harm_analysis/cli.py +0 -0
  19. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/harm_analysis.egg-info/SOURCES.txt +0 -0
  20. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/harm_analysis.egg-info/dependency_links.txt +0 -0
  21. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/harm_analysis.egg-info/entry_points.txt +0 -0
  22. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/harm_analysis.egg-info/requires.txt +0 -0
  23. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/harm_analysis.egg-info/top_level.txt +0 -0
  24. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/requirents.txt +0 -0
  25. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/setup.cfg +0 -0
  26. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/tests/__init__.py +0 -0
  27. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/tests/test_cli.py +0 -0
  28. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/tests/test_data_cli.txt +0 -0
  29. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/tests/test_harm_analysis.py +0 -0
  30. {harm-analysis-1.1.0 → harm_analysis-1.1.2}/tests/test_harm_analysis_cli.py +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: harm-analysis
3
- Version: 1.1.0
4
- Summary: A Python library for Q format representation and overflow handling.
3
+ Version: 1.1.2
4
+ Summary: A Python library to estimate parameters from a signal containing a tone.
5
5
  Author-email: Eric Macedo <ericsmacedo@gmail.com>
6
6
  License: MIT
7
7
  Project-URL: Documentation, https://harm-analysis.readthedocs.io/en/latest/
@@ -70,9 +70,9 @@ The code above also outputs:
70
70
  total_noise_and_dist [dB]: -42.023784918366445
71
71
 
72
72
 
73
- The example below shows how to use the max_bw for cases where the fundamental is not
74
- the highest spectral component in the signal. For the example, we set max_bw to
75
- 5 kHz.
73
+ The example below shows how to use the bw argument, for cases where the fundamental
74
+ is not the highest spectral component in the signal. For the example, we set bw to
75
+ 5 kHz. For this case, the metrics will only be calculated from 0 Hz to 5 kHz.
76
76
 
77
77
  .. plot:: tutorial/examples/run_shaped_noise_example.py
78
78
  :include-source:
@@ -57,7 +57,6 @@ def _rfft_length(n):
57
57
  return (n + 1) // 2
58
58
 
59
59
 
60
-
61
60
  def _win_metrics(x):
62
61
  """
63
62
  Compute the coherent gain and the equivalent noise bandwidth of a window.
@@ -422,7 +421,7 @@ def harm_analysis(x: np.array,
422
421
  Number of harmonics used in the THD calculation.
423
422
  window : array_like, optional
424
423
  Window that will be multiplied with the signal. Default is
425
- Hann squared.
424
+ Hann window.
426
425
  bw : float, optional
427
426
  Bandwidth to use for the calculation of the metrics, in same units as FS.
428
427
  Also useful to filter another tone (or noise) with amplitude greater than the
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: harm-analysis
3
- Version: 1.1.0
4
- Summary: A Python library for Q format representation and overflow handling.
3
+ Version: 1.1.2
4
+ Summary: A Python library to estimate parameters from a signal containing a tone.
5
5
  Author-email: Eric Macedo <ericsmacedo@gmail.com>
6
6
  License: MIT
7
7
  Project-URL: Documentation, https://harm-analysis.readthedocs.io/en/latest/
@@ -11,7 +11,7 @@ name = "harm-analysis"
11
11
  authors = [
12
12
  {name = 'Eric Macedo', email = 'ericsmacedo@gmail.com'}
13
13
  ]
14
- description = 'A Python library for Q format representation and overflow handling.'
14
+ description = 'A Python library to estimate parameters from a signal containing a tone.'
15
15
  dynamic = ["version"] # This in conjunction with setuptools_scm, will generate the
16
16
  # versions dynamically
17
17
  readme = "README.rst"
File without changes
File without changes
File without changes