public class UeiLearned extends Object
Analyzer
,
RepeatFinder
,
UeiLearnedImporter
Modifier and Type | Field and Description |
---|---|
static int |
maxBursts
Maximal number of different burst pairs.
|
static int |
maxLength
Maximal length of UEI signal.
|
Constructor and Description |
---|
UeiLearned(int[] times,
int freq,
int errlimit)
This version of the constructor takes only the time arguments,
and invokes RepeatFinder and Analyzer to determine where start-, repeat-, and end-sequences reside.
|
UeiLearned(int[] signal,
int sngl_count,
int rpt_count,
int extra_count,
int[][] bursts,
int freq)
This constructor builds a UEI learned signal from the arguments, which contains timing data.
|
UeiLearned(int[] times,
int sngl_count,
int rpt_count,
int extra_count,
int rpts,
int freq,
int errlimit)
This version of the constructor invokes Analyze to determine bursts etc.
|
Modifier and Type | Method and Description |
---|---|
short[] |
toArray()
Returns the signal as an array of shorts.
|
String |
toString()
Formats the signal in common format, a sequence of twodigit hexadecimal numbers.
|
public static final int maxBursts
public static final int maxLength
public UeiLearned(int[] signal, int sngl_count, int rpt_count, int extra_count, int[][] bursts, int freq)
signal
- The signal to be converted to UEI Learned form, as output from the Analyze function.
The format is one integers per burst, an index into the bursts array
(see below). Number of bursts in array is sum of next three input values.sngl_count
- Number of bursts in signal_out sent once.rpt_count
- Number of bursts in signal_out sent repeatedly.extra_count
- Number of bursts in signal_out sent once following repeat section.bursts
- A list of bursts, two integers per burst, the MARK and SPACE times as positive
integers. The values in signal_out index this as an array of bursts, not integers.freq
- Modulation frequency in Hz.public UeiLearned(int[] times, int freq, int errlimit)
times
- Timing list of alternating MARK and SPACE times in microseconds.freq
- Modulation frequency in Hz.errlimit
- Error limit in microseconds.Analyzer
,
RepeatFinder
public UeiLearned(int[] times, int sngl_count, int rpt_count, int extra_count, int rpts, int freq, int errlimit)
times
- Timing list of alternating MARK and SPACE times in microseconds.sngl_count
- Number of bursts in signal_out sent once.rpt_count
- Number of bursts in signal_out sent repeatedly.extra_count
- Number of bursts in signal_out sent once following repeat section.rpts
- Number of actual repetitions contained in the times array.freq
- Modulation frequency in Hz.errlimit
- Error limit in microseconds.Analyzer
Copyright © 2018. All rights reserved.