Skip to content

Commit bccfed2

Browse files
authored
Add dimensionless unit 'lsb'
The dimensionless qualifier 'lsb' (least significant bit) is commonly used when describing the behavior of electronic instruments, especially in the context of A/D and D/A converters. It denotes a given change of the digital value in units of the smallest possible change – one LSB.
1 parent a15e9fc commit bccfed2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

quantities/units/dimensionless.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,11 @@
1717
aliases=['cts', 'counts']
1818
)
1919

20+
lsb = UnitQuantity(
21+
'least_significant_bit',
22+
1*dimensionless,
23+
symbol='lsb',
24+
aliases=['lsbs']
25+
)
26+
2027
del UnitQuantity

0 commit comments

Comments
 (0)