|
efind
electronic component selection utility
|
Do a quick, sequential, numerical (not symbolic) exploration of some electronic component values to propose solutions that use standard, inexpensive parts. More...
Classes | |
| class | CalculateCall |
| A callable with any number of floating-point arguments, returning a float. More... | |
| class | Capacitor |
| class | Component |
| A component, without knowledge of its value - only bounds and defining formula. More... | |
| class | ComponentValue |
| A value associated with a component - to track approximated values. More... | |
| class | Output |
| A calculated parameter - potentially but not necessarily a circuit output - to be calculated and checked for error in the solution ranking process. More... | |
| class | Resistor |
| class | Solver |
| Basic recursive solver class that does a brute-force search through some component values. More... | |
Functions | |
| int | bisect_lower (Sequence[float] a, float x) |
Run bisect, but use one index before the return value of bisect_left More... | |
| tuple[Optional[int], float] | approximate (float x, Sequence[float] series) |
| Approximate a value by using the given series. More... | |
| str | fmt_eng (float x, str unit, int sig=2) |
| Format a number in engineering (SI) notation. More... | |
Variables | |
| tuple | E3 = (1.0, 2.2, 4.7) |
| tuple | E6 = (1.0, 1.5, 2.2, 3.3, 4.7, 6.8) |
| tuple | E12 = (1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2) |
| tuple | E24 |
| tuple | E48 |
| tuple | E96 |
Do a quick, sequential, numerical (not symbolic) exploration of some electronic component values to propose solutions that use standard, inexpensive parts.
| tuple[Optional[int], float] efind.approximate | ( | float | x, |
| Sequence[float] | series | ||
| ) |
| int efind.bisect_lower | ( | Sequence[float] | a, |
| float | x | ||
| ) |
| str efind.fmt_eng | ( | float | x, |
| str | unit, | ||
| int | sig = 2 |
||
| ) |
| tuple efind.E12 = (1.0, 1.2, 1.5, 1.8, 2.2, 2.7, 3.3, 3.9, 4.7, 5.6, 6.8, 8.2) |
| tuple efind.E24 |
| tuple efind.E48 |
| tuple efind.E96 |