restructure and organize
This commit is contained in:
40
Functions/EQ_visuals/showMpiLevelScatter.m
Normal file
40
Functions/EQ_visuals/showMpiLevelScatter.m
Normal file
@@ -0,0 +1,40 @@
|
||||
function [sep_sig, avg_sig, info] = showMpiLevelScatter(scopeInput, Symbols, options)
|
||||
%SHOWMPILEVELSCATTER Backward-compatible wrapper around showLevelScatter.
|
||||
% Prefer showLevelScatter directly for new code. This wrapper keeps older
|
||||
% MPI call sites working while sharing one plotting/synchronization path.
|
||||
|
||||
arguments
|
||||
scopeInput
|
||||
Symbols
|
||||
options.fsym double = []
|
||||
options.syncFs (1,1) double = 0
|
||||
options.shiftFs (1,1) double = 0
|
||||
options.shifts double = []
|
||||
options.maxOccurences (1,1) double = Inf
|
||||
options.normalize (1,1) logical = true
|
||||
options.debug_plots (1,1) logical = false
|
||||
options.fignum (1,1) double = NaN
|
||||
options.clear (1,1) logical = true
|
||||
options.showPlot (1,1) logical = true
|
||||
options.xLimits double = []
|
||||
options.yLimits (1,2) double = [-3 3]
|
||||
options.showStdAnnotations (1,1) logical = true
|
||||
options.windowLength (1,1) double {mustBePositive, mustBeInteger} = 500
|
||||
end
|
||||
|
||||
[sep_sig, avg_sig, info] = showLevelScatter(scopeInput, Symbols, ...
|
||||
"fsym", options.fsym, ...
|
||||
"syncFs", options.syncFs, ...
|
||||
"shiftFs", options.shiftFs, ...
|
||||
"shifts", options.shifts, ...
|
||||
"maxOccurences", options.maxOccurences, ...
|
||||
"normalize", options.normalize, ...
|
||||
"debug_plots", options.debug_plots, ...
|
||||
"fignum", options.fignum, ...
|
||||
"clear", options.clear, ...
|
||||
"showPlot", options.showPlot, ...
|
||||
"xLimits", options.xLimits, ...
|
||||
"yLimits", options.yLimits, ...
|
||||
"showStdAnnotations", options.showStdAnnotations, ...
|
||||
"windowLength", options.windowLength);
|
||||
end
|
||||
Reference in New Issue
Block a user