tendril.conventions.electronics module

Electronics Conventions Module documentation (conventions.electronics)

tendril.conventions.electronics.no_fp(device)[source]
tendril.conventions.electronics.fpismodlen(device)[source]
tendril.conventions.electronics.fpiswire(device)[source]
tendril.conventions.electronics.fpiswire_ident(ident)[source]
tendril.conventions.electronics.ident_transform(device, value, footprint, tf=None, generic=False)[source]

Auto-generated ident string from the component device, value and footprint attributes.

If the device string starts with any of the strings in nofp_strings, the footprint is excluded from the ident string.

When applied to gEDA generated data (BOMs, gsymlib), the return value is the Canonical Representation for the component. The burden of ensuring uniqueness and consistency is on the gEDA schematic files and authors thereof. See conventions.rst listed in somewhere for relevant guidelines.

For all other forms of data, the specific modules must provide a transform csv file to ensure correct mapping into the canonical form. For the format of this file, see somewhere.

tendril.conventions.electronics.parse_ident(ident, generic=False)[source]
tendril.conventions.electronics.construct_resistor(resistance, wattage=None)[source]
tendril.conventions.electronics.construct_capacitor(capacitance, voltage)[source]
tendril.conventions.electronics.construct_inductor(inductance)[source]
tendril.conventions.electronics.construct_crystal(frequency)[source]
tendril.conventions.electronics.parse_resistor(value)[source]
tendril.conventions.electronics.parse_capacitor(value)[source]
tendril.conventions.electronics.parse_inductor(value)[source]
tendril.conventions.electronics.parse_crystal(value)[source]
tendril.conventions.electronics.parse_led(value)[source]
tendril.conventions.electronics.normalize_resistance(res)[source]
tendril.conventions.electronics.check_for_std_val(ident)[source]