Package org.harctoolbox.analyze
Class Analyzer
java.lang.Object
org.harctoolbox.analyze.Cleaner
org.harctoolbox.analyze.Analyzer
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAnalyzer
(int[] data) Analyzer
(Collection<? extends IrSequence> irSequenceList, Double frequency, boolean invokeRepeatFinder, Double absoluteTolerance, Double relativeTolerance) Analyzer
(IrSequence irSequence) Analyzer
(IrSequence irSequence, boolean invokeRepeatFinder) Analyzer
(IrSequence irSequence, Double frequency, boolean invokeRepeatFinder) Analyzer
(IrSequence irSequence, Double frequency, boolean invokeRepeatFinder, Double absoluteTolerance, Double relativeTolerance) Analyzer
(IrSequence irSequence, Double absoluteTolerance, Double relativeTolerance) Analyzer
(ModulatedIrSequence irSequence, boolean invokeRepeatFinder, Double absoluteTolerance, Double relativeTolerance) -
Method Summary
Modifier and TypeMethodDescriptiongetBurst
(int i) Return bursts order after their frequency.int
getNumberPairs
(Burst pair) getPairs()
getSortedBurst
(int i) Return bursts ordered lexicographically.static int[]
mkIndices
(Collection<? extends IrSequence> irSequenceList) void
printStatistics
(PrintStream out, Analyzer.AnalyzerParams params) repeatFinderData
(int i) repeatReducedIrSignal
(int number) searchAllProtocols
(Analyzer.AnalyzerParams params, String decoderPattern, boolean regexp) searchBestProtocol
(List<AbstractDecoder> decoders, int number) searchBestProtocol
(Analyzer.AnalyzerParams analyzerParams) searchBestProtocol
(Analyzer.AnalyzerParams params, String decoderPattern, boolean regexp) searchProtocols
(List<AbstractDecoder> decoders, int number) static Protocol
selectBestProtocol
(List<Protocol> protocols) Methods inherited from class org.harctoolbox.analyze.Cleaner
clean, clean, clean, clean, clean, cleanedIrSequence, cleanedIrSequences, getCleanedHistogram, getCleanedTime, getFlashes, getFlashesSortedAfterFrequency, getGaps, getGapsSortedAfterFrequency, getIndex, getName, getNoSequences, getNumberFlashes, getNumberGaps, getNumberOfFlashes, getNumberOfGaps, getNumberPairs, getSequenceBegin, getSequenceLength, getTimeBaseFromData, getTiming, getTotalDuration, isSignalMode, mkName, toDurations, toDurations, toIrSequence, toTimingsString, toTimingsString, toTimingsString
-
Constructor Details
-
Analyzer
public Analyzer(IrSignal irSignal, Double absoluteTolerance, Double relativeTolerance) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
Analyzer
public Analyzer(IrSequence irSequence, Double frequency, boolean invokeRepeatFinder, Double absoluteTolerance, Double relativeTolerance) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
Analyzer
public Analyzer(Collection<? extends IrSequence> irSequenceList, Double frequency, boolean invokeRepeatFinder, Double absoluteTolerance, Double relativeTolerance) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
Analyzer
public Analyzer(ModulatedIrSequence irSequence, boolean invokeRepeatFinder, Double absoluteTolerance, Double relativeTolerance) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
Analyzer
- Throws:
InvalidArgumentException
-
Analyzer
public Analyzer(IrSequence irSequence, Double absoluteTolerance, Double relativeTolerance) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
Analyzer
- Throws:
InvalidArgumentException
-
Analyzer
-
Analyzer
public Analyzer(IrSequence irSequence, Double frequency, boolean invokeRepeatFinder) throws InvalidArgumentException - Throws:
InvalidArgumentException
-
Analyzer
- Throws:
InvalidArgumentException
-
-
Method Details
-
mkIndices
-
selectBestProtocol
-
getBurst
Return bursts order after their frequency.- Parameters:
i
-- Returns:
-
getSortedBurst
Return bursts ordered lexicographically.- Parameters:
i
-- Returns:
-
repeatReducedIrSignal
-
getPairs
- Returns:
- the pairs
-
getName
-
getNumberPairs
-
getFrequency
-
searchAllProtocols
public List<List<Protocol>> searchAllProtocols(Analyzer.AnalyzerParams params, String decoderPattern, boolean regexp) throws NoDecoderMatchException - Throws:
NoDecoderMatchException
-
searchBestProtocol
public List<Protocol> searchBestProtocol(Analyzer.AnalyzerParams params, String decoderPattern, boolean regexp) throws NoDecoderMatchException - Throws:
NoDecoderMatchException
-
searchBestProtocol
public List<Protocol> searchBestProtocol(Analyzer.AnalyzerParams analyzerParams) throws NoDecoderMatchException - Throws:
NoDecoderMatchException
-
searchProtocols
-
searchBestProtocol
-
printStatistics
-
repeatFinderData
-