A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://python-control.readthedocs.io/en/stable/generated/control.set_defaults.html below:

Website Navigation


control.set_defaults — Python Control Systems Library 0.10.2 documentation

control.set_defaults
control.set_defaults(module, **keywords)[source]

Set default values of parameters for a module.

The set_defaults() function can be used to modify multiple parameter values for a module at the same time, using keyword arguments.

Parameters:
modulestr

Name of the module for which the defaults are being given.

**keywordskeyword arguments

Parameter value assignments.

Examples

>>> ct.defaults['freqplot.number_of_samples']
1000
>>> ct.set_defaults('freqplot', number_of_samples=100)
>>> ct.defaults['freqplot.number_of_samples']
100
>>> # do some customized freqplotting

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4