stringcalc.tension.suggest_gauge#
- stringcalc.tension.suggest_gauge(T, L, pitch, *, types=None, n=3)#
For target tension, given scale length, and pitch, return suggested gauge(s).
Two types are commonly used to make string sets, e.g. plain steel + phosphor bronze for steel-string acoustic guitar or plain nylon + silver-wrapped nylon for classical guitar.
- Parameters:
T (float) – Tension [lbf].
L (float) – Scale length [in].
pitch (str) – Pitch name in ASCII SPN, e.g. “A4” (A440), which is a fourth above the guitar’s high E string. Guitar standard tuning: E2 A2 D3 G3 B3 E4.
types (set[str] | None) – String type IDs (column
group_idin thedata table) to consider. If unset, defaults to D’Addario phosphor bronze and plain steel ({'DA:PB', 'DA:PL'}).n (int) – Number of suggestions to include in the returned frame.
- Return type: