Skip to content

Commit

Permalink
Increase peak-to-peak amplitude display
Browse files Browse the repository at this point in the history
  • Loading branch information
medengineer committed Aug 2, 2021
1 parent 5821a68 commit 1b5b1a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Source/UI/NeuropixInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -560,13 +560,13 @@ void NeuropixInterface::comboBoxChanged(ComboBox* comboBox)
{
probeBrowser->activityToView = ActivityToView::APVIEW;
ColourScheme::setColourScheme(ColourSchemeId::PLASMA);
probeBrowser->maxPeakToPeakAmplitude = 100.0f;
probeBrowser->maxPeakToPeakAmplitude = 200.0f;
}
else
{
probeBrowser->activityToView = ActivityToView::LFPVIEW;
ColourScheme::setColourScheme(ColourSchemeId::VIRIDIS);
probeBrowser->maxPeakToPeakAmplitude = 250.0f;
probeBrowser->maxPeakToPeakAmplitude = 500.0f;
}

}
Expand All @@ -581,12 +581,12 @@ void NeuropixInterface::comboBoxChanged(ComboBox* comboBox)
{
probeBrowser->activityToView = ActivityToView::APVIEW;
ColourScheme::setColourScheme(ColourSchemeId::PLASMA);
probeBrowser->maxPeakToPeakAmplitude = 100.0f;
probeBrowser->maxPeakToPeakAmplitude = 200.0f;
}
else {
probeBrowser->activityToView = ActivityToView::LFPVIEW;
ColourScheme::setColourScheme(ColourSchemeId::VIRIDIS);
probeBrowser->maxPeakToPeakAmplitude = 250.0f;
probeBrowser->maxPeakToPeakAmplitude = 500.0f;
}

repaint();
Expand Down
2 changes: 1 addition & 1 deletion Source/UI/ProbeBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ ProbeBrowser::ProbeBrowser(NeuropixInterface* parent_) : parent(parent_)
cursorType = MouseCursor::NormalCursor;

activityToView = ActivityToView::APVIEW;
maxPeakToPeakAmplitude = 100.0f;
maxPeakToPeakAmplitude = 200.0f;

isOverZoomRegion = false;
isOverUpperBorder = false;
Expand Down

0 comments on commit 1b5b1a2

Please sign in to comment.