exa.common.sweep.util.linear_index_sweep#
- linear_index_sweep(parameter, length)#
Produce an NdSweep over a dummy index.
Can be used in places where a “hardware sweep” is needed but not really meaningful.
- Parameters:
- Returns:
A linear sweep over a parameter whose name is
parameter.name + _index
and whose data ranges from 0 to length with steps of 1.- Return type: