public class InterpretString extends Object
Modifier and Type | Method and Description |
---|---|
static IrSignal |
interpretIrSequence(int[] data,
double frequency,
boolean invokeRepeatFinder,
boolean invokeCleaner)
By applying a RepeatFinder, tries to identify intro, repeat, and ending;
thus constructing an IrSignal.
|
static IrSignal |
interpretIrSequence(int[] data,
double frequency,
boolean invokeRepeatFinder,
boolean invokeCleaner,
double absoluteTolerance,
double relativeTolerance)
By applying a RepeatFinder, tries to identify intro, repeat, and ending;
thus constructing an IrSignal.
|
static IrSignal |
interpretIrSequence(ModulatedIrSequence modulatedIrSequence,
boolean invokeRepeatFinder,
boolean invokeCleaner) |
static IrSignal |
interpretIrSequence(ModulatedIrSequence modulatedIrSequence,
boolean invokeRepeatFinder,
boolean invokeCleaner,
double absoluteTolerance,
double relativeTolerance)
If invokeRepeatFinder is true, tries to identify intro, repeat, and ending applying a RepeatFinder.
|
static IrSignal |
interpretString(String str,
double frequency,
boolean invokeRepeatFinder,
boolean invokeCleaner) |
static IrSignal |
interpretString(String str,
double frequency,
boolean invokeRepeatFinder,
boolean invokeCleaner,
double absouluteTolerance,
double relativeTolerance)
Tries to interpret the string argument as one of our known formats, and return an IrSignal.
|
public static IrSignal interpretString(String str, double frequency, boolean invokeRepeatFinder, boolean invokeCleaner, double absouluteTolerance, double relativeTolerance) throws ParseException, IncompatibleArgumentException, UnassignedException, DomainViolationException, InvalidRepeatException
str
- String to be interpreted.frequency
- Modulation frequency to use, if it cannot be inferred from the first parameter.invokeRepeatFinder
- invokeCleaner
- absouluteTolerance
- relativeTolerance
- ParseException
IncompatibleArgumentException
UnassignedException
DomainViolationException
InvalidRepeatException
public static IrSignal interpretString(String str, double frequency, boolean invokeRepeatFinder, boolean invokeCleaner) throws ParseException, IncompatibleArgumentException, UnassignedException, DomainViolationException, InvalidRepeatException
public static IrSignal interpretIrSequence(ModulatedIrSequence modulatedIrSequence, boolean invokeRepeatFinder, boolean invokeCleaner, double absoluteTolerance, double relativeTolerance)
modulatedIrSequence
- invokeRepeatFinder
- If the repeat finder is invoked. This also uses the analyzer.absoluteTolerance
- relativeTolerance
- invokeCleaner
- If the analyzer is invoked for cleaning the signals.public static IrSignal interpretIrSequence(ModulatedIrSequence modulatedIrSequence, boolean invokeRepeatFinder, boolean invokeCleaner)
public static IrSignal interpretIrSequence(int[] data, double frequency, boolean invokeRepeatFinder, boolean invokeCleaner, double absoluteTolerance, double relativeTolerance)
data
- frequency
- invokeRepeatFinder
- invokeCleaner
- absoluteTolerance
- relativeTolerance
- public static IrSignal interpretIrSequence(int[] data, double frequency, boolean invokeRepeatFinder, boolean invokeCleaner)
data
- frequency
- invokeRepeatFinder
- invokeCleaner
- Copyright © 2016. All rights reserved.