Debian Codegraph @

biosig4c++/doc/physicalunits.1

raw
1 .TH pu 1
2 .SH NAME
3 physicalunits - encodes and de-codes physical units a according to ISO/IEEE 11073-10101:2004 Tables A6.1 and A6.3
4 physicalunits was formerly also known under "pu".
5
6 .SH SYNOPSIS
7 physicalunits [units_or_codes]
8
9 .SH DESCRIPTION
10 The output returns the <physical unit>:<TAB><decimal code><TAB><hexadecimal code><TAB><scaling><TAB><physical unit w/o prefix>, where <TAB> represents the character ascii(9)
11
12 .SH Examples:
13 Encoding of "microVolts", using text representation, decimal encoding and hexadecimal encoding:
14 physicalunits mV
15 uV 4275 0x10b3 1e-06 V
16
17 physicalunits 4275
18 uV 4275 0x10b3 1e-06 V
19
20 physicalunits 0x10b3
21 uV 4275 0x10b3 1e-06 V
22
23 Text representation containing spaces need to be quoted
24 physicalunits "kg l-1"
25 kg l-1 2051 0x0803 1000 g l-1
26
27 A list of units can be converted using multiple input arguments
28 physicalunits mV nA 4180 kg dag degree rpm "mol mol-1" "kg l-1"
29 mV 4274 0x10b2 0.001 V
30 nA 4180 0x1054 1e-09 A
31 nA 4180 0x1054 1e-09 A
32 kg 1731 0x06c3 1000 g
33 dag 1729 0x06c1 10 g
34 degree 736 0x02e0 1 degree
35 rpm 6816 0x1aa0 1 rpm
36 mol mol-1 864 0x0360 1 mol mol-1
37 kg l-1 2051 0x0803 1000 g l-1
38
39 physicalunits `seq 0 65535` |grep -v nan |grep -v null
40 shows s complete table of defined units
41
42 .SH AUTHOR
43 Alois Schloegl
44
45 .SH REPORTING BUGS
46 Report bugs to <[email protected]>
47
48 .SH COPYRIGHT
49 Copyright (C) 2008-2019 Alois Schloegl
50 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
51 This is free software: you are free to change and redistribute it.
52 There is NO WARRANTY, to the extent permitted by law.
53
54 .SH RESOURCES
55 https://biosig.sourceforge.io
56