Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4502701b783b
Choose a base ref
...
head repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dc57f4465eee
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Dec 11, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dc57f44 View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −1 scopeprotocols/AutocorrelationFilter.cpp
  2. +1 −1 scopeprotocols/JitterSpectrumFilter.cpp
2 changes: 1 addition & 1 deletion scopeprotocols/AutocorrelationFilter.cpp
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ AutocorrelationFilter::AutocorrelationFilter(const string& color)
m_offset = 0;

m_maxDeltaName = "Max offset";
m_parameters[m_maxDeltaName] = FilterParameter(FilterParameter::TYPE_INT, Unit(Unit::UNIT_VOLTS));
m_parameters[m_maxDeltaName] = FilterParameter(FilterParameter::TYPE_INT, Unit(Unit::UNIT_SAMPLEDEPTH));
m_parameters[m_maxDeltaName].SetIntVal(1000);
}

2 changes: 1 addition & 1 deletion scopeprotocols/JitterSpectrumFilter.cpp
Original file line number Diff line number Diff line change
@@ -202,7 +202,7 @@ void JitterSpectrumFilter::Refresh()
size_t capture_duration = din->m_offsets[inlen-1] + din->m_durations[inlen-1];
size_t num_uis = extended_samples.size();
double ui_width_final = static_cast<double>(capture_duration) / num_uis;
//LogTrace("Capture is %zu UIs, %s\n", num_uis, Unit(Unit::UNIT_FS).PrettyPrint(capture_duration).c_str());
LogTrace("Capture is %zu UIs, %s\n", num_uis, Unit(Unit::UNIT_FS).PrettyPrint(capture_duration).c_str());
LogTrace("Final UI width estimate: %s\n", Unit(Unit::UNIT_FS).PrettyPrint(ui_width_final).c_str());

//Round size up to next power of two