Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added-in option for very long integration time #252

Merged
merged 1 commit into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions friture/octavespectrum_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def __init__(self, parent):
self.comboBox_response_time.addItem("125 ms (Fast)")
self.comboBox_response_time.addItem("300 ms")
self.comboBox_response_time.addItem("1s (Slow)")
self.comboBox_response_time.addItem("5s (Very Slow)")
self.comboBox_response_time.setCurrentIndex(DEFAULT_RESPONSE_TIME_INDEX)

self.formLayout.addRow("Bands per octave:", self.comboBox_bandsperoctave)
Expand Down Expand Up @@ -113,6 +114,8 @@ def responsetimechanged(self, index):
response_time = 0.3
elif index == 3:
response_time = 1.
elif index == 4:
response_time = 5.
self.logger.info("responsetimechanged slot %d %d", index, response_time)
self.parent().setresponsetime(response_time)

Expand Down
3 changes: 3 additions & 0 deletions friture/spectrum_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def __init__(self, parent):
self.comboBox_response_time.addItem("125 ms (Fast)")
self.comboBox_response_time.addItem("300 ms")
self.comboBox_response_time.addItem("1s (Slow)")
self.comboBox_response_time.addItem("5s (Very Slow)")
self.comboBox_response_time.setCurrentIndex(DEFAULT_RESPONSE_TIME_INDEX)

self.checkBox_showFreqLabels = QtWidgets.QCheckBox(self)
Expand Down Expand Up @@ -178,6 +179,8 @@ def responsetimechanged(self, index):
response_time = 0.3
elif index == 3:
response_time = 1.
elif index == 4:
response_time = 5.
self.logger.info("responsetimechanged slot %d %d", index, response_time)
self.parent().setresponsetime(response_time)

Expand Down