System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. C / August 2016 7-221
smuX.measure.filter.type
This command sets the type of filter used for measurements when the measurement filter is enabled.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Instrument reset
SMU reset
Saved setup 1 (smuX.FILTER_REPEAT_AVG)
Usage
filterType = smuX.measure.filter.type
smuX.measure.filter.type = filterType
The filter type to use when filtering is enabled. Set to one of the following values:
0 or smuX.FILTER_MOVING_AVG: Selects the moving average filter
1 or smuX.FILTER_REPEAT_AVG: Selects the repeat filter
or
X
: Selects the median filter
SMU channel (for example, smua.measure.filter.type applies to SMU
Details
There are two averaging filter types and one median filter type available. For averaging filters, both
repeating and moving filter types are available.
For the repeating filter, the stack (filter count) is filled, and the conversions are averaged to yield a
reading. The stack is then cleared, and the process starts over.
The moving average filter uses a first-in, first-out stack. When the stack (filter count) becomes full, the
measurement conversions are averaged, yielding a reading. For each subsequent conversion placed
into the stack, the oldest conversion is discarded. The stack is re-averaged, yielding a new reading.
The median filter uses a first-in, first-out stack. When the stack (filter count) becomes full, the “middle-
most” reading is returned. For each subsequent conversion placed into the stack, the oldest reading
is discarded. The stack is then re-sorted, yielding a new reading. If the filter count is an even number,
the reading returned is the average of the two middle readings.
Example
smua.measure.filter.type = 2
Selects the median filter for SMU channel A. Alternatively,
the value 2 may be replaced with smua.FILTER_MEDIAN.
Also see
Filters (on page 3-3)
reset() (on page 7-173)
setup.recall() (on page 7-194)
smuX.measure.filter.count (on page 7-219)
smuX.measure.filter.enable (on page 7-220)
smuX.reset() (on page 7-232)