pqopen-lib 0.9.0__py3-none-any.whl → 0.9.1__py3-none-any.whl
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.
- pqopen/powersystem.py +1 -2
- {pqopen_lib-0.9.0.dist-info → pqopen_lib-0.9.1.dist-info}/METADATA +1 -1
- {pqopen_lib-0.9.0.dist-info → pqopen_lib-0.9.1.dist-info}/RECORD +5 -5
- {pqopen_lib-0.9.0.dist-info → pqopen_lib-0.9.1.dist-info}/WHEEL +0 -0
- {pqopen_lib-0.9.0.dist-info → pqopen_lib-0.9.1.dist-info}/licenses/LICENSE +0 -0
pqopen/powersystem.py
CHANGED
|
@@ -526,9 +526,8 @@ class PowerSystem(object):
|
|
|
526
526
|
if phys_type == "hf_1khz_rms":
|
|
527
527
|
u_values_windowed = u_values[:self._harm_fft_resample_size]*self._hf_1khz_window
|
|
528
528
|
u_real_fft = np.fft.rfft(u_values_windowed)
|
|
529
|
-
#u_real_fft = np.fft.rfft(u_values_windowed)
|
|
530
529
|
if phase._u_fft_corr_array is not None:
|
|
531
|
-
corr_freq_idx = np.linspace(0,
|
|
530
|
+
corr_freq_idx = np.linspace(0, phase._u_fft_corr_array.size, u_real_fft.shape[0], endpoint=False).astype(np.int32)
|
|
532
531
|
u_real_fft *= phase._u_fft_corr_array[corr_freq_idx]
|
|
533
532
|
u_Pxx = (np.abs(u_real_fft) ** 2) / np.sum(self._hf_1khz_window ** 2)
|
|
534
533
|
u_Pxx /= self._harm_fft_resample_size * 0.5
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pqopen-lib
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.1
|
|
4
4
|
Summary: A power quality processing library for calculating parameters from waveform data
|
|
5
5
|
Project-URL: Homepage, https://github.com/DaqOpen/pqopen-lib
|
|
6
6
|
Project-URL: Issues, https://github.com/DaqOpen/pqopen-lib/issues
|
|
@@ -3,10 +3,10 @@ pqopen/auxcalc.py,sha256=P11Nu9pgJRoPYZDjLk-mXI6Ha02LoTH5bS9FdFTvC9M,2733
|
|
|
3
3
|
pqopen/eventdetector.py,sha256=NKZU7GbeorZdkYu3ET4lhMaeynw70GhIGO2p1xH4aTA,11962
|
|
4
4
|
pqopen/helper.py,sha256=0msrm6i1v8jj2Z5X8F7wDEW0KD5i91RBNZwPJC05YrA,2533
|
|
5
5
|
pqopen/powerquality.py,sha256=Cg7rwXOo3S63idE4XmrlC8CXHgGHbqI6-Urmhlg6ySc,16558
|
|
6
|
-
pqopen/powersystem.py,sha256=
|
|
6
|
+
pqopen/powersystem.py,sha256=3OD0THzENuIzdYvRXx6Z8DSaePb-nNAavuhwzKrUvRs,52374
|
|
7
7
|
pqopen/storagecontroller.py,sha256=8JkeRX3HDWGFR40wO1ejxctQp53eMgEtsJMbOl7ea1Y,33468
|
|
8
8
|
pqopen/zcd.py,sha256=olJZsHRd1CjU65vysc2emR5wFGMkayIWdUEDNE8jfIc,6253
|
|
9
|
-
pqopen_lib-0.9.
|
|
10
|
-
pqopen_lib-0.9.
|
|
11
|
-
pqopen_lib-0.9.
|
|
12
|
-
pqopen_lib-0.9.
|
|
9
|
+
pqopen_lib-0.9.1.dist-info/METADATA,sha256=V1_lcdLjFXVHT2Tzr-ZvA8-wTvA8vYIhgmG35o0Mrbs,4787
|
|
10
|
+
pqopen_lib-0.9.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
11
|
+
pqopen_lib-0.9.1.dist-info/licenses/LICENSE,sha256=yhYwu9dioytbAvNQa0UBwaBVcALqiOoBViEs4HLW6aU,1064
|
|
12
|
+
pqopen_lib-0.9.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|