rs-mrt-dau-utilities 0.2.2__tar.gz → 0.2.4__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.4
2
2
  Name: rs-mrt-dau-utilities
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: Add your description here
5
5
  Author: Didier Chagniot
6
6
  Author-email: Didier Chagniot <didier.chagniot@rohde-schwarz.com>
@@ -30,15 +30,13 @@ Description-Content-Type: text/x-rst
30
30
  .. image:: https://img.shields.io/pypi/l/rs-mrt-dau-utilities.svg
31
31
  :target: https://pypi.python.org/pypi/rs-mrt-dau-utilities/
32
32
 
33
- .. image:: https://img.shields.io/pypi/pyversions/pybadges.svg
34
- :target: https://img.shields.io/pypi/pyversions/pybadges.svg
35
-
36
33
  .. image:: https://img.shields.io/pypi/dm/rs-mrt-dau-utilities.svg
37
34
  :target: https://pypi.python.org/pypi/rs-mrt-dau-utilities/
38
35
 
39
36
  rs-mrt-dau-utilities package provides two convenient modules for Rohde & Schwarz Data Application Unit (DAU):
40
- - `ip_analysis` module for creating Polars dataframes from the SCPI results.
41
- - `delay` module for creating Polars dataframes from the centralservice.log file.
37
+
38
+ * `ip_analysis` module for creating Polars dataframes from the SCPI results.
39
+ * `delay` module for creating Polars dataframes from the centralservice.log file.
42
40
 
43
41
  ip_analysis code:
44
42
 
@@ -61,15 +59,37 @@ ip_analysis code:
61
59
 
62
60
  print(list_of_dfs)
63
61
 
64
- Check out the full documentation on `ReadTheDocs <https://rs-mrt-dau-utilities.readthedocs.io/>`_.
62
+ delay code:
63
+
64
+ .. code-block:: python
65
+
66
+ import rs_mrt_dau_utilities.delay as delay
67
+
68
+ log_file_path = 'centralservice.log'
69
+ delay_df = delay.extract_delay_from_log(log_file_path)
70
+
71
+ print(delay_df)
72
+
73
+ Installation
74
+ ------------
75
+ You can install the package via pip:
65
76
 
66
- Our public `Rohde&Schwarz Github repository <https://github.com/Rohde-Schwarz/Examples/tree/main/Misc/Python/rs-mrt-dau-utilities>`_ hosts many examples using this library.
67
- If you're looking for examples with specific instruments, check out the ones for
68
- `Oscilloscopes <https://github.com/Rohde-Schwarz/Examples/tree/main/Oscilloscopes/Python/RsInstrument>`_,
69
- `Powersensors <https://github.com/Rohde-Schwarz/Examples/tree/main/Powersensors/Python/RsInstrument>`_,
70
- `Powersupplies <https://github.com/Rohde-Schwarz/Examples/tree/main/Powersupplies/Python/RsInstrument>`_,
71
- `Spectrum Analyzers <https://github.com/Rohde-Schwarz/Examples/tree/main/SpectrumAnalyzers/Python/RsInstrument>`_,
72
- `Vector Network Analyzers <https://github.com/Rohde-Schwarz/Examples/tree/main/VectorNetworkAnalyzers/Python/RsInstrument>`_.
77
+ .. code-block:: bash
78
+
79
+ pip install rs-mrt-dau-utilities
80
+
81
+ Note on Windows: You need the following additional dependencies if you get the error below:
82
+ .. code-block:: bash
83
+
84
+ error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
85
+
86
+ You can install them with this command:
87
+ .. code-block:: bash
88
+
89
+ vs_buildtools.exe --norestart --passive --downloadThenInstall --includeRecommended --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.MSBuildTools
90
+
91
+
92
+ Check out the full documentation on `ReadTheDocs <https://rs-mrt-dau-utilities.readthedocs.io/>`_.
73
93
 
74
94
 
75
95
  Version history:
@@ -11,15 +11,13 @@
11
11
  .. image:: https://img.shields.io/pypi/l/rs-mrt-dau-utilities.svg
12
12
  :target: https://pypi.python.org/pypi/rs-mrt-dau-utilities/
13
13
 
14
- .. image:: https://img.shields.io/pypi/pyversions/pybadges.svg
15
- :target: https://img.shields.io/pypi/pyversions/pybadges.svg
16
-
17
14
  .. image:: https://img.shields.io/pypi/dm/rs-mrt-dau-utilities.svg
18
15
  :target: https://pypi.python.org/pypi/rs-mrt-dau-utilities/
19
16
 
20
17
  rs-mrt-dau-utilities package provides two convenient modules for Rohde & Schwarz Data Application Unit (DAU):
21
- - `ip_analysis` module for creating Polars dataframes from the SCPI results.
22
- - `delay` module for creating Polars dataframes from the centralservice.log file.
18
+
19
+ * `ip_analysis` module for creating Polars dataframes from the SCPI results.
20
+ * `delay` module for creating Polars dataframes from the centralservice.log file.
23
21
 
24
22
  ip_analysis code:
25
23
 
@@ -42,15 +40,37 @@ ip_analysis code:
42
40
 
43
41
  print(list_of_dfs)
44
42
 
45
- Check out the full documentation on `ReadTheDocs <https://rs-mrt-dau-utilities.readthedocs.io/>`_.
43
+ delay code:
44
+
45
+ .. code-block:: python
46
+
47
+ import rs_mrt_dau_utilities.delay as delay
48
+
49
+ log_file_path = 'centralservice.log'
50
+ delay_df = delay.extract_delay_from_log(log_file_path)
51
+
52
+ print(delay_df)
53
+
54
+ Installation
55
+ ------------
56
+ You can install the package via pip:
46
57
 
47
- Our public `Rohde&Schwarz Github repository <https://github.com/Rohde-Schwarz/Examples/tree/main/Misc/Python/rs-mrt-dau-utilities>`_ hosts many examples using this library.
48
- If you're looking for examples with specific instruments, check out the ones for
49
- `Oscilloscopes <https://github.com/Rohde-Schwarz/Examples/tree/main/Oscilloscopes/Python/RsInstrument>`_,
50
- `Powersensors <https://github.com/Rohde-Schwarz/Examples/tree/main/Powersensors/Python/RsInstrument>`_,
51
- `Powersupplies <https://github.com/Rohde-Schwarz/Examples/tree/main/Powersupplies/Python/RsInstrument>`_,
52
- `Spectrum Analyzers <https://github.com/Rohde-Schwarz/Examples/tree/main/SpectrumAnalyzers/Python/RsInstrument>`_,
53
- `Vector Network Analyzers <https://github.com/Rohde-Schwarz/Examples/tree/main/VectorNetworkAnalyzers/Python/RsInstrument>`_.
58
+ .. code-block:: bash
59
+
60
+ pip install rs-mrt-dau-utilities
61
+
62
+ Note on Windows: You need the following additional dependencies if you get the error below:
63
+ .. code-block:: bash
64
+
65
+ error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
66
+
67
+ You can install them with this command:
68
+ .. code-block:: bash
69
+
70
+ vs_buildtools.exe --norestart --passive --downloadThenInstall --includeRecommended --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.MSBuildTools
71
+
72
+
73
+ Check out the full documentation on `ReadTheDocs <https://rs-mrt-dau-utilities.readthedocs.io/>`_.
54
74
 
55
75
 
56
76
  Version history:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rs-mrt-dau-utilities"
3
- version = "0.2.2"
3
+ version = "0.2.4"
4
4
  license = "MIT"
5
5
  description = "Add your description here"
6
6
  readme = "README.rst"