set_save_fields#
- SetupMaxwell.set_save_fields(enable=True, range_type='Custom', subrange_type='LinearStep', start=0, stop=100000, count=1, units='ns')#
Enable the save fields option in the setup.
- Parameters:
- enablebool,
optional
Whether to enable the save fields option. The default value is
True
.- range_type
str
,optional
Range type. The available options are
"Custom"
to set a custom range type or"Every N Steps"
to set the steps within the range. The default value isCustom
.- subrange_type
str
,optional
In case of a custom range type the
subrange_type
defines the subrange type. The available options are"LinearStep"
,"LinearCount"
and"SinglePoints"
. The default option is"LinearStep"
.- start
float
,optional
Range or steps starting point. The default value is 0.
- stop
float
,optional
Range or steps starting point. The default value is 100000.
- count
float
,optional
Range count or step. The default value is 1.
- units
str
,optional
Time units. The default is “ns”.
- enablebool,
- Returns:
- bool
True
if successful,False
if it fails.